<?xml version="1.0" encoding="UTF-8"?>
<modelInfo xmlns="urn:hl7-org:elm-modelinfo:r1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="FHIR" version="4.3.0" url="http://hl7.org/fhir" targetQualifier="fhir" patientClassName="FHIR.Patient" patientBirthDatePropertyName="birthDate.value">
   <requiredModelInfo name="System" version="1.0.0"/>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Account" identifier="http://hl7.org/fhir/StructureDefinition/Account" label="Account" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" description="Account number" definition="Unique identifier used to reference the account.  Might or might not be intended for human use (e.g. credit card number).">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.AccountStatus" description="active | inactive | entered-in-error | on-hold | unknown" definition="Indicates whether the account is presently used/usable or not." comment="This element is labeled as a modifier because the status contains the codes inactive and entered-in-error that mark the Account as not currently valid.">
         <binding name="AccountStatus" description="Indicates whether the account is available to be used." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="E.g. patient, expense, depreciation" definition="Categorizes the account for reporting and searching purposes.">
         <binding name="AccountType" description="The usage type of this account, permits categorization of accounts." strength="Example"/>
      </element>
      <element name="name" elementType="FHIR.string" description="Human-readable label" definition="Name used for the account when displaying it to humans in reports, etc."/>
      <element name="subject" description="The entity that caused the expenses" definition="Identifies the entity which incurs the expenses. While the immediate recipients of services or goods might be entities related to the subject, the expenses were ultimately incurred by the subject of the Account." comment="Accounts can be applied to non-patients for tracking other non-patient related activities, such as group services (patients not tracked, and costs charged to another body), or might not be allocated.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="servicePeriod" elementType="FHIR.Period" description="Transaction window" definition="The date range of services associated with this account." comment="It is possible for transactions to be posted outside the service period, as long as the service was provided within the defined service period."/>
      <element name="coverage" description="The party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account" definition="The party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account." comment="Typically. this may be some form of insurance, internal charges, or self-pay.&#xa;&#xa;Local or jurisdictional business rules may determine which coverage covers which types of billable items charged to the account, and in which order.&#xa;Where the order is important, a local/jurisdictional extension may be defined to specify the order for the type of charge.">
         <elementTypeSpecifier elementType="FHIR.Account.Coverage" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="owner" elementType="FHIR.Reference" description="Entity managing the Account" definition="Indicates the service area, hospital, department, etc. with responsibility for managing the Account."/>
      <element name="description" elementType="FHIR.string" description="Explanation of purpose/use" definition="Provides additional information about what the account tracks and how it is used."/>
      <element name="guarantor" description="The parties ultimately responsible for balancing the Account" definition="The parties responsible for balancing the account if other payment options fall short.">
         <elementTypeSpecifier elementType="FHIR.Account.Guarantor" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" elementType="FHIR.Reference" description="Reference to a parent Account" definition="Reference to a parent Account."/>
      <contextRelationship context="Practitioner" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Device" relatedKeyElement="subject"/>
      <search name="owner" path="owner" type="FHIR.Organization"/>
      <search name="period" path="servicePeriod" type="System.DateTime"/>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="name" path="name" type="System.String"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Account.Coverage" retrievable="false" xsi:type="ClassInfo">
      <element name="coverage" elementType="FHIR.Reference" description="The party(s), such as insurances, that may contribute to the payment of this account" definition="The party(s) that contribute to payment (or part of) of the charges applied to this account (including self-pay).&#xa;&#xa;A coverage may only be responsible for specific types of charges, and the sequence of the coverages in the account could be important when processing billing."/>
      <element name="priority" elementType="FHIR.positiveInt" description="The priority of the coverage in the context of this account" definition="The priority of the coverage in the context of this account." comment="It is common in some jurisdictions for there to be multiple coverages allocated to an account, and a sequence is required to order the settling of the account (often with insurance claiming)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Account.Guarantor" retrievable="false" xsi:type="ClassInfo">
      <element name="party" elementType="FHIR.Reference" description="Responsible entity" definition="The entity who is responsible."/>
      <element name="onHold" elementType="FHIR.boolean" description="Credit or other hold applied" definition="A guarantor may be placed on credit hold or otherwise have their role temporarily suspended."/>
      <element name="period" elementType="FHIR.Period" description="Guarantee account during" definition="The timeframe during which the guarantor accepts responsibility for the account."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AccountStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ActionCardinalityBehavior" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ActionConditionKind" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ActionGroupingBehavior" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ActionParticipantType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ActionPrecheckBehavior" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ActionRelationshipType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ActionRequiredBehavior" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ActionSelectionBehavior" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ActivityDefinition" identifier="http://hl7.org/fhir/StructureDefinition/ActivityDefinition" label="ActivityDefinition" retrievable="true" primaryCodePath="topic" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this activity definition, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this activity definition 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 activity definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the activity definition 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the activity definition" definition="A formal identifier that is used to identify this activity definition when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this activity definition outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the activity definition" definition="The identifier that is used to identify this version of the activity definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the activity definition 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. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active assets." comment="There may be different activity definition 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 activity definition with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this activity definition (computer friendly)" definition="A natural language name identifying the activity definition. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this activity definition (human friendly)" definition="A short, descriptive, user-friendly title for the activity definition." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="subtitle" elementType="FHIR.string" description="Subordinate title of the activity definition" definition="An explanatory or alternate title for the activity definition giving additional information about its content."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this activity definition. Enables tracking the life-cycle of the content." comment="Allows filtering of activity definitions that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this activity definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of activity definitions that are appropriate for use versus not."/>
      <element name="subject" description="Type of individual the activity definition is intended for" definition="A code or group definition that describes the intended subject of the activity being defined.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SubjectType" description="The possible types of subjects for an activity (E.g. Patient, Practitioner, Organization, Location, etc.)." strength="Extensible"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the activity definition 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 activity definition 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 activity definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the activity definition." comment="Usually an organization but may be an individual. The publisher (or steward) of the activity definition is the organization or individual primarily responsible for the maintenance and upkeep of the activity definition. 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 activity definition. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the activity definition" definition="A free text natural language description of the activity definition from a consumer's perspective." comment="This description can be used to capture details such as why the activity definition 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 activity definition 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 activity definition is presumed to be the predominant language in the place the activity definition was created)."/>
      <element name="useContext" description="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 activity definition instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for activity definition (if applicable)" definition="A legal or geographic region in which the activity definition is intended to be used." comment="It may be possible for the activity definition to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this activity definition is defined" definition="Explanation of why this activity definition is needed and why it has been designed as it has." comment="This element does not describe the usage of the activity definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this activity definition."/>
      <element name="usage" elementType="FHIR.string" description="Describes the clinical usage of the activity definition" definition="A detailed description of how the activity definition is used from a clinical perspective."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the activity definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the activity definition."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the activity definition was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the activity definition was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the activity definition is expected to be used" definition="The period during which the activity definition content was or is planned to be in active use." comment="The effective period for a activity definition  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 might be published in 2015."/>
      <element name="topic" description="E.g. Education, Treatment, Assessment, etc." definition="Descriptive topics related to the content of the activity. Topics provide a high-level categorization of the activity that can be useful for filtering and searching.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DefinitionTopic" description="High-level categorization of the definition, used for searching, sorting, and filtering." strength="Example"/>
      </element>
      <element name="author" description="Who authored the content" definition="An individiual or organization primarily involved in the creation and maintenance of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="editor" description="Who edited the content" definition="An individual or organization primarily responsible for internal coherence of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reviewer" description="Who reviewed the content" definition="An individual or organization primarily responsible for review of some aspect of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endorser" description="Who endorsed the content" definition="An individual or organization responsible for officially endorsing the content for use in some setting.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedArtifact" description="Additional documentation, citations, etc." definition="Related artifacts such as additional documentation, justification, or bibliographic references." comment="Each related artifact is either an attachment, or a reference to another resource, but not both.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="library" description="Logic used by the activity definition" definition="A reference to a Library resource containing any formal logic used by the activity definition.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="kind" elementType="FHIR.ActivityDefinitionKind" description="Kind of resource" definition="A description of the kind of resource the activity definition is representing. For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest. Typically, but not always, this is a Request resource." comment="May determine what types of extensions are permitted.">
         <binding name="ActivityDefinitionKind" description="The kind of activity the definition is describing." strength="Required"/>
      </element>
      <element name="profile" elementType="FHIR.canonical" description="What profile the resource needs to conform to" definition="A profile to which the target of the activity definition is expected to conform."/>
      <element name="code" elementType="FHIR.CodeableConcept" description="Detail type of activity" definition="Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter." comment="Tends to be less relevant for activities involving particular products.">
         <binding name="ActivityDefinitionType" description="Detailed type of the activity; e.g. CBC." strength="Example"/>
      </element>
      <element name="intent" elementType="FHIR.RequestIntent" description="proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option" definition="Indicates the level of authority/intentionality associated with the activity and where the request should fit into the workflow chain.">
         <binding name="RequestIntent" description="Codes indicating the degree of authority/intentionality associated with a request." strength="Required"/>
      </element>
      <element name="priority" elementType="FHIR.RequestPriority" description="routine | urgent | asap | stat" definition="Indicates how quickly the activity  should be addressed with respect to other requests.">
         <binding name="RequestPriority" description="Identifies the level of importance to be assigned to actioning the request." strength="Required"/>
      </element>
      <element name="doNotPerform" elementType="FHIR.boolean" description="True if the activity should not be performed" definition="Set this to true if the definition is to indicate that a particular activity should NOT be performed. If true, this element should be interpreted to reinforce a negative coding. For example NPO as a code with a doNotPerform of true would still indicate to NOT perform the action." comment="This element is not intended to be used to communicate a decision support response to cancel an order in progress. That should be done with the &quot;remove&quot; type of a PlanDefinition or RequestGroup."/>
      <element name="timing" description="When activity is to occur" definition="The period, timing or frequency upon which the described activity is to occur.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="location" elementType="FHIR.Reference" description="Where it should happen" definition="Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc." comment="May reference a specific clinical location or may just identify a type of location."/>
      <element name="participant" description="Who should participate in the action" definition="Indicates who should participate in performing the action described.">
         <elementTypeSpecifier elementType="FHIR.ActivityDefinition.Participant" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="product" description="What's administered/supplied" definition="Identifies the food, drug or other product being consumed or supplied in the activity.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ActivityProduct" description="Code describing the type of substance or medication." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="How much is administered/consumed/supplied" definition="Identifies the quantity expected to be consumed at once (per dose, per meal, etc.)."/>
      <element name="dosage" description="Detailed dosage instructions" definition="Provides detailed dosage instructions in the same way that they are described for MedicationRequest resources." comment="If a dosage instruction is used, the definition should not specify timing or quantity.">
         <elementTypeSpecifier elementType="FHIR.Dosage" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="bodySite" description="What part of body to perform on" definition="Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites)." comment="Only used if not implicit in the code found in ServiceRequest.type.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="BodySite" description="A code that identifies the anatomical location." strength="Example"/>
      </element>
      <element name="specimenRequirement" description="What specimens are required to perform this action" definition="Defines specimen requirements for the action to be performed, such as required specimens for a lab test.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="observationRequirement" description="What observations are required to perform this action" definition="Defines observation requirements for the action to be performed, such as body weight or surface area.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="observationResultRequirement" description="What observations must be produced by this action" definition="Defines the observations that are expected to be produced by the action.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="transform" elementType="FHIR.canonical" description="Transform to apply the template" definition="A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input." comment="Note that if both a transform and dynamic values are specified, the dynamic values will be applied to the result of the transform."/>
      <element name="dynamicValue" description="Dynamic aspects of the definition" definition="Dynamic values that will be evaluated to produce values for elements of the resulting resource. For example, if the dosage of a medication must be computed based on the patient's weight, a dynamic value would be used to specify an expression that calculated the weight, and the path on the request resource that would contain the result." comment="Dynamic values are applied in the order in which they are defined in the ActivityDefinition. Note that if both a transform and dynamic values are specified, the dynamic values will be applied to the result of the transform.">
         <elementTypeSpecifier elementType="FHIR.ActivityDefinition.DynamicValue" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="topic" path="topic" type="System.Code"/>
      <search name="composed-of" path="relatedArtifact.where(type='composed-of').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="derived-from" path="relatedArtifact.where(type='derived-from').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="url" path="url" type="System.String"/>
      <search name="predecessor" path="relatedArtifact.where(type='predecessor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="successor" path="relatedArtifact.where(type='successor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="description" path="description" type="System.String"/>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="name" path="name" type="System.String"/>
      <search name="version" path="version" type="System.Code"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="depends-on" path="relatedArtifact.where(type='depends-on').resource|library">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ActivityDefinition.DynamicValue" retrievable="false" xsi:type="ClassInfo">
      <element name="path" elementType="FHIR.string" description="The path to the element to be set dynamically" definition="The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolveable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)." comment="The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation."/>
      <element name="expression" elementType="FHIR.Expression" description="An expression that provides the dynamic value for the customization" definition="An expression specifying the value of the customized element." comment="The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ActivityDefinition.Participant" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.ActivityParticipantType" description="patient | practitioner | related-person | device" definition="The type of participant in the action.">
         <binding name="ActivityParticipantType" description="The type of participant in the activity." strength="Required"/>
      </element>
      <element name="role" elementType="FHIR.CodeableConcept" description="E.g. Nurse, Surgeon, Parent, etc." definition="The role the participant should play in performing the described action.">
         <binding name="ActivityParticipantRole" description="Defines roles played by participants for the action." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ActivityDefinitionKind" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ActivityParticipantType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Address" identifier="http://hl7.org/fhir/StructureDefinition/Address" label="Address" retrievable="false" xsi:type="ClassInfo">
      <element name="use" elementType="FHIR.AddressUse" description="home | work | temp | old | billing - purpose of this address" definition="The purpose of this address." comment="Applications can assume that an address is current unless it explicitly says that it is temporary or old.">
         <binding name="AddressUse" description="The use of an address." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.AddressType" description="postal | physical | both" definition="Distinguishes between physical addresses (those you can visit) and mailing addresses (e.g. PO Boxes and care-of addresses). Most addresses are both." comment="The definition of Address states that &quot;address is intended to describe postal addresses, not physical locations&quot;. However, many applications track whether an address has a dual purpose of being a location that can be visited as well as being a valid delivery destination, and Postal addresses are often used as proxies for physical locations (also see the [Location](location.html#) resource).">
         <binding name="AddressType" description="The type of an address (physical / postal)." strength="Required"/>
      </element>
      <element name="text" elementType="FHIR.string" description="Text representation of the address" definition="Specifies the entire address as it should be displayed e.g. on a postal label. This may be provided instead of or as well as the specific parts." comment="Can provide both a text representation and parts. Applications updating an address SHALL ensure that  when both text and parts are present,  no content is included in the text that isn't found in a part."/>
      <element name="line" description="Street name, number, direction &amp; P.O. Box etc." definition="This component contains the house number, apartment number, street name, street direction,  P.O. Box number, delivery hints, and similar address information.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="city" elementType="FHIR.string" description="Name of city, town etc." definition="The name of the city, town, suburb, village or other community or delivery center."/>
      <element name="district" elementType="FHIR.string" description="District name (aka county)" definition="The name of the administrative area (county)." comment="District is sometimes known as county, but in some regions 'county' is used in place of city (municipality), so county name should be conveyed in city instead."/>
      <element name="state" elementType="FHIR.string" description="Sub-unit of country (abbreviations ok)" definition="Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (e.g. US 2 letter state codes)."/>
      <element name="postalCode" elementType="FHIR.string" description="Postal code for area" definition="A postal code designating a region defined by the postal service."/>
      <element name="country" elementType="FHIR.string" description="Country (e.g. can be ISO 3166 2 or 3 letter code)" definition="Country - a nation as commonly understood or generally accepted." comment="ISO 3166 3 letter codes can be used in place of a human readable country name."/>
      <element name="period" elementType="FHIR.Period" description="Time period when address was/is in use" definition="Time period when address was/is in use."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AddressType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AddressUse" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AdministrativeGender" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="AdverseEvent" identifier="http://hl7.org/fhir/StructureDefinition/AdverseEvent" label="AdverseEvent" retrievable="true" primaryCodePath="event" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Business identifier for the event" definition="Business identifiers assigned to this adverse event by the performer or other systems which remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number."/>
      <element name="actuality" elementType="FHIR.AdverseEventActuality" description="actual | potential" definition="Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.">
         <binding name="AdverseEventActuality" description="Overall nature of the adverse event, e.g. real or potential." strength="Required"/>
      </element>
      <element name="category" description="product-problem | product-quality | product-use-error | wrong-dose | incorrect-prescribing-information | wrong-technique | wrong-route-of-administration | wrong-rate | wrong-duration | wrong-time | expired-drug | medical-device-use-error | problem-different-manufacturer | unsafe-physical-environment" definition="The overall type of event, intended for search and filtering purposes.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="AdverseEventCategory" description="Overall categorization of the event, e.g. product-related or situational." strength="Extensible"/>
      </element>
      <element name="event" elementType="FHIR.CodeableConcept" description="Type of the event itself in relation to the subject" definition="This element defines the specific type of event that occurred or that was prevented from occurring.">
         <binding name="AdverseEventType" description="Detailed type of event." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Subject impacted by event" definition="This subject or group impacted by the event." comment="If AdverseEvent.resultingCondition differs among members of the group, then use Patient as the subject."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter created as part of" definition="The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated." comment="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.  For example, if a medication administration was considered an adverse event because it resulted in a rash, then the encounter when the medication administration was given is the context.  If the patient reports the AdverseEvent during a second encounter, that second encounter is not the context."/>
      <element name="date" elementType="FHIR.dateTime" description="When the event occurred" definition="The date (and perhaps time) when the adverse event occurred."/>
      <element name="detected" elementType="FHIR.dateTime" description="When the event was detected" definition="Estimated or actual date the AdverseEvent began, in the opinion of the reporter."/>
      <element name="recordedDate" elementType="FHIR.dateTime" description="When the event was recorded" definition="The date on which the existence of the AdverseEvent was first recorded." comment="The recordedDate represents the date when this particular AdverseEvent record was created in the system, not the date of the most recent update.  The date of the last record modification can be retrieved from the resource metadata."/>
      <element name="resultingCondition" description="Effect on the subject due to this event" definition="Includes information about the reaction that occurred as a result of exposure to a substance (for example, a drug or a chemical).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="location" elementType="FHIR.Reference" description="Location where adverse event occurred" definition="The information about where the adverse event occurred."/>
      <element name="seriousness" elementType="FHIR.CodeableConcept" description="Seriousness of the event" definition="Assessment whether this event was of real importance.">
         <binding name="AdverseEventSeriousness" description="Overall seriousness of this event for the patient." strength="Example"/>
      </element>
      <element name="severity" elementType="FHIR.CodeableConcept" description="mild | moderate | severe" definition="Describes the severity of the adverse event, in relation to the subject. Contrast to AdverseEvent.seriousness - a severe rash might not be serious, but a mild heart problem is.">
         <binding name="AdverseEventSeverity" description="The severity of the adverse event itself, in direct relation to the subject." strength="Required"/>
      </element>
      <element name="outcome" elementType="FHIR.CodeableConcept" description="resolved | recovering | ongoing | resolvedWithSequelae | fatal | unknown" definition="Describes the type of outcome from the adverse event.">
         <binding name="AdverseEventOutcome" description="TODO (and should this be required?)." strength="Required"/>
      </element>
      <element name="recorder" elementType="FHIR.Reference" description="Who recorded the adverse event" definition="Information on who recorded the adverse event.  May be the patient or a practitioner."/>
      <element name="contributor" description="Who  was involved in the adverse event or the potential adverse event" definition="Parties that may or should contribute or have contributed information to the adverse event, which can consist of one or more activities.  Such information includes information leading to the decision to perform the activity and how to perform the activity (e.g. consultant), information that the activity itself seeks to reveal (e.g. informant of clinical history), or information about what activity was performed (e.g. informant witness).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="suspectEntity" description="The suspected agent causing the adverse event" definition="Describes the entity that is suspected to have caused the adverse event.">
         <elementTypeSpecifier elementType="FHIR.AdverseEvent.SuspectEntity" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subjectMedicalHistory" description="AdverseEvent.subjectMedicalHistory" definition="AdverseEvent.subjectMedicalHistory.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="referenceDocument" description="AdverseEvent.referenceDocument" definition="AdverseEvent.referenceDocument.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="study" description="AdverseEvent.study" definition="AdverseEvent.study.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="recorder"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="recorder"/>
      <search name="event" path="event" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="severity" path="severity" type="System.Code"/>
      <search name="actuality" path="actuality" type="System.Code"/>
      <search name="resultingcondition" path="resultingCondition" type="FHIR.Condition"/>
      <search name="substance" path="suspectEntity.instance">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="recorder" path="recorder">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="study" path="study" type="FHIR.ResearchStudy"/>
      <search name="seriousness" path="seriousness" type="System.Code"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="location" path="location" type="FHIR.Location"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="AdverseEvent.SuspectEntity" retrievable="false" xsi:type="ClassInfo">
      <element name="instance" elementType="FHIR.Reference" description="Refers to the specific entity that caused the adverse event" definition="Identifies the actual instance of what caused the adverse event.  May be a substance, medication, medication administration, medication statement or a device."/>
      <element name="causality" description="Information on the possible cause of the event" definition="Information on the possible cause of the event.">
         <elementTypeSpecifier elementType="FHIR.AdverseEvent.SuspectEntity.Causality" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="AdverseEvent.SuspectEntity.Causality" retrievable="false" xsi:type="ClassInfo">
      <element name="assessment" elementType="FHIR.CodeableConcept" description="Assessment of if the entity caused the event" definition="Assessment of if the entity caused the event.">
         <binding name="AdverseEventCausalityAssessment" description="Codes for the assessment of whether the entity caused the event." strength="Example"/>
      </element>
      <element name="productRelatedness" elementType="FHIR.string" description="AdverseEvent.suspectEntity.causalityProductRelatedness" definition="AdverseEvent.suspectEntity.causalityProductRelatedness."/>
      <element name="author" elementType="FHIR.Reference" description="AdverseEvent.suspectEntity.causalityAuthor" definition="AdverseEvent.suspectEntity.causalityAuthor."/>
      <element name="method" elementType="FHIR.CodeableConcept" description="ProbabilityScale | Bayesian | Checklist" definition="ProbabilityScale | Bayesian | Checklist.">
         <binding name="AdverseEventCausalityMethod" description="TODO." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AdverseEventActuality" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Quantity" namespace="FHIR" name="Age" identifier="http://hl7.org/fhir/StructureDefinition/Age" label="Age" retrievable="false" xsi:type="ClassInfo"/>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AggregationMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="AllergyIntolerance" identifier="http://hl7.org/fhir/StructureDefinition/AllergyIntolerance" label="AllergyIntolerance" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="External ids for this item" definition="Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="clinicalStatus" elementType="FHIR.CodeableConcept" description="active | inactive | resolved" definition="The clinical status of the allergy or intolerance." comment="Refer to [discussion](extensibility.html#Special-Case) if clincalStatus is missing data.&#xa;The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.">
         <binding name="AllergyIntoleranceClinicalStatus" description="The clinical status of the allergy or intolerance." strength="Required"/>
      </element>
      <element name="verificationStatus" elementType="FHIR.CodeableConcept" description="unconfirmed | confirmed | refuted | entered-in-error" definition="Assertion about certainty associated with the propensity, or potential risk, of a reaction to the identified substance (including pharmaceutical product)." comment="The data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.">
         <binding name="AllergyIntoleranceVerificationStatus" description="Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.AllergyIntoleranceType" description="allergy | intolerance - Underlying mechanism (if known)" definition="Identification of the underlying physiological mechanism for the reaction risk." comment="Allergic (typically immune-mediated) reactions have been traditionally regarded as an indicator for potential escalation to significant future risk. Contemporary knowledge suggests that some reactions previously thought to be immune-mediated are, in fact, non-immune, but in some cases can still pose a life threatening risk. It is acknowledged that many clinicians might not be in a position to distinguish the mechanism of a particular reaction. Often the term &quot;allergy&quot; is used rather generically and may overlap with the use of &quot;intolerance&quot; - in practice the boundaries between these two concepts might not be well-defined or understood. This data element is included nevertheless, because many legacy systems have captured this attribute. Immunologic testing may provide supporting evidence for the basis of the reaction and the causative substance, but no tests are 100% sensitive or specific for sensitivity to a particular substance. If, as is commonly the case, it is unclear whether the reaction is due to an allergy or an intolerance, then the type element should be omitted from the resource.">
         <binding name="AllergyIntoleranceType" description="Identification of the underlying physiological mechanism for a Reaction Risk." strength="Required"/>
      </element>
      <element name="category" description="food | medication | environment | biologic" definition="Category of the identified substance." comment="This data element has been included because it is currently being captured in some clinical systems. This data can be derived from the substance where coding systems are used, and is effectively redundant in that situation.  When searching on category, consider the implications of AllergyIntolerance resources without a category.  For example, when searching on category = medication, medication allergies that don't have a category valued will not be returned.  Refer to [search](search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category.  Additionally, category should be used with caution because category can be subjective based on the sender.">
         <elementTypeSpecifier elementType="FHIR.AllergyIntoleranceCategory" xsi:type="ListTypeSpecifier"/>
         <binding name="AllergyIntoleranceCategory" description="Category of an identified substance associated with allergies or intolerances." strength="Required"/>
      </element>
      <element name="criticality" elementType="FHIR.AllergyIntoleranceCriticality" description="low | high | unable-to-assess" definition="Estimate of the potential clinical harm, or seriousness, of the reaction to the identified substance." comment="The default criticality value for any propensity to an adverse reaction should be 'Low Risk', indicating at the very least a relative contraindication to deliberate or voluntary exposure to the substance. 'High Risk' is flagged if the clinician has identified a propensity for a more serious or potentially life-threatening reaction, such as anaphylaxis, and implies an absolute contraindication to deliberate or voluntary exposure to the substance. If this element is missing, the criticality is unknown (though it may be known elsewhere).  Systems that capture a severity at the condition level are actually representing the concept of criticality whereas the severity documented at the reaction level is representing the true reaction severity.  Existing systems that are capturing both condition criticality and reaction severity may use the term &quot;severity&quot; to represent both.  Criticality is the worst it could be in the future (i.e. situation-agnostic) whereas severity is situation-dependent.">
         <binding name="AllergyIntoleranceCriticality" description="Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance." strength="Required"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Code that identifies the allergy or intolerance" definition="Code for an allergy or intolerance statement (either a positive or a negated/excluded statement).  This may be a code for a substance or pharmaceutical product that is considered to be responsible for the adverse reaction risk (e.g., &quot;Latex&quot;), an allergy or intolerance condition (e.g., &quot;Latex allergy&quot;), or a negated/excluded code for a specific substance or class (e.g., &quot;No latex allergy&quot;) or a general or categorical negated statement (e.g.,  &quot;No known allergy&quot;, &quot;No known drug allergies&quot;).  Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'.  If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance." 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, ICD-9, IDC-10, UNII, and ATC. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text.&#xd;&#xd;When a substance or product code is specified for the 'code' element, the &quot;default&quot; semantic context is that this is a positive statement of an allergy or intolerance (depending on the value of the 'type' element, if present) condition to the specified substance/product.  In the corresponding SNOMED CT allergy model, the specified substance/product is the target (destination) of the &quot;Causative agent&quot; relationship.&#xd;&#xd;The 'substanceExposureRisk' extension is available as a structured and more flexible alternative to the 'code' element for making positive or negative allergy or intolerance statements.  This extension provides the capability to make &quot;no known allergy&quot; (or &quot;no risk of adverse reaction&quot;) statements regarding any coded substance/product (including cases when a pre-coordinated &quot;no allergy to x&quot; concept for that substance/product does not exist).  If the 'substanceExposureRisk' extension is present, the AllergyIntolerance.code element SHALL be omitted.">
         <binding name="AllergyIntoleranceCode" description="Type of the substance/product, allergy or intolerance condition, or negation/exclusion codes for reporting no known allergies." strength="Example"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="Who the sensitivity is for" definition="The patient who has the allergy or intolerance."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter when the allergy or intolerance was asserted" definition="The encounter when the allergy or intolerance was asserted."/>
      <element name="onset" description="When allergy or intolerance was identified" definition="Estimated or actual date,  date-time, or age when allergy or intolerance was identified.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="recordedDate" elementType="FHIR.dateTime" description="Date first version of the resource instance was recorded" definition="The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date."/>
      <element name="recorder" elementType="FHIR.Reference" description="Who recorded the sensitivity" definition="Individual who recorded the record and takes responsibility for its content."/>
      <element name="asserter" elementType="FHIR.Reference" description="Source of the information about the allergy" definition="The source of the information about the allergy that is recorded." comment="The recorder takes responsibility for the content, but can reference the source from where they got it."/>
      <element name="lastOccurrence" elementType="FHIR.dateTime" description="Date(/time) of last known occurrence of a reaction" definition="Represents the date and/or time of the last known occurrence of a reaction event." comment="This date may be replicated by one of the Onset of Reaction dates. Where a textual representation of the date of last occurrence is required e.g. 'In Childhood, '10 years ago' the Comment element should be used."/>
      <element name="note" description="Additional text not captured in other fields" definition="Additional narrative about the propensity for the Adverse Reaction, not captured in other fields." comment="For example: including reason for flagging a seriousness of 'High Risk'; and instructions related to future exposure or administration of the substance, such as administration within an Intensive Care Unit or under corticosteroid cover. The notes should be related to an allergy or intolerance as a condition in general and not related to any particular episode of it. For episode notes and descriptions, use AllergyIntolerance.event.description and  AllergyIntolerance.event.notes.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reaction" description="Adverse Reaction Events linked to exposure to substance" definition="Details about each adverse reaction event linked to exposure to the identified substance.">
         <elementTypeSpecifier elementType="FHIR.AllergyIntolerance.Reaction" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="recorder"/>
      <contextRelationship context="Practitioner" relatedKeyElement="asserter"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Patient" relatedKeyElement="recorder"/>
      <contextRelationship context="Patient" relatedKeyElement="asserter"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="asserter"/>
      <search name="route" path="reaction.exposureRoute" type="System.Code"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="date" path="recordedDate" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="manifestation" path="reaction.manifestation" type="System.Code"/>
      <search name="verification-status" path="verificationStatus" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="patient" path="patient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="code" path="code|reaction.substance" type="System.Code"/>
      <search name="severity" path="reaction.severity" type="System.Code"/>
      <search name="last-date" path="lastOccurrence" type="System.DateTime"/>
      <search name="onset" path="reaction.onset" type="System.DateTime"/>
      <search name="criticality" path="criticality" type="System.Code"/>
      <search name="clinical-status" path="clinicalStatus" type="System.Code"/>
      <search name="recorder" path="recorder">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="asserter" path="asserter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="AllergyIntolerance.Reaction" retrievable="false" xsi:type="ClassInfo">
      <element name="substance" elementType="FHIR.CodeableConcept" description="Specific substance or pharmaceutical product considered to be responsible for event" definition="Identification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'.  If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance." comment="Coding of the specific substance (or pharmaceutical product) with a terminology capable of triggering decision support should be used wherever possible.  The 'code' element allows for the use of a specific substance or pharmaceutical product, or a group or class of substances. In the case of an allergy or intolerance to a class of substances, (for example, &quot;penicillins&quot;), the 'reaction.substance' element could be used to code the specific substance that was identified as having caused the reaction (for example, &quot;amoxycillin&quot;). Duplication of the value in the 'code' and 'reaction.substance' elements is acceptable when a specific substance has been recorded in 'code'.">
         <binding name="SubstanceCode" description="Codes defining the type of the substance (including pharmaceutical products)." strength="Example"/>
      </element>
      <element name="manifestation" description="Clinical symptoms/signs associated with the Event" definition="Clinical symptoms and/or signs that are observed or associated with the adverse reaction event." comment="Manifestation can be expressed as a single word, phrase or brief description. For example: nausea, rash or no reaction. It is preferable that manifestation should be coded with a terminology, where possible. The values entered here may be used to display on an application screen as part of a list of adverse reactions, as recommended in the UK NHS CUI guidelines.  Terminologies commonly used include, but are not limited to, SNOMED CT or ICD10.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Manifestation" description="Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event." strength="Example"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Description of the event as a whole" definition="Text description about the reaction as a whole, including details of the manifestation if required." comment="Use the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after. Information, related to the event, but not describing a particular care should be captured in the comment field. For example: at the age of four, the patient was given penicillin for strep throat and subsequently developed severe hives."/>
      <element name="onset" elementType="FHIR.dateTime" description="Date(/time) when manifestations showed" definition="Record of the date and/or time of the onset of the Reaction."/>
      <element name="severity" elementType="FHIR.AllergyIntoleranceSeverity" description="mild | moderate | severe (of event as a whole)" definition="Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations." comment="It is acknowledged that this assessment is very subjective. There may be some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.">
         <binding name="AllergyIntoleranceSeverity" description="Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations." strength="Required"/>
      </element>
      <element name="exposureRoute" elementType="FHIR.CodeableConcept" description="How the subject was exposed to the substance" definition="Identification of the route by which the subject was exposed to the substance." comment="Coding of the route of exposure with a terminology should be used wherever possible.">
         <binding name="RouteOfAdministration" description="A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject." strength="Example"/>
      </element>
      <element name="note" description="Text about event not captured in other fields" definition="Additional text about the adverse reaction event not captured in other fields." comment="Use this field to record information indirectly related to a particular event and not captured in the description. For example: Clinical records are no longer available, recorded based on information provided to the patient by her mother and her mother is deceased.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AllergyIntoleranceCategory" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AllergyIntoleranceCriticality" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AllergyIntoleranceSeverity" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AllergyIntoleranceType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Annotation" identifier="http://hl7.org/fhir/StructureDefinition/Annotation" label="Annotation" retrievable="false" xsi:type="ClassInfo">
      <element name="author" description="Individual responsible for the annotation" definition="The individual responsible for making the annotation." comment="Organization is used when there's no need for specific attribution as to who made the comment.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="time" elementType="FHIR.dateTime" description="When the annotation was made" definition="Indicates when this particular annotation was made."/>
      <element name="text" elementType="FHIR.markdown" description="The annotation  - text content (as markdown)" definition="The text of the annotation in markdown format."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Appointment" identifier="http://hl7.org/fhir/StructureDefinition/Appointment" label="Appointment" retrievable="true" primaryCodePath="serviceType" xsi:type="ClassInfo">
      <element name="identifier" description="External Ids for this item" definition="This records identifiers associated with this appointment concern that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.AppointmentStatus" description="proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist" definition="The overall status of the Appointment. Each of the participants has their own participation status which indicates their involvement in the process, however this status indicates the shared status." comment="If the Appointment's status is &quot;cancelled&quot; then all participants are expected to have their calendars released for the appointment period, and as such any Slots that were marked as BUSY can be re-set to FREE.&#xa;&#xa;This element is labeled as a modifier because the status contains the code entered-in-error that mark the Appointment as not currently valid.">
         <binding name="AppointmentStatus" description="The free/busy status of an appointment." strength="Required"/>
      </element>
      <element name="cancelationReason" elementType="FHIR.CodeableConcept" description="The coded reason for the appointment being cancelled" definition="The coded reason for the appointment being cancelled. This is often used in reporting/billing/futher processing to determine if further actions are required, or specific fees apply.">
         <binding name="cancelation-reason" strength="Example"/>
      </element>
      <element name="serviceCategory" description="A broad categorization of the service that is to be performed during this appointment" definition="A broad categorization of the service that is to be performed during this appointment.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="service-category" strength="Example"/>
      </element>
      <element name="serviceType" description="The specific service that is to be performed during this appointment" definition="The specific service that is to be performed during this appointment." comment="For a provider to provider appointment the code &quot;FOLLOWUP&quot; may be appropriate, as this is expected to be discussing some patient that was seen in the past.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="service-type" strength="Example"/>
      </element>
      <element name="specialty" description="The specialty of a practitioner that would be required to perform the service requested in this appointment" definition="The specialty of a practitioner that would be required to perform the service requested in this appointment.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="specialty" strength="Preferred"/>
      </element>
      <element name="appointmentType" elementType="FHIR.CodeableConcept" description="The style of appointment or patient that has been booked in the slot (not service type)" definition="The style of appointment or patient that has been booked in the slot (not service type).">
         <binding name="appointment-type" strength="Preferred"/>
      </element>
      <element name="reasonCode" description="Coded reason this appointment is scheduled" definition="The coded reason that this appointment is being scheduled. This is more clinical than administrative.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ApptReason" description="The Reason for the appointment to take place." strength="Preferred"/>
      </element>
      <element name="reasonReference" description="Reason the appointment is to take place (resource)" definition="Reason the appointment has been scheduled to take place, as specified using information from another resource. When the patient arrives and the encounter begins it may be used as the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="priority" elementType="FHIR.unsignedInt" description="Used to make informed decisions if needing to re-prioritize" definition="The priority of the appointment. Can be used to make informed decisions if needing to re-prioritize appointments. (The iCal Standard specifies 0 as undefined, 1 as highest, 9 as lowest priority)." comment="Seeking implementer feedback on this property and how interoperable it is.&#xd;&#xd;Using an extension to record a CodeableConcept for named values may be tested at a future connectathon."/>
      <element name="description" elementType="FHIR.string" description="Shown on a subject line in a meeting request, or appointment list" definition="The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field."/>
      <element name="supportingInformation" description="Additional information to support the appointment" definition="Additional information to support the appointment provided when making the appointment.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="start" elementType="FHIR.instant" description="When appointment is to take place" definition="Date/Time that the appointment is to take place."/>
      <element name="end" elementType="FHIR.instant" description="When appointment is to conclude" definition="Date/Time that the appointment is to conclude."/>
      <element name="minutesDuration" elementType="FHIR.positiveInt" description="Can be less than start/end (e.g. estimate)" definition="Number of minutes that the appointment is to take. This can be less than the duration between the start and end times.  For example, where the actual time of appointment is only an estimate or if a 30 minute appointment is being requested, but any time would work.  Also, if there is, for example, a planned 15 minute break in the middle of a long appointment, the duration may be 15 minutes less than the difference between the start and end."/>
      <element name="slot" description="The slots that this appointment is filling" definition="The slots from the participants' schedules that will be filled by the appointment.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="created" elementType="FHIR.dateTime" description="The date that this appointment was initially created" definition="The date that this appointment was initially created. This could be different to the meta.lastModified value on the initial entry, as this could have been before the resource was created on the FHIR server, and should remain unchanged over the lifespan of the appointment." comment="This property is required for many use cases where the age of an appointment is considered in processing workflows for scheduling and billing of appointments."/>
      <element name="comment" elementType="FHIR.string" description="Additional comments" definition="Additional comments about the appointment." comment="Additional text to aid in facilitating the appointment. For instance, a comment might be, &quot;patient should proceed immediately to infusion room upon arrival&quot;&#xd;&#xd;Where this is a planned appointment and the start/end dates are not set then this field can be used to provide additional guidance on the details of the appointment request, including any restrictions on when to book it."/>
      <element name="patientInstruction" elementType="FHIR.string" description="Detailed information and instructions for the patient" definition="While Appointment.comment contains information for internal use, Appointment.patientInstructions is used to capture patient facing information about the Appointment (e.g. please bring your referral or fast from 8pm night before)."/>
      <element name="basedOn" description="The service request this appointment is allocated to assess" definition="The service request this appointment is allocated to assess (e.g. incoming referral or procedure request).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="participant" description="Participants involved in appointment" definition="List of participants involved in the appointment.">
         <elementTypeSpecifier elementType="FHIR.Appointment.Participant" xsi:type="ListTypeSpecifier"/>
         <constraint name="app-1" severity="ERROR" message="Either the type or actor on the participant SHALL be specified">
            <expression language="text/fhirpath" expression="type.exists() or actor.exists()"/>
         </constraint>
      </element>
      <element name="requestedPeriod" description="Potential date/time interval(s) requested to allocate the appointment within" definition="A set of date ranges (potentially including times) that the appointment is preferred to be scheduled within.&#xa;&#xa;The duration (usually in minutes) could also be provided to indicate the length of the appointment to fill and populate the start/end times for the actual allocated time. However, in other situations the duration may be calculated by the scheduling system." comment="This does not introduce a capacity for recurring appointments.">
         <elementTypeSpecifier elementType="FHIR.Period" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="actor"/>
      <contextRelationship context="Patient" relatedKeyElement="actor"/>
      <contextRelationship context="Device" relatedKeyElement="actor"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="actor"/>
      <search name="specialty" path="specialty" type="System.Code"/>
      <search name="date" path="start" type="System.DateTime"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="based-on" path="basedOn" type="FHIR.ServiceRequest"/>
      <search name="patient" path="participant.actor.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="practitioner" path="participant.actor.where(resolve() is Practitioner)" type="FHIR.Practitioner"/>
      <search name="slot" path="slot" type="FHIR.Slot"/>
      <search name="service-category" path="serviceCategory" type="System.Code"/>
      <search name="reason-reference" path="reasonReference">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="part-status" path="participant.status" type="System.Code"/>
      <search name="appointment-type" path="appointmentType" type="System.Code"/>
      <search name="service-type" path="serviceType" type="System.Code"/>
      <search name="actor" path="participant.actor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="supporting-info" path="supportingInformation">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="reason-code" path="reasonCode" type="System.Code"/>
      <search name="location" path="participant.actor.where(resolve() is Location)" type="FHIR.Location"/>
      <search name="identifier" path="identifier" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Appointment.Participant" retrievable="false" xsi:type="ClassInfo">
      <element name="type" description="Role of participant in the appointment" definition="Role of participant in the appointment." comment="The role of the participant can be used to declare what the actor will be doing in the scope of this appointment.&#xd;&#xd;If the actor is not specified, then it is expected that the actor will be filled in at a later stage of planning.&#xd;&#xd;This value SHALL be the same when creating an AppointmentResponse so that they can be matched, and subsequently update the Appointment.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ParticipantType" description="Role of participant in encounter." strength="Extensible"/>
      </element>
      <element name="actor" elementType="FHIR.Reference" description="Person, Location/HealthcareService or Device" definition="A Person, Location/HealthcareService or Device that is participating in the appointment."/>
      <element name="required" elementType="FHIR.ParticipantRequired" description="required | optional | information-only" definition="Whether this participant is required to be present at the meeting. This covers a use-case where two doctors need to meet to discuss the results for a specific patient, and the patient is not required to be present.">
         <binding name="ParticipantRequired" description="Is the Participant required to attend the appointment." strength="Required"/>
      </element>
      <element name="status" elementType="FHIR.ParticipationStatus" description="accepted | declined | tentative | needs-action" definition="Participation status of the actor.">
         <binding name="ParticipationStatus" description="The Participation status of an appointment." strength="Required"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Participation period of the actor" definition="Participation period of the actor."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="AppointmentResponse" identifier="http://hl7.org/fhir/StructureDefinition/AppointmentResponse" label="AppointmentResponse" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="External Ids for this item" definition="This records identifiers associated with this appointment response concern that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="appointment" elementType="FHIR.Reference" description="Appointment this response relates to" definition="Appointment that this response is replying to."/>
      <element name="start" elementType="FHIR.instant" description="Time from appointment, or requested new start time" definition="Date/Time that the appointment is to take place, or requested new start time." comment="This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the start time."/>
      <element name="end" elementType="FHIR.instant" description="Time from appointment, or requested new end time" definition="This may be either the same as the appointment request to confirm the details of the appointment, or alternately a new time to request a re-negotiation of the end time."/>
      <element name="participantType" description="Role of participant in the appointment" definition="Role of participant in the appointment." comment="The role of the participant can be used to declare what the actor will be doing in the scope of the referenced appointment.&#xd;&#xd;If the actor is not specified, then it is expected that the actor will be filled in at a later stage of planning.&#xd;&#xd;This value SHALL be the same as specified on the referenced Appointment so that they can be matched, and subsequently updated.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ParticipantType" description="Role of participant in encounter." strength="Extensible"/>
      </element>
      <element name="actor" elementType="FHIR.Reference" description="Person, Location, HealthcareService, or Device" definition="A Person, Location, HealthcareService, or Device that is participating in the appointment."/>
      <element name="participantStatus" elementType="FHIR.ParticipantStatus" description="accepted | declined | tentative | needs-action" definition="Participation status of the participant. When the status is declined or tentative if the start/end times are different to the appointment, then these times should be interpreted as a requested time change. When the status is accepted, the times can either be the time of the appointment (as a confirmation of the time) or can be empty." comment="This element is labeled as a modifier because the status contains the code entered-in-error that marks the participant as not currently valid.">
         <binding name="ParticipantStatus" description="The Participation status of an appointment." strength="Required"/>
      </element>
      <element name="comment" elementType="FHIR.string" description="Additional comments" definition="Additional comments about the appointment." comment="This comment is particularly important when the responder is declining, tentatively accepting or requesting another time to indicate the reasons why."/>
      <contextRelationship context="Practitioner" relatedKeyElement="actor"/>
      <contextRelationship context="Patient" relatedKeyElement="actor"/>
      <contextRelationship context="Device" relatedKeyElement="actor"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="actor"/>
      <search name="patient" path="actor.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="practitioner" path="actor.where(resolve() is Practitioner)" type="FHIR.Practitioner"/>
      <search name="appointment" path="appointment" type="FHIR.Appointment"/>
      <search name="part-status" path="participantStatus" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="location" path="actor.where(resolve() is Location)" type="FHIR.Location"/>
      <search name="actor" path="actor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AppointmentStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AssertionDirectionType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AssertionOperatorType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AssertionResponseTypes" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Attachment" identifier="http://hl7.org/fhir/StructureDefinition/Attachment" label="Attachment" retrievable="false" xsi:type="ClassInfo">
      <element name="contentType" elementType="FHIR.MimeType" description="Mime type of the content, with charset etc." definition="Identifies the type of the data in the attachment and allows a method to be chosen to interpret or render the data. Includes mime type parameters such as charset where appropriate.">
         <binding name="MimeType" description="The mime type of an attachment. Any valid mime type is allowed." strength="Required"/>
      </element>
      <element name="language" elementType="FHIR.code" description="Human language of the content (BCP-47)" definition="The human language of the content. The value can be any valid value according to BCP 47.">
         <binding name="Language" description="A human language." strength="Preferred"/>
      </element>
      <element name="data" elementType="FHIR.base64Binary" description="Data inline, base64ed" definition="The actual data of the attachment - a sequence of bytes, base64 encoded." comment="The base64-encoded data SHALL be expressed in the same character set as the base resource XML or JSON."/>
      <element name="url" elementType="FHIR.url" description="Uri where the data can be found" definition="A location where the data can be accessed." comment="If both data and url are provided, the url SHALL point to the same content as the data contains. Urls may be relative references or may reference transient locations such as a wrapping envelope using cid: though this has ramifications for using signatures. Relative URLs are interpreted relative to the service url, like a resource reference, rather than relative to the resource itself. If a URL is provided, it SHALL resolve to actual data."/>
      <element name="size" elementType="FHIR.unsignedInt" description="Number of bytes of content (if url provided)" definition="The number of bytes of data that make up this attachment (before base64 encoding, if that is done)." comment="The number of bytes is redundant if the data is provided as a base64binary, but is useful if the data is provided as a url reference."/>
      <element name="hash" elementType="FHIR.base64Binary" description="Hash of the data (sha-1, base64ed)" definition="The calculated hash of the data using SHA-1. Represented using base64." comment="The hash is calculated on the data prior to base64 encoding, if the data is based64 encoded. The hash is not intended to support digital signatures. Where protection against malicious threats a digital signature should be considered, see [Provenance.signature](provenance-definitions.html#Provenance.signature) for mechanism to protect a resource with a digital signature."/>
      <element name="title" elementType="FHIR.string" description="Label to display in place of the data" definition="A label or set of text to display in place of the data."/>
      <element name="creation" elementType="FHIR.dateTime" description="Date attachment was first created" definition="The date that the attachment was first created."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="AuditEvent" identifier="http://hl7.org/fhir/StructureDefinition/AuditEvent" label="AuditEvent" retrievable="true" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.Coding" description="Type/identifier of event" definition="Identifier for a family of the event.  For example, a menu item, program, rule, policy, function code, application name or URL. It identifies the performed function.">
         <binding name="AuditEventType" description="Type of event." strength="Extensible"/>
      </element>
      <element name="subtype" description="More specific type/id for the event" definition="Identifier for the category of event.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="AuditEventSubType" description="Sub-type of event." strength="Extensible"/>
      </element>
      <element name="action" elementType="FHIR.AuditEventAction" description="Type of action performed during the event" definition="Indicator for type of action performed during the event that generated the audit.">
         <binding name="AuditEventAction" description="Indicator for type of action performed during the event that generated the event." strength="Required"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="When the activity occurred" definition="The period during which the activity occurred." comment="The period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time."/>
      <element name="recorded" elementType="FHIR.instant" description="Time when the event was recorded" definition="The time when the event was recorded." comment="In a distributed system, some sort of common time base (e.g. an NTP [RFC1305] server) is a good implementation tactic."/>
      <element name="outcome" elementType="FHIR.AuditEventOutcome" description="Whether the event succeeded or failed" definition="Indicates whether the event succeeded or failed." comment="In some cases a &quot;success&quot; may be partial, for example, an incomplete or interrupted transfer of a radiological study. For the purpose of establishing accountability, these distinctions are not relevant.">
         <binding name="AuditEventOutcome" description="Indicates whether the event succeeded or failed." strength="Required"/>
      </element>
      <element name="outcomeDesc" elementType="FHIR.string" description="Description of the event outcome" definition="A free text description of the outcome of the event."/>
      <element name="purposeOfEvent" description="The purposeOfUse of the event" definition="The purposeOfUse (reason) that was used during the event being recorded." comment="Use AuditEvent.agent.purposeOfUse when you know that it is specific to the agent, otherwise use AuditEvent.purposeOfEvent. For example, during a machine-to-machine transfer it might not be obvious to the audit system who caused the event, but it does know why.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="AuditPurposeOfUse" description="The reason the activity took place." strength="Extensible"/>
      </element>
      <element name="agent" description="Actor involved in the event" definition="An actor taking an active role in the event or activity that is logged." comment="Several agents may be associated (i.e. have some responsibility for an activity) with an event or activity.&#xa;&#xa;For example, an activity may be initiated by one user for other users or involve more than one user. However, only one user may be the initiator/requestor for the activity.">
         <elementTypeSpecifier elementType="FHIR.AuditEvent.Agent" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="source" elementType="FHIR.AuditEvent.Source" description="Audit Event Reporter" definition="The system that is reporting the event." comment="Since multi-tier, distributed, or composite applications make source identification ambiguous, this collection of fields may repeat for each application or process actively involved in the event. For example, multiple value-sets can identify participating web servers, application processes, and database server threads in an n-tier distributed application. Passive event participants (e.g. low-level network transports) need not be identified."/>
      <element name="entity" description="Data or objects used" definition="Specific instances of data or objects that have been accessed." comment="Required unless the values for event identification, agent identification, and audit source identification are sufficient to document the entire auditable event. Because events may have more than one entity, this group can be a repeating set of values.">
         <elementTypeSpecifier elementType="FHIR.AuditEvent.Entity" xsi:type="ListTypeSpecifier"/>
         <constraint name="sev-1" severity="ERROR" message="Either a name or a query (NOT both)">
            <expression language="text/fhirpath" expression="name.empty() or query.empty()"/>
         </constraint>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="who"/>
      <contextRelationship context="Patient" relatedKeyElement="where(resolve() is Patient)"/>
      <contextRelationship context="Device" relatedKeyElement="who"/>
      <search name="entity-type" path="entity.type" type="System.Code"/>
      <search name="subtype" path="subtype" type="System.Code"/>
      <search name="policy" path="agent.policy" type="System.String"/>
      <search name="agent-name" path="agent.name" type="System.String"/>
      <search name="source" path="source.observer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="entity-role" path="entity.role" type="System.Code"/>
      <search name="agent-role" path="agent.role" type="System.Code"/>
      <search name="action" path="action" type="System.Code"/>
      <search name="entity-name" path="entity.name" type="System.String"/>
      <search name="address" path="agent.network.address" type="System.String"/>
      <search name="site" path="source.site" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="agent" path="agent.who">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="date" path="recorded" type="System.DateTime"/>
      <search name="patient" path="agent.who.where(resolve() is Patient)|entity.what.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="entity" path="entity.what">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="altid" path="agent.altId" type="System.Code"/>
      <search name="outcome" path="outcome" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="AuditEvent.Agent" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="How agent participated" definition="Specification of the participation type the user plays when performing the event.">
         <binding name="AuditAgentType" description="The Participation type of the agent to the event." strength="Extensible"/>
      </element>
      <element name="role" description="Agent role in the event" definition="The security role that the user was acting under, that come from local codes defined by the access control security system (e.g. RBAC, ABAC) used in the local context." comment="Should be roles relevant to the event. Should  not be an exhaustive list of roles.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="AuditAgentRole" description="What security role enabled the agent to participate in the event." strength="Example"/>
      </element>
      <element name="who" elementType="FHIR.Reference" description="Identifier of who" definition="Reference to who this agent is that was involved in the event." comment="Where a User ID is available it will go into who.identifier."/>
      <element name="altId" elementType="FHIR.string" description="Alternative User identity" definition="Alternative agent Identifier. For a human, this should be a user identifier text string from authentication system. This identifier would be one known to a common authentication system (e.g. single sign-on), if available."/>
      <element name="name" elementType="FHIR.string" description="Human friendly name for the agent" definition="Human-meaningful name for the agent."/>
      <element name="requestor" elementType="FHIR.boolean" description="Whether user is initiator" definition="Indicator that the user is or is not the requestor, or initiator, for the event being audited." comment="There can only be one initiator. If the initiator is not clear, then do not choose any one agent as the initiator."/>
      <element name="location" elementType="FHIR.Reference" description="Where" definition="Where the event occurred."/>
      <element name="policy" description="Policy that authorized event" definition="The policy or plan that authorized the activity being recorded. Typically, a single activity may have multiple applicable policies, such as patient consent, guarantor funding, etc. The policy would also indicate the security token used." comment="For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="media" elementType="FHIR.Coding" description="Type of media" definition="Type of media involved. Used when the event is about exporting/importing onto media.">
         <binding name="DICOMMediaType" description="Used when the event is about exporting/importing onto media." strength="Extensible"/>
      </element>
      <element name="network" elementType="FHIR.AuditEvent.Agent.Network" description="Logical network location for application activity" definition="Logical network location for application activity, if the activity has a network location."/>
      <element name="purposeOfUse" description="Reason given for this user" definition="The reason (purpose of use), specific to this agent, that was used during the event being recorded." comment="Use AuditEvent.agent.purposeOfUse when you know that is specific to the agent, otherwise use AuditEvent.purposeOfEvent. For example, during a machine-to-machine transfer it might not be obvious to the audit system who caused the event, but it does know why.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="AuditPurposeOfUse" description="The reason the activity took place." strength="Extensible"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="AuditEvent.Agent.Network" retrievable="false" xsi:type="ClassInfo">
      <element name="address" elementType="FHIR.string" description="Identifier for the network access point of the user device" definition="An identifier for the network access point of the user device for the audit event." comment="This could be a device id, IP address or some other identifier associated with a device."/>
      <element name="type" elementType="FHIR.AuditEventAgentNetworkType" description="The type of network access point" definition="An identifier for the type of network access point that originated the audit event.">
         <binding name="AuditEventAgentNetworkType" description="The type of network access point of this agent in the audit event." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="AuditEvent.Entity" retrievable="false" xsi:type="ClassInfo">
      <element name="what" elementType="FHIR.Reference" description="Specific instance of resource" definition="Identifies a specific instance of the entity. The reference should be version specific."/>
      <element name="type" elementType="FHIR.Coding" description="Type of entity involved" definition="The type of the object that was involved in this audit event." comment="This value is distinct from the user's role or any user relationship to the entity.">
         <binding name="AuditEventEntityType" description="Code for the entity type involved in the audit event." strength="Extensible"/>
      </element>
      <element name="role" elementType="FHIR.Coding" description="What role the entity played" definition="Code representing the role the entity played in the event being audited.">
         <binding name="AuditEventEntityRole" description="Code representing the role the entity played in the audit event." strength="Extensible"/>
      </element>
      <element name="lifecycle" elementType="FHIR.Coding" description="Life-cycle stage for the entity" definition="Identifier for the data life-cycle stage for the entity." comment="This can be used to provide an audit trail for data, over time, as it passes through the system.">
         <binding name="AuditEventEntityLifecycle" description="Identifier for the data life-cycle stage for the entity." strength="Extensible"/>
      </element>
      <element name="securityLabel" description="Security labels on the entity" definition="Security labels for the identified entity." comment="Copied from entity meta security tags.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="SecurityLabels" description="Security Labels from the Healthcare Privacy and Security Classification System." strength="Extensible"/>
      </element>
      <element name="name" elementType="FHIR.string" description="Descriptor for entity" definition="A name of the entity in the audit event." comment="This field may be used in a query/report to identify audit events for a specific person.  For example, where multiple synonymous entity identifiers (patient number, medical record number, encounter number, etc.) have been used."/>
      <element name="description" elementType="FHIR.string" description="Descriptive text" definition="Text that describes the entity in more detail."/>
      <element name="query" elementType="FHIR.base64Binary" description="Query parameters" definition="The query parameters for a query-type entities." comment="The meaning and secondary-encoding of the content of base64 encoded blob is specific to the AuditEvent.type, AuditEvent.subtype, AuditEvent.entity.type, and AuditEvent.entity.role.  The base64 is a general-use and safe container for event specific data blobs regardless of the encoding used by the transaction being recorded.  An AuditEvent consuming application must understand the event it is consuming and the formats used by the event. For example, if auditing an Oracle network database access, the Oracle formats must be understood as they will be simply encoded in the base64binary blob."/>
      <element name="detail" description="Additional Information about the entity" definition="Tagged value pairs for conveying additional information about the entity.">
         <elementTypeSpecifier elementType="FHIR.AuditEvent.Entity.Detail" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="AuditEvent.Entity.Detail" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.string" description="Name of the property" definition="The type of extra detail provided in the value."/>
      <element name="value" description="Property value" definition="The  value of the extra detail." comment="The value can be string when known to be a string, else base64 encoding should be used to protect binary or undefined content.  The meaning and secondary-encoding of the content of base64 encoded blob is specific to the AuditEvent.type, AuditEvent.subtype, AuditEvent.entity.type, and AuditEvent.entity.role.  The base64 is a general-use and safe container for event specific data blobs regardless of the encoding used by the transaction being recorded.  An AuditEvent consuming application must understand the event it is consuming and the formats used by the event. For example if auditing an Oracle network database access, the Oracle formats must be understood as they will be simply encoded in the base64binary blob.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="base64Binary" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="AuditEvent.Source" retrievable="false" xsi:type="ClassInfo">
      <element name="site" elementType="FHIR.string" description="Logical source location within the enterprise" definition="Logical source location within the healthcare enterprise network.  For example, a hospital or other provider location within a multi-entity provider group."/>
      <element name="observer" elementType="FHIR.Reference" description="The identity of source detecting the event" definition="Identifier of the source where the event was detected."/>
      <element name="type" description="The type of source where event originated" definition="Code specifying the type of source where event originated.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="AuditEventSourceType" description="Code specifying the type of system that detected and recorded the event." strength="Extensible"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AuditEventAction" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AuditEventAgentNetworkType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="AuditEventOutcome" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="BackboneElement" identifier="http://hl7.org/fhir/StructureDefinition/BackboneElement" label="BackboneElement" retrievable="false" xsi:type="ClassInfo">
      <element name="modifierExtension" description="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.&#xa;&#xa;Modifier 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.">
         <elementTypeSpecifier elementType="FHIR.Extension" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Basic" identifier="http://hl7.org/fhir/StructureDefinition/Basic" label="Basic" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifier" definition="Identifier assigned to the resource for business purposes, outside the context of FHIR.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Kind of Resource" definition="Identifies the 'type' of resource - equivalent to the resource name for other resources." comment="Because resource references will only be able to indicate 'Basic', the type of reference will need to be specified in a Profile identified as part of the resource.  Refer to the resource notes section for information on appropriate terminologies for this code.&#xa;&#xa;This element is labeled as a modifier because it defines the meaning of the resource and cannot be ignored.">
         <binding name="BasicResourceType" description="Codes for identifying types of resources not yet defined by FHIR." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Identifies the focus of this resource" definition="Identifies the patient, practitioner, device or any other resource that is the &quot;focus&quot; of this resource." comment="Optional as not all potential resources will have subjects.  Resources associated with multiple subjects can handle this via extension."/>
      <element name="created" elementType="FHIR.date" description="When created" definition="Identifies when the resource was first created."/>
      <element name="author" elementType="FHIR.Reference" description="Who created" definition="Indicates who was responsible for creating the resource instance."/>
      <contextRelationship context="Practitioner" relatedKeyElement="author"/>
      <contextRelationship context="Patient" relatedKeyElement="where(resolve() is Patient)"/>
      <contextRelationship context="Patient" relatedKeyElement="author"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="author"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="created" path="created" type="System.DateTime"/>
      <search name="author" path="author">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="code" path="code" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Resource" namespace="FHIR" name="Binary" identifier="http://hl7.org/fhir/StructureDefinition/Binary" label="Binary" retrievable="true" xsi:type="ClassInfo">
      <element name="contentType" elementType="FHIR.MimeType" description="MimeType of the binary content" definition="MimeType of the binary content represented as a standard MimeType (BCP 13).">
         <binding name="MimeType" description="The mime type of an attachment. Any valid mime type is allowed." strength="Required"/>
      </element>
      <element name="securityContext" elementType="FHIR.Reference" description="Identifies another resource to use as proxy when enforcing access control" definition="This element identifies another resource that can be used as a proxy of the security sensitivity to use when deciding and enforcing access control rules for the Binary resource. Given that the Binary resource contains very few elements that can be used to determine the sensitivity of the data and relationships to individuals, the referenced resource stands in as a proxy equivalent for this purpose. This referenced resource may be related to the Binary (e.g. Media, DocumentReference), or may be some non-related Resource purely as a security proxy. E.g. to identify that the binary resource relates to a patient, and access should only be granted to applications that have access to the patient." comment="Very often, a server will also know of a resource that references the binary, and can automatically apply the appropriate access rules based on that reference. However, there are some circumstances where this is not appropriate, e.g. the binary is uploaded directly to the server without any linking resource, the binary is referred to from multiple different resources, and/or the binary is content such as an application logo that has less protection than any of the resources that reference it."/>
      <element name="data" elementType="FHIR.base64Binary" description="The actual content" definition="The actual content, base64 encoded." comment="If the content type is itself base64 encoding, then this will be base64 encoded twice - what is created by un-base64ing the content must be the specified content type."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="BindingStrength" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="BiologicallyDerivedProduct" identifier="http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct" label="BiologicallyDerivedProduct" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="External ids for this item" definition="This records identifiers associated with this biologically derived product instance that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="productCategory" elementType="FHIR.BiologicallyDerivedProductCategory" description="organ | tissue | fluid | cells | biologicalAgent" definition="Broad category of this product.">
         <binding name="BiologicallyDerivedProductCategory" description="Biologically Derived Product Category." strength="Required"/>
      </element>
      <element name="productCode" elementType="FHIR.CodeableConcept" description="What this biologically derived product is" definition="A code that identifies the kind of this biologically derived product (SNOMED Ctcode).">
         <binding name="BiologicallyDerivedProductCode" description="Biologically Derived Product Code." strength="Example"/>
      </element>
      <element name="status" elementType="FHIR.BiologicallyDerivedProductStatus" description="available | unavailable" definition="Whether the product is currently available.">
         <binding name="BiologicallyDerivedProductStatus" description="Biologically Derived Product Status." strength="Required"/>
      </element>
      <element name="request" description="Procedure request" definition="Procedure request to obtain this biologically derived product.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="quantity" elementType="FHIR.integer" description="The amount of this biologically derived product" definition="Number of discrete units within this product."/>
      <element name="parent" description="BiologicallyDerivedProduct parent" definition="Parent product (if any)." comment="For products that have multiple collections. For example Peripheral Blood Stem Cells may be collected over several days from a single donor and the donation split into in multiple containers which must be linked to the parent donation.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="collection" elementType="FHIR.BiologicallyDerivedProduct.Collection" description="How this product was collected" definition="How this product was collected."/>
      <element name="processing" description="Any processing of the product during collection" definition="Any processing of the product during collection that does not change the fundamental nature of the product. For example adding anti-coagulants during the collection of Peripheral Blood Stem Cells.">
         <elementTypeSpecifier elementType="FHIR.BiologicallyDerivedProduct.Processing" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="manipulation" elementType="FHIR.BiologicallyDerivedProduct.Manipulation" description="Any manipulation of product post-collection" definition="Any manipulation of product post-collection that is intended to alter the product.  For example a buffy-coat enrichment or CD8 reduction of Peripheral Blood Stem Cells to make it more suitable for infusion."/>
      <element name="storage" description="Product storage" definition="Product storage.">
         <elementTypeSpecifier elementType="FHIR.BiologicallyDerivedProduct.Storage" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="BiologicallyDerivedProduct.Collection" retrievable="false" xsi:type="ClassInfo">
      <element name="collector" elementType="FHIR.Reference" description="Individual performing collection" definition="Healthcare professional who is performing the collection."/>
      <element name="source" elementType="FHIR.Reference" description="Who is product from" definition="The patient or entity, such as a hospital or vendor in the case of a processed/manipulated/manufactured product, providing the product."/>
      <element name="collected" description="Time of product collection" definition="Time of product collection.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="BiologicallyDerivedProduct.Manipulation" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Description of manipulation" definition="Description of manipulation."/>
      <element name="time" description="Time of manipulation" definition="Time of manipulation.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="BiologicallyDerivedProduct.Processing" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Description of of processing" definition="Description of of processing."/>
      <element name="procedure" elementType="FHIR.CodeableConcept" description="Procesing code" definition="Procesing code.">
         <binding name="BiologicallyDerivedProductProcedure" description="Biologically Derived Product Procedure." strength="Example"/>
      </element>
      <element name="additive" elementType="FHIR.Reference" description="Substance added during processing" definition="Substance added during processing."/>
      <element name="time" description="Time of processing" definition="Time of processing.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="BiologicallyDerivedProduct.Storage" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Description of storage" definition="Description of storage."/>
      <element name="temperature" elementType="FHIR.decimal" description="Storage temperature" definition="Storage temperature."/>
      <element name="scale" elementType="FHIR.BiologicallyDerivedProductStorageScale" description="farenheit | celsius | kelvin" definition="Temperature scale used.">
         <binding name="BiologicallyDerivedProductStorageScale" description="BiologicallyDerived Product Storage Scale." strength="Required"/>
      </element>
      <element name="duration" elementType="FHIR.Period" description="Storage timeperiod" definition="Storage timeperiod."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="BiologicallyDerivedProductCategory" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="BiologicallyDerivedProductStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="BiologicallyDerivedProductStorageScale" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="BodyStructure" identifier="http://hl7.org/fhir/StructureDefinition/BodyStructure" label="BodyStructure" retrievable="true" primaryCodePath="location" xsi:type="ClassInfo">
      <element name="identifier" description="Bodystructure identifier" definition="Identifier for this instance of the anatomical structure.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="active" elementType="FHIR.boolean" description="Whether this record is in active use" definition="Whether this body site is in active use." comment="This element is labeled as a modifier because it may be used to mark that the resource was created in error."/>
      <element name="morphology" elementType="FHIR.CodeableConcept" description="Kind of Structure" definition="The kind of structure being represented by the body structure at `BodyStructure.location`.  This can define both normal and abnormal morphologies." comment="The minimum cardinality of 0 supports the use case of specifying a location without defining a morphology.">
         <binding name="BodyStructureCode" description="Codes describing anatomic morphology." strength="Example"/>
      </element>
      <element name="location" elementType="FHIR.CodeableConcept" description="Body site" definition="The anatomical location or region of the specimen, lesion, or body structure.">
         <binding name="BodySite" description="Codes describing anatomical locations. May include laterality." strength="Example"/>
      </element>
      <element name="locationQualifier" description="Body site modifier" definition="Qualifier to refine the anatomical location.  These include qualifiers for laterality, relative location, directionality, number, and plane.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="BodyStructureQualifier" description="Concepts modifying the anatomic location." strength="Example"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Text description" definition="A summary, characterization or explanation of the body structure." comment="This description could include any visual markings used to orientate the viewer e.g. external reference points, special sutures, ink markings."/>
      <element name="image" description="Attached images" definition="Image or images used to identify a location.">
         <elementTypeSpecifier elementType="FHIR.Attachment" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="Who this is about" definition="The person to which the body site belongs."/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="morphology" path="morphology" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="patient" path="patient" type="FHIR.Patient"/>
      <search name="location" path="location" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Resource" namespace="FHIR" name="Bundle" identifier="http://hl7.org/fhir/StructureDefinition/Bundle" label="Bundle" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Persistent identifier for the bundle" definition="A persistent identifier for the bundle that won't change as a bundle is copied from server to server." comment="Persistent identity generally only matters for batches of type Document, Message, and Collection. It would not normally be populated for search and history results and servers ignore Bundle.identifier when processing batches and transactions. For Documents  the .identifier SHALL be populated such that the .identifier is globally unique."/>
      <element name="type" elementType="FHIR.BundleType" description="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection" definition="Indicates the purpose of this bundle - how it is intended to be used." comment="It's possible to use a bundle for other purposes (e.g. a document can be accepted as a transaction). This is primarily defined so that there can be specific rules for some of the bundle types.">
         <binding name="BundleType" description="Indicates the purpose of a bundle - how it is intended to be used." strength="Required"/>
      </element>
      <element name="timestamp" elementType="FHIR.instant" description="When the bundle was assembled" definition="The date/time that the bundle was assembled - i.e. when the resources were placed in the bundle." comment="For many bundles, the timestamp is equal to .meta.lastUpdated, because they are not stored (e.g. search results). When a bundle is placed in a persistent store, .meta.lastUpdated will be usually be changed by the server. When the bundle is a message, a middleware agent altering the message (even if not stored) SHOULD update .meta.lastUpdated. .timestamp is used to track the original time of the Bundle, and SHOULD be populated.  &#xa;&#xa;Usage:&#xa;&#xa;* document : the date the document was created. Note: the composition may predate the document, or be associated with multiple documents. The date of the composition - the authoring time - may be earlier than the document assembly time&#xa;* message : the date that the content of the message was assembled. This date is not changed by middleware engines unless they add additional data that changes the meaning of the time of the message&#xa;* history : the date that the history was assembled. This time would be used as the _since time to ask for subsequent updates&#xa;* searchset : the time that the search set was assembled. Note that different pages MAY have different timestamps but need not. Having different timestamps does not imply that subsequent pages will represent or include changes made since the initial query&#xa;* transaction | transaction-response | batch | batch-response | collection : no particular assigned meaning&#xa;&#xa;The timestamp value should be greater than the lastUpdated and other timestamps in the resources in the bundle, and it should be equal or earlier than the .meta.lastUpdated on the Bundle itself."/>
      <element name="total" elementType="FHIR.unsignedInt" description="If search, the total number of matches" definition="If a set of search matches, this is the total number of entries of type 'match' across all pages in the search.  It does not include search.mode = 'include' or 'outcome' entries and it does not provide a count of the number of entries in the Bundle." comment="Only used if the bundle is a search result set. The total does not include resources such as OperationOutcome and included resources, only the total number of matching resources."/>
      <element name="link" description="Links related to this Bundle" definition="A series of links that provide context to this bundle." comment="Both Bundle.link and Bundle.entry.link are defined to support providing additional context when Bundles are used (e.g. [HATEOAS](http://en.wikipedia.org/wiki/HATEOAS)). &#xa;&#xa;Bundle.entry.link corresponds to links found in the HTTP header if the resource in the entry was [read](http.html#read) directly.&#xa;&#xa;This specification defines some specific uses of Bundle.link for [searching](search.html#conformance) and [paging](http.html#paging), but no specific uses for Bundle.entry.link, and no defined function in a transaction - the meaning is implementation specific.">
         <elementTypeSpecifier elementType="FHIR.Bundle.Link" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="entry" description="Entry in the bundle - will have a resource or information" definition="An entry in a bundle resource - will either contain a resource or information about a resource (transactions and history only).">
         <elementTypeSpecifier elementType="FHIR.Bundle.Entry" xsi:type="ListTypeSpecifier"/>
         <constraint name="bdl-8" severity="ERROR" message="fullUrl cannot be a version specific reference">
            <expression language="text/fhirpath" expression="fullUrl.contains('/_history/').not()"/>
         </constraint>
         <constraint name="bdl-5" severity="ERROR" message="must be a resource unless there's a request or response">
            <expression language="text/fhirpath" expression="resource.exists() or request.exists() or response.exists()"/>
         </constraint>
      </element>
      <element name="signature" elementType="FHIR.Signature" description="Digital Signature" definition="Digital Signature - base64 encoded. XML-DSig or a JWT." comment="The signature could be created by the &quot;author&quot; of the bundle or by the originating device.   Requirements around inclusion of a signature, verification of signatures and treatment of signed/non-signed bundles is implementation-environment specific."/>
      <search name="composition" path="entry[0].resource" type="FHIR.Composition"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="message" path="entry[0].resource" type="FHIR.MessageHeader"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="timestamp" path="timestamp" type="System.DateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Bundle.Entry" retrievable="false" xsi:type="ClassInfo">
      <element name="link" description="Links related to this entry" definition="A series of links that provide context to this entry.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="Bundle.Link" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="fullUrl" elementType="FHIR.uri" description="URI for resource (Absolute URL server address or URI for UUID/OID)" definition="The Absolute URL for the resource.  The fullUrl SHALL NOT disagree with the id in the resource - i.e. if the fullUrl is not a urn:uuid, the URL shall be version-independent URL consistent with the Resource.id. The fullUrl is a version independent reference to the resource. The fullUrl element SHALL have a value except that: &#xa;* fullUrl can be empty on a POST (although it does not need to when specifying a temporary id for reference in the bundle)&#xa;* Results from operations might involve resources that are not identified." comment="fullUrl might not be [unique in the context of a resource](bundle.html#bundle-unique). Note that since [FHIR resources do not need to be served through the FHIR API](references.html), the fullURL might be a URN or an absolute URL that does not end with the logical id of the resource (Resource.id). However, but if the fullUrl does look like a RESTful server URL (e.g. meets the [regex](references.html#regex), then the 'id' portion of the fullUrl SHALL end with the Resource.id.&#xa;&#xa;Note that the fullUrl is not the same as the canonical URL - it's an absolute url for an endpoint serving the resource (these will happen to have the same value on the canonical server for the resource with the canonical URL)."/>
      <element name="resource" elementType="FHIR.Resource" description="A resource in the bundle" definition="The Resource for the entry. The purpose/meaning of the resource is determined by the Bundle.type."/>
      <element name="search" elementType="FHIR.Bundle.Entry.Search" description="Search related information" definition="Information about the search process that lead to the creation of this entry."/>
      <element name="request" elementType="FHIR.Bundle.Entry.Request" description="Additional execution information (transaction/batch/history)" definition="Additional information about how this entry should be processed as part of a transaction or batch.  For history, it shows how the entry was processed to create the version contained in the entry."/>
      <element name="response" elementType="FHIR.Bundle.Entry.Response" description="Results of execution (transaction/batch/history)" definition="Indicates the results of processing the corresponding 'request' entry in the batch or transaction being responded to or what the results of an operation where when returning history."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Bundle.Entry.Request" retrievable="false" xsi:type="ClassInfo">
      <element name="method" elementType="FHIR.HTTPVerb" description="GET | HEAD | POST | PUT | DELETE | PATCH" definition="In a transaction or batch, this is the HTTP action to be executed for this entry. In a history bundle, this indicates the HTTP action that occurred.">
         <binding name="HTTPVerb" description="HTTP verbs (in the HTTP command line). See [HTTP rfc](https://tools.ietf.org/html/rfc7231) for details." strength="Required"/>
      </element>
      <element name="url" elementType="FHIR.uri" description="URL for HTTP equivalent of this entry" definition="The URL for this entry, relative to the root (the address to which the request is posted)." comment="E.g. for a Patient Create, the method would be &quot;POST&quot; and the URL would be &quot;Patient&quot;. For a Patient Update, the method would be PUT and the URL would be &quot;Patient/[id]&quot;."/>
      <element name="ifNoneMatch" elementType="FHIR.string" description="For managing cache currency" definition="If the ETag values match, return a 304 Not Modified status. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
      <element name="ifModifiedSince" elementType="FHIR.instant" description="For managing cache currency" definition="Only perform the operation if the last updated date matches. See the API documentation for [&quot;Conditional Read&quot;](http.html#cread)."/>
      <element name="ifMatch" elementType="FHIR.string" description="For managing update contention" definition="Only perform the operation if the Etag value matches. For more information, see the API section [&quot;Managing Resource Contention&quot;](http.html#concurrency)."/>
      <element name="ifNoneExist" elementType="FHIR.string" description="For conditional creates" definition="Instruct the server not to perform the create if a specified resource already exists. For further information, see the API documentation for [&quot;Conditional Create&quot;](http.html#ccreate). This is just the query portion of the URL - what follows the &quot;?&quot; (not including the &quot;?&quot;)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Bundle.Entry.Response" retrievable="false" xsi:type="ClassInfo">
      <element name="status" elementType="FHIR.string" description="Status response code (text optional)" definition="The status code returned by processing this entry. The status SHALL start with a 3 digit HTTP code (e.g. 404) and may contain the standard HTTP description associated with the status code."/>
      <element name="location" elementType="FHIR.uri" description="The location (if the operation returns a location)" definition="The location header created by processing this operation, populated if the operation returns a location."/>
      <element name="etag" elementType="FHIR.string" description="The Etag for the resource (if relevant)" definition="The Etag for the resource, if the operation for the entry produced a versioned resource (see [Resource Metadata and Versioning](http.html#versioning) and [Managing Resource Contention](http.html#concurrency))." comment="Etags match the Resource.meta.versionId. The ETag has to match the version id in the header if a resource is included."/>
      <element name="lastModified" elementType="FHIR.instant" description="Server's date time modified" definition="The date/time that the resource was modified on the server." comment="This has to match the same time in the meta header (meta.lastUpdated) if a resource is included."/>
      <element name="outcome" elementType="FHIR.Resource" description="OperationOutcome with hints and warnings (for batch/transaction)" definition="An OperationOutcome containing hints and warnings produced as part of processing this entry in a batch or transaction." comment="For a POST/PUT operation, this is the equivalent outcome that would be returned for prefer = operationoutcome - except that the resource is always returned whether or not the outcome is returned.&#xa;&#xa;This outcome is not used for error responses in batch/transaction, only for hints and warnings. In a batch operation, the error will be in Bundle.entry.response, and for transaction, there will be a single OperationOutcome instead of a bundle in the case of an error."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Bundle.Entry.Search" retrievable="false" xsi:type="ClassInfo">
      <element name="mode" elementType="FHIR.SearchEntryMode" description="match | include | outcome - why this is in the result set" definition="Why this entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process." comment="There is only one mode. In some corner cases, a resource may be included because it is both a match and an include. In these circumstances, 'match' takes precedence.">
         <binding name="SearchEntryMode" description="Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process." strength="Required"/>
      </element>
      <element name="score" elementType="FHIR.decimal" description="Search ranking (between 0 and 1)" definition="When searching, the server's search ranking score for the entry." comment="Servers are not required to return a ranking score. 1 is most relevant, and 0 is least relevant. Often, search results are sorted by score, but the client may specify a different sort order.&#xa;&#xa;See [Patient Match](patient-operation-match.html) for the EMPI search which relates to this element."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Bundle.Link" retrievable="false" xsi:type="ClassInfo">
      <element name="relation" elementType="FHIR.string" description="See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1" definition="A name which details the functional use for this link - see [http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1](http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1)."/>
      <element name="url" elementType="FHIR.uri" description="Reference details for the link" definition="The reference details for the link."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="BundleType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="CapabilityStatement" identifier="http://hl7.org/fhir/StructureDefinition/CapabilityStatement" label="CapabilityStatement" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this capability statement, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this capability statement 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 capability statement is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the capability statement 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="version" elementType="FHIR.string" description="Business version of the capability statement" definition="The identifier that is used to identify this version of the capability statement when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the capability statement 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 capability statement 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 capability statement with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this capability statement (computer friendly)" definition="A natural language name identifying the capability statement. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this capability statement (human friendly)" definition="A short, descriptive, user-friendly title for the capability statement." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this capability statement. Enables tracking the life-cycle of the content." comment="Allows filtering of capability statements that are appropriate for use versus not.This is not intended for use with actual capability statements, but where capability statements are used to describe possible or desired systems.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this capability statement is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of capability statements that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the capability statement 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 capability statement 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 capability statement. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the capability statement." comment="Usually an organization but may be an individual. The publisher (or steward) of the capability statement is the organization or individual primarily responsible for the maintenance and upkeep of the capability statement. 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 capability statement. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the capability statement" definition="A free text natural language description of the capability statement from a consumer's perspective. Typically, this is used when the capability statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP." comment="This description can be used to capture details such as why the capability statement 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 capability statement 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 capability statement is presumed to be the predominant language in the place the capability statement was created).This does not need to be populated if the description is adequately implied by the software or implementation details."/>
      <element name="useContext" description="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 capability statement instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for capability statement (if applicable)" definition="A legal or geographic region in which the capability statement is intended to be used." comment="It may be possible for the capability statement to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this capability statement is defined" definition="Explanation of why this capability statement is needed and why it has been designed as it has." comment="This element does not describe the usage of the capability statement. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this capability statement."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the capability statement and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the capability statement."/>
      <element name="kind" elementType="FHIR.CapabilityStatementKind" description="instance | capability | requirements" definition="The way that this statement is intended to be used, to describe an actual running instance of software, a particular product (kind, not instance of software) or a class of implementation (e.g. a desired purchase).">
         <binding name="CapabilityStatementKind" description="How a capability statement is intended to be used." strength="Required"/>
      </element>
      <element name="instantiates" description="Canonical URL of another capability statement this implements" definition="Reference to a canonical URL of another CapabilityStatement that this software implements. This capability statement is a published API description that corresponds to a business service. The server may actually implement a subset of the capability statement it claims to implement, so the capability statement must specify the full capability details." comment="HL7 defines the following Services: [Terminology Service](terminology-service.html).    &#xa;&#xa;Many [Implementation Guides](http://fhir.org/guides/registry) define additional services.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="imports" description="Canonical URL of another capability statement this adds to" definition="Reference to a canonical URL of another CapabilityStatement that this software adds to. The capability statement automatically includes everything in the other statement, and it is not duplicated, though the server may repeat the same resources, interactions and operations to add additional details to them." comment="the contents of any directly or indirectly imported CapabilityStatements SHALL NOT overlap, i.e. they cannot refer to the same rest/resource, operations/name, searchparam/name, interaction/code, messaging/endpoint, document/mode pair.&#xa;&#xa;A capability statement that imports another CapabilityStatement automatically instantiates it too (though this is often not a very useful statement for the kinds of CapabilityStatements that are suitable for importing).">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="software" elementType="FHIR.CapabilityStatement.Software" description="Software that is covered by this capability statement" definition="Software that is covered by this capability statement.  It is used when the capability statement describes the capabilities of a particular software version, independent of an installation."/>
      <element name="implementation" elementType="FHIR.CapabilityStatement.Implementation" description="If this describes a specific instance" definition="Identifies a specific implementation instance that is described by the capability statement - i.e. a particular installation, rather than the capabilities of a software program."/>
      <element name="fhirVersion" elementType="FHIR.FHIRVersion" description="FHIR Version the system supports" definition="The version of the FHIR specification that this CapabilityStatement describes (which SHALL be the same as the FHIR version of the CapabilityStatement itself). There is no default value." comment="Servers may implement multiple versions (see [Managing Multiple Versions](versioning.html), and the [$versions](capabilitystatement-operation-versions.html) operation). If they do, and the CapabilityStatement is requested from the server, then this fhirVersion will be either the version requested, or the server's default version.">
         <binding name="FHIRVersion" description="All published FHIR Versions." strength="Required"/>
      </element>
      <element name="format" description="formats supported (xml | json | ttl | mime type)" definition="A list of the formats supported by this implementation using their content types." comment="&quot;xml&quot;, &quot;json&quot; and &quot;ttl&quot; are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here.">
         <elementTypeSpecifier elementType="FHIR.MimeType" xsi:type="ListTypeSpecifier"/>
         <binding name="MimeType" description="The mime type of an attachment. Any valid mime type is allowed." strength="Required"/>
      </element>
      <element name="patchFormat" description="Patch formats supported" definition="A list of the patch formats supported by this implementation using their content types." comment="At present, the patch mime types application/json-patch+json and application/xml-patch+xml are legal. Generally, if a server supports PATCH, it would be expected to support the patch formats and match the formats it supports, but this is not always possible or necessary.">
         <elementTypeSpecifier elementType="FHIR.MimeType" xsi:type="ListTypeSpecifier"/>
         <binding name="MimeType" description="The mime type of an attachment. Any valid mime type is allowed." strength="Required"/>
      </element>
      <element name="implementationGuide" description="Implementation guides supported" definition="A list of implementation guides that the server does (or should) support in their entirety.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="rest" description="If the endpoint is a RESTful one" definition="A definition of the restful capabilities of the solution, if any." comment="Multiple repetitions allow definition of both client and/or server behaviors or possibly behaviors under different configuration settings (for software or requirements statements).">
         <elementTypeSpecifier elementType="FHIR.CapabilityStatement.Rest" xsi:type="ListTypeSpecifier"/>
         <constraint name="cpb-9" severity="ERROR" message="A given resource can only be described once per RESTful mode.">
            <expression language="text/fhirpath" expression="resource.select(type).isDistinct()"/>
         </constraint>
      </element>
      <element name="messaging" description="If messaging is supported" definition="A description of the messaging capabilities of the solution." comment="Multiple repetitions allow the documentation of multiple endpoints per solution.">
         <elementTypeSpecifier elementType="FHIR.CapabilityStatement.Messaging" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="document" description="Document definition" definition="A document definition.">
         <elementTypeSpecifier elementType="FHIR.CapabilityStatement.Document" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="fhirversion" path="version" type="System.Code"/>
      <search name="resource" path="rest.resource.type" type="System.Code"/>
      <search name="software" path="software.name" type="System.String"/>
      <search name="url" path="url" type="System.String"/>
      <search name="supported-profile" path="rest.resource.supportedProfile" type="FHIR.StructureDefinition"/>
      <search name="format" path="format" type="System.Code"/>
      <search name="guide" path="implementationGuide" type="FHIR.ImplementationGuide"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="security-service" path="rest.security.service" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="mode" path="rest.mode" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="resource-profile" path="rest.resource.profile" type="FHIR.StructureDefinition"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Document" retrievable="false" xsi:type="ClassInfo">
      <element name="mode" elementType="FHIR.DocumentMode" description="producer | consumer" definition="Mode of this document declaration - whether an application is a producer or consumer.">
         <binding name="DocumentMode" description="Whether the application produces or consumes documents." strength="Required"/>
      </element>
      <element name="documentation" elementType="FHIR.markdown" description="Description of document support" definition="A description of how the application supports or uses the specified document profile.  For example, when documents are created, what action is taken with consumed documents, etc."/>
      <element name="profile" elementType="FHIR.canonical" description="Constraint on the resources used in the document" definition="A profile on the document Bundle that constrains which resources are present, and their contents." comment="The profile is actually on the Bundle."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Implementation" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Describes this specific instance" definition="Information about the specific installation that this capability statement relates to."/>
      <element name="url" elementType="FHIR.url" description="Base URL for the installation" definition="An absolute base URL for the implementation.  This forms the base for REST interfaces as well as the mailbox and document interfaces."/>
      <element name="custodian" elementType="FHIR.Reference" description="Organization that manages the data" definition="The organization responsible for the management of the instance and oversight of the data on the server at the specified URL."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Messaging" retrievable="false" xsi:type="ClassInfo">
      <element name="endpoint" description="Where messages should be sent" definition="An endpoint (network accessible address) to which messages and/or replies are to be sent.">
         <elementTypeSpecifier elementType="FHIR.CapabilityStatement.Messaging.Endpoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reliableCache" elementType="FHIR.unsignedInt" description="Reliable Message Cache Length (min)" definition="Length if the receiver's reliable messaging cache in minutes (if a receiver) or how long the cache length on the receiver should be (if a sender)." comment="If this value is missing then the application does not implement (receiver) or depend on (sender) reliable messaging."/>
      <element name="documentation" elementType="FHIR.markdown" description="Messaging interface behavior details" definition="Documentation about the system's messaging capabilities for this endpoint not otherwise documented by the capability statement.  For example, the process for becoming an authorized messaging exchange partner."/>
      <element name="supportedMessage" description="Messages supported by this system" definition="References to message definitions for messages this system can send or receive." comment="This is a proposed alternative to the messaging.event structure.">
         <elementTypeSpecifier elementType="FHIR.CapabilityStatement.Messaging.SupportedMessage" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Messaging.Endpoint" retrievable="false" xsi:type="ClassInfo">
      <element name="protocol" elementType="FHIR.Coding" description="http | ftp | mllp +" definition="A list of the messaging transport protocol(s) identifiers, supported by this endpoint.">
         <binding name="MessageTransport" description="The protocol used for message transport." strength="Extensible"/>
      </element>
      <element name="address" elementType="FHIR.url" description="Network address or identifier of the end-point" definition="The network address of the endpoint. For solutions that do not use network addresses for routing, it can be just an identifier."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Messaging.SupportedMessage" retrievable="false" xsi:type="ClassInfo">
      <element name="mode" elementType="FHIR.EventCapabilityMode" description="sender | receiver" definition="The mode of this event declaration - whether application is sender or receiver.">
         <binding name="EventCapabilityMode" description="The mode of a message capability statement." strength="Required"/>
      </element>
      <element name="definition" elementType="FHIR.canonical" description="Message supported by this system" definition="Points to a message definition that identifies the messaging event, message structure, allowed responses, etc."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Rest" retrievable="false" xsi:type="ClassInfo">
      <element name="mode" elementType="FHIR.RestfulCapabilityMode" description="client | server" definition="Identifies whether this portion of the statement is describing the ability to initiate or receive restful operations.">
         <binding name="RestfulCapabilityMode" description="The mode of a RESTful capability statement." strength="Required"/>
      </element>
      <element name="documentation" elementType="FHIR.markdown" description="General description of implementation" definition="Information about the system's restful capabilities that apply across all applications, such as security."/>
      <element name="security" elementType="FHIR.CapabilityStatement.Rest.Security" description="Information about security of implementation" definition="Information about security implementation from an interface perspective - what a client needs to know."/>
      <element name="resource" description="Resource served on the REST interface" definition="A specification of the restful capabilities of the solution for a specific resource type." comment="Max of one repetition per resource type.">
         <elementTypeSpecifier elementType="FHIR.CapabilityStatement.Rest.Resource" xsi:type="ListTypeSpecifier"/>
         <constraint name="cpb-12" severity="ERROR" message="Search parameter names must be unique in the context of a resource.">
            <expression language="text/fhirpath" expression="searchParam.select(name).isDistinct()"/>
         </constraint>
      </element>
      <element name="interaction" description="What operations are supported?" definition="A specification of restful operations supported by the system.">
         <elementTypeSpecifier elementType="FHIR.CapabilityStatement.Rest.Interaction" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="searchParam" description="Search parameters for searching all resources" definition="Search parameters that are supported for searching all resources for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation." comment="Typically, the only search parameters supported for all searches are those that apply to all resources - tags, profiles, text search etc. These search parameters should include the control search parameters such as _sort, _count, etc. that also apply to this resource (though many will be listed at [CapabilityStatement.rest.searchParam](capabilitystatement-definitions.html#CapabilityStatement.rest.searchParam)). The behavior of some search parameters may be further described by other code or extension elements, or narrative within the capability statement or linked [SearchParameter](searchparameter.html#) definitions.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="CapabilityStatement.Rest.Resource.SearchParam" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="operation" description="Definition of a system level operation" definition="Definition of an operation or a named query together with its parameters and their meaning and type." comment="CapabilityStatement.rest.operation is for operations invoked at the system level, or for operations that are supported across multiple resource types. Operations linked from CapabilityStatement.rest.operation must have OperationDefinition.system = true, or more than one Operation.resource.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="CapabilityStatement.Rest.Resource.Operation" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="compartment" description="Compartments served/used by system" definition="An absolute URI which is a reference to the definition of a compartment that the system supports. The reference is to a CompartmentDefinition resource by its canonical URL ." comment="At present, the only defined compartments are at [CompartmentDefinition](compartmentdefinition.html).">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Rest.Interaction" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.SystemRestfulInteraction" description="transaction | batch | search-system | history-system" definition="A coded identifier of the operation, supported by the system.">
         <binding name="SystemRestfulInteraction" description="Operations supported by REST at the system level." strength="Required"/>
      </element>
      <element name="documentation" elementType="FHIR.markdown" description="Anything special about operation behavior" definition="Guidance specific to the implementation of this operation, such as limitations on the kind of transactions allowed, or information about system wide search is implemented."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Rest.Resource" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.ResourceType" description="A resource type that is supported" definition="A type of resource exposed via the restful interface.">
         <binding name="ResourceType" description="One of the resource types defined as part of this version of FHIR." strength="Required"/>
      </element>
      <element name="profile" elementType="FHIR.canonical" description="Base System profile for all uses of resource" definition="A specification of the profile that describes the solution's overall support for the resource, including any constraints on cardinality, bindings, lengths or other limitations. See further discussion in [Using Profiles](profiling.html#profile-uses)." comment="The profile applies to all  resources of this type - i.e. it is the superset of what is supported by the system."/>
      <element name="supportedProfile" description="Profiles for use cases supported" definition="A list of profiles that represent different use cases supported by the system. For a server, &quot;supported by the system&quot; means the system hosts/produces a set of resources that are conformant to a particular profile, and allows clients that use its services to search using this profile and to find appropriate data. For a client, it means the system will search by this profile and process data according to the guidance implicit in the profile. See further discussion in [Using Profiles](profiling.html#profile-uses)." comment="Supported profiles are different than the profile that applies to a particular resource in .rest.resource.profile. The resource profile is a general statement of what features of the resource are supported overall by the system - the sum total of the facilities it supports. A supported profile is a deeper statement about the functionality of the data and services provided by the server (or used by the client). A typical case is a laboratory system that produces a set of different reports - this is the list of types of data that it publishes. A key aspect of declaring profiles here is the question of how the client converts knowledge that the server publishes this data into working with the data; the client can inspect individual resources to determine whether they conform to a particular profile, but how does it find the ones that do? It does so by searching using the _profile parameter, so any resources listed here must be valid values for the _profile resource (using the identifier in the target profile).">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="documentation" elementType="FHIR.markdown" description="Additional information about the use of the resource type" definition="Additional information about the resource type used by the system."/>
      <element name="interaction" description="What operations are supported?" definition="Identifies a restful operation supported by the solution." comment="In general, a Resource will only appear in a CapabilityStatement if the server actually has some capabilities - e.g. there is at least one interaction supported. However interactions can be omitted to support summarization (_summary = true).">
         <elementTypeSpecifier elementType="FHIR.CapabilityStatement.Rest.Resource.Interaction" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="versioning" elementType="FHIR.ResourceVersionPolicy" description="no-version | versioned | versioned-update" definition="This field is set to no-version to specify that the system does not support (server) or use (client) versioning for this resource type. If this has some other value, the server must at least correctly track and populate the versionId meta-property on resources. If the value is 'versioned-update', then the server supports all the versioning features, including using e-tags for version integrity in the API." comment="If a server supports versionIds correctly, it SHOULD support vread too, but is not required to do so.">
         <binding name="ResourceVersionPolicy" description="How the system supports versioning for a resource." strength="Required"/>
      </element>
      <element name="readHistory" elementType="FHIR.boolean" description="Whether vRead can return past versions" definition="A flag for whether the server is able to return past versions as part of the vRead operation." comment="It is useful to support the vRead operation for current operations, even if past versions aren't available."/>
      <element name="updateCreate" elementType="FHIR.boolean" description="If update can commit to a new identity" definition="A flag to indicate that the server allows or needs to allow the client to create new identities on the server (that is, the client PUTs to a location where there is no existing resource). Allowing this operation means that the server allows the client to create new identities on the server." comment="Allowing the clients to create new identities on the server means that the system administrator needs to have confidence that the clients do not create clashing identities between them. Obviously, if there is only one client, this won't happen. While creating identities on the client means that the clients need to be managed, it's much more convenient for many scenarios if such management can be put in place."/>
      <element name="conditionalCreate" elementType="FHIR.boolean" description="If allows/uses conditional create" definition="A flag that indicates that the server supports conditional create." comment="Conditional Create is mainly appropriate for interface engine scripts converting from other formats, such as v2."/>
      <element name="conditionalRead" elementType="FHIR.ConditionalReadStatus" description="not-supported | modified-since | not-match | full-support" definition="A code that indicates how the server supports conditional read." comment="Conditional Read is mainly appropriate for interface engine scripts converting from other formats, such as v2.">
         <binding name="ConditionalReadStatus" description="A code that indicates how the server supports conditional read." strength="Required"/>
      </element>
      <element name="conditionalUpdate" elementType="FHIR.boolean" description="If allows/uses conditional update" definition="A flag that indicates that the server supports conditional update." comment="Conditional Update is mainly appropriate for interface engine scripts converting from other formats, such as v2."/>
      <element name="conditionalDelete" elementType="FHIR.ConditionalDeleteStatus" description="not-supported | single | multiple - how conditional delete is supported" definition="A code that indicates how the server supports conditional delete." comment="Conditional Delete is mainly appropriate for interface engine scripts converting from other formats, such as v2.">
         <binding name="ConditionalDeleteStatus" description="A code that indicates how the server supports conditional delete." strength="Required"/>
      </element>
      <element name="referencePolicy" description="literal | logical | resolves | enforced | local" definition="A set of flags that defines how references are supported.">
         <elementTypeSpecifier elementType="FHIR.ReferenceHandlingPolicy" xsi:type="ListTypeSpecifier"/>
         <binding name="ReferenceHandlingPolicy" description="A set of flags that defines how references are supported." strength="Required"/>
      </element>
      <element name="searchInclude" description="_include values supported by the server" definition="A list of _include values supported by the server." comment="If this list is empty, the server does not support includes.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="searchRevInclude" description="_revinclude values supported by the server" definition="A list of _revinclude (reverse include) values supported by the server." comment="If this list is empty, the server does not support reverse includes.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="searchParam" description="Search parameters supported by implementation" definition="Search parameters for implementations to support and/or make use of - either references to ones defined in the specification, or additional ones defined for/by the implementation." comment="The search parameters should include the control search parameters such as _sort, _count, etc. that also apply to this resource (though many will be listed at [CapabilityStatement.rest.searchParam](capabilitystatement-definitions.html#CapabilityStatement.rest.searchParam)). The behavior of some search parameters may be further described by other code or extension elements, or narrative within the capability statement or linked [SearchParameter](searchparameter.html#) definitions.">
         <elementTypeSpecifier elementType="FHIR.CapabilityStatement.Rest.Resource.SearchParam" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="operation" description="Definition of a resource operation" definition="Definition of an operation or a named query together with its parameters and their meaning and type. Consult the definition of the operation for details about how to invoke the operation, and the parameters." comment="Operations linked from CapabilityStatement.rest.resource.operation must have OperationDefinition.type = true or OperationDefinition.instance = true.    &#xa;&#xa;If an operation that is listed in multiple CapabilityStatement.rest.resource.operation (e.g. for different resource types), then clients should understand that the operation is only supported on the specified resource types, and that may be a subset of those listed in OperationDefinition.resource.">
         <elementTypeSpecifier elementType="FHIR.CapabilityStatement.Rest.Resource.Operation" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Rest.Resource.Interaction" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.TypeRestfulInteraction" description="read | vread | update | patch | delete | history-instance | history-type | create | search-type" definition="Coded identifier of the operation, supported by the system resource.">
         <binding name="TypeRestfulInteraction" description="Operations supported by REST at the type or instance level." strength="Required"/>
      </element>
      <element name="documentation" elementType="FHIR.markdown" description="Anything special about operation behavior" definition="Guidance specific to the implementation of this operation, such as 'delete is a logical delete' or 'updates are only allowed with version id' or 'creates permitted from pre-authorized certificates only'."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Rest.Resource.Operation" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Name by which the operation/query is invoked" definition="The name of the operation or query. For an operation, this is the name  prefixed with $ and used in the URL. For a query, this is the name used in the _query parameter when the query is called." comment="The name here SHOULD be the same as the name in the definition, unless there is a name clash and the name cannot be used. The name does not include the &quot;$&quot; portion that is always included in the URL."/>
      <element name="definition" elementType="FHIR.canonical" description="The defined operation/query" definition="Where the formal definition can be found. If a server references the base definition of an Operation (i.e. from the specification itself such as ```http://hl7.org/fhir/OperationDefinition/ValueSet-expand```), that means it supports the full capabilities of the operation - e.g. both GET and POST invocation.  If it only supports a subset, it must define its own custom [OperationDefinition](operationdefinition.html#) with a 'base' of the original OperationDefinition.  The custom definition would describe the specific subset of functionality supported." comment="This can be used to build an HTML form to invoke the operation, for instance."/>
      <element name="documentation" elementType="FHIR.markdown" description="Specific details about operation behavior" definition="Documentation that describes anything special about the operation behavior, possibly detailing different behavior for system, type and instance-level invocation of the operation."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Rest.Resource.SearchParam" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Name of search parameter" definition="The name of the search parameter used in the interface." comment="Parameter names cannot overlap with standard parameter names, and standard parameters cannot be redefined."/>
      <element name="definition" elementType="FHIR.canonical" description="Source of definition for parameter" definition="An absolute URI that is a formal reference to where this parameter was first defined, so that a client can be confident of the meaning of the search parameter (a reference to [SearchParameter.url](searchparameter-definitions.html#SearchParameter.url)). This element SHALL be populated if the search parameter refers to a SearchParameter defined by the FHIR core specification or externally defined IGs." comment="This SHOULD be present, and matches refers to a SearchParameter by its canonical URL. If systems wish to document their support for modifiers, comparators, target resource types, and chained parameters, they should do using a search parameter resource. This element SHALL be populated if the search parameter refers to a SearchParameter defined by the FHIR core specification or externally defined IGs."/>
      <element name="type" elementType="FHIR.SearchParamType" description="number | date | string | token | reference | composite | quantity | uri | special" definition="The type of value a search parameter refers to, and how the content is interpreted." comment="While this can be looked up from the definition, it is included here as a convenience for systems that autogenerate a query interface based on the server capability statement.  It SHALL be the same as the type in the search parameter definition.">
         <binding name="SearchParamType" description="Data types allowed to be used for search parameters." strength="Required"/>
      </element>
      <element name="documentation" elementType="FHIR.markdown" description="Server-specific usage" definition="This allows documentation of any distinct behaviors about how the search parameter is used.  For example, text matching algorithms."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Rest.Security" retrievable="false" xsi:type="ClassInfo">
      <element name="cors" elementType="FHIR.boolean" description="Adds CORS Headers (http://enable-cors.org/)" definition="Server adds CORS headers when responding to requests - this enables Javascript applications to use the server." comment="The easiest CORS headers to add are Access-Control-Allow-Origin: * &amp; Access-Control-Request-Method: GET, POST, PUT, DELETE. All servers SHOULD support CORS."/>
      <element name="service" description="OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates" definition="Types of security services that are supported/required by the system.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="RestfulSecurityService" description="Types of security services used with FHIR." strength="Extensible"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="General description of how security works" definition="General description of how security works."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CapabilityStatement.Software" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="A name the software is known by" definition="Name the software is known by."/>
      <element name="version" elementType="FHIR.string" description="Version covered by this statement" definition="The version identifier for the software covered by this statement." comment="If possible, a version should be specified, as statements are likely to be different for different versions of software."/>
      <element name="releaseDate" elementType="FHIR.dateTime" description="Date this version was released" definition="Date this version of the software was released."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CapabilityStatementKind" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="CarePlan" identifier="http://hl7.org/fhir/StructureDefinition/CarePlan" label="CarePlan" retrievable="true" primaryCodePath="category" xsi:type="ClassInfo">
      <element name="identifier" description="External Ids for this plan" definition="Business identifiers assigned to this care plan by the performer or other systems which remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesCanonical" description="Instantiates FHIR protocol or definition" definition="The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesUri" description="Instantiates external protocol or definition" definition="The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan." comment="This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="Fulfills CarePlan" definition="A care plan that is fulfilled in whole or in part by this care plan.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="replaces" description="CarePlan replaced by this CarePlan" definition="Completed or terminated care plan whose function is taken by this new care plan." comment="The replacement could be because the initial care plan was immediately rejected (due to an issue) or because the previous care plan was completed, but the need for the action described by the care plan remains ongoing.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" description="Part of referenced CarePlan" definition="A larger care plan of which this particular care plan is a component or step." comment="Each care plan is an independent request, such that having a care plan be part of another care plan can cause issues with cascading statuses.  As such, this element is still being discussed.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.CarePlanStatus" description="draft | active | on-hold | revoked | completed | entered-in-error | unknown" definition="Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record." comment="The unknown code is not to be used to convey other statuses.  The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the care plan.&#xa;&#xa;This element is labeled as a modifier because the status contains the code entered-in-error that marks the plan as not currently valid.">
         <binding name="CarePlanStatus" description="Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record." strength="Required"/>
      </element>
      <element name="intent" elementType="FHIR.CarePlanIntent" description="proposal | plan | order | option" definition="Indicates the level of authority/intentionality associated with the care plan and where the care plan fits into the workflow chain." comment="This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.">
         <binding name="CarePlanIntent" description="Codes indicating the degree of authority/intentionality associated with a care plan." strength="Required"/>
      </element>
      <element name="category" description="Type of plan" definition="Identifies what &quot;kind&quot; of plan this is to support differentiation between multiple co-existing plans; e.g. &quot;Home health&quot;, &quot;psychiatric&quot;, &quot;asthma&quot;, &quot;disease management&quot;, &quot;wellness plan&quot;, etc." comment="There may be multiple axes of categorization and one plan may serve multiple purposes.  In some cases, this may be redundant with references to CarePlan.concern.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CarePlanCategory" description="Identifies what &quot;kind&quot; of plan this is to support differentiation between multiple co-existing plans; e.g. &quot;Home health&quot;, &quot;psychiatric&quot;, &quot;asthma&quot;, &quot;disease management&quot;, etc." strength="Example"/>
      </element>
      <element name="title" elementType="FHIR.string" description="Human-friendly name for the care plan" definition="Human-friendly name for the care plan."/>
      <element name="description" elementType="FHIR.string" description="Summary of nature of plan" definition="A description of the scope and nature of the plan."/>
      <element name="subject" elementType="FHIR.Reference" description="Who the care plan is for" definition="Identifies the patient or group whose intended care is described by the plan."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter created as part of" definition="The Encounter during which this CarePlan was created or to which the creation of this record is tightly associated." comment="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. CarePlan activities conducted as a result of the care plan may well occur as part of other encounters."/>
      <element name="period" elementType="FHIR.Period" description="Time period plan covers" definition="Indicates when the plan did (or is intended to) come into effect and end." comment="Any activities scheduled as part of the plan should be constrained to the specified period regardless of whether the activities are planned within a single encounter/episode or across multiple encounters/episodes (e.g. the longitudinal management of a chronic condition)."/>
      <element name="created" elementType="FHIR.dateTime" description="Date record was first recorded" definition="Represents when this particular CarePlan record was created in the system, which is often a system-generated date."/>
      <element name="author" elementType="FHIR.Reference" description="Who is the designated responsible party" definition="When populated, the author is responsible for the care plan.  The care plan is attributed to the author." comment="The author may also be a contributor.  For example, an organization can be an author, but not listed as a contributor."/>
      <element name="contributor" description="Who provided the content of the care plan" definition="Identifies the individual(s) or organization who provided the contents of the care plan." comment="Collaborative care plans may have multiple contributors.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="careTeam" description="Who's involved in plan?" definition="Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="addresses" description="Health issues this plan addresses" definition="Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan." comment="When the diagnosis is related to an allergy or intolerance, the Condition and AllergyIntolerance resources can both be used. However, to be actionable for decision support, using Condition alone is not sufficient as the allergy or intolerance condition needs to be represented as an AllergyIntolerance.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="supportingInfo" description="Information considered as part of plan" definition="Identifies portions of the patient's record that specifically influenced the formation of the plan.  These might include comorbidities, recent procedures, limitations, recent assessments, etc." comment="Use &quot;concern&quot; to identify specific conditions addressed by the care plan.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="goal" description="Desired outcome of plan" definition="Describes the intended objective(s) of carrying out the care plan." comment="Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="activity" description="Action to occur as part of plan" definition="Identifies a planned action to occur as part of the plan.  For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.">
         <elementTypeSpecifier elementType="FHIR.CarePlan.Activity" xsi:type="ListTypeSpecifier"/>
         <constraint name="cpl-3" severity="ERROR" message="Provide a reference or detail, not both">
            <expression language="text/fhirpath" expression="detail.empty() or reference.empty()"/>
         </constraint>
      </element>
      <element name="note" description="Comments about the plan" definition="General notes about the care plan not covered elsewhere.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="performer"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Patient" relatedKeyElement="performer"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="performer"/>
      <search name="intent" path="intent" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="performer" path="activity.detail.performer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="goal" path="goal" type="FHIR.Goal"/>
      <search name="based-on" path="basedOn" type="FHIR.CarePlan"/>
      <search name="care-team" path="careTeam" type="FHIR.CareTeam"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="date" path="period" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="instantiates-canonical" path="instantiatesCanonical">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="condition" path="addresses" type="FHIR.Condition"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="activity-date" path="activity.detail.scheduled" type="System.DateTime"/>
      <search name="encounter" path="encounter" type="FHIR.Encounter"/>
      <search name="activity-code" path="activity.detail.code" type="System.Code"/>
      <search name="part-of" path="partOf" type="FHIR.CarePlan"/>
      <search name="activity-reference" path="activity.reference">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="instantiates-uri" path="instantiatesUri" type="System.String"/>
      <search name="replaces" path="replaces" type="FHIR.CarePlan"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CarePlan.Activity" retrievable="false" xsi:type="ClassInfo">
      <element name="outcomeCodeableConcept" description="Results of the activity" definition="Identifies the outcome at the point when the status of the activity is assessed.  For example, the outcome of an education activity could be patient understands (or not)." comment="Note that this should not duplicate the activity status (e.g. completed or in progress).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CarePlanActivityOutcome" description="Identifies the results of the activity." strength="Example"/>
      </element>
      <element name="outcomeReference" description="Appointment, Encounter, Procedure, etc." definition="Details of the outcome or action resulting from the activity.  The reference to an &quot;event&quot; resource, such as Procedure or Encounter or Observation, is the result/outcome of the activity itself.  The activity can be conveyed using CarePlan.activity.detail OR using the CarePlan.activity.reference (a reference to a “request” resource)." comment="The activity outcome is independent of the outcome of the related goal(s).  For example, if the goal is to achieve a target body weight of 150 lbs and an activity is defined to diet, then the activity outcome could be calories consumed whereas the goal outcome is an observation for the actual body weight measured.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="progress" description="Comments about the activity status/progress" definition="Notes about the adherence/status/progress of the activity." comment="This element should NOT be used to describe the activity to be performed - that occurs either within the resource pointed to by activity.detail.reference or in activity.detail.description.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reference" elementType="FHIR.Reference" description="Activity details defined in specific resource" definition="The details of the proposed activity represented in a specific resource." comment="Standard extension exists ([resource-pertainsToGoal](extension-resource-pertainstogoal.html)) that allows goals to be referenced from any of the referenced resources in CarePlan.activity.reference.  &#xd;The goal should be visible when the resource referenced by CarePlan.activity.reference is viewed independently from the CarePlan.  Requests that are pointed to by a CarePlan using this element should *not* point to this CarePlan using the &quot;basedOn&quot; element.  i.e. Requests that are part of a CarePlan are not &quot;based on&quot; the CarePlan."/>
      <element name="detail" elementType="FHIR.CarePlan.Activity.Detail" description="In-line definition of activity" definition="A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CarePlan.Activity.Detail" retrievable="false" xsi:type="ClassInfo">
      <element name="kind" elementType="FHIR.CarePlanActivityKind" description="Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription" definition="A description of the kind of resource the in-line definition of a care plan activity is representing.  The CarePlan.activity.detail is an in-line definition when a resource is not referenced using CarePlan.activity.reference.  For example, a MedicationRequest, a ServiceRequest, or a CommunicationRequest.">
         <binding name="CarePlanActivityKind" description="Resource types defined as part of FHIR that can be represented as in-line definitions of a care plan activity." strength="Required"/>
      </element>
      <element name="instantiatesCanonical" description="Instantiates FHIR protocol or definition" definition="The URL pointing to a FHIR-defined protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesUri" description="Instantiates external protocol or definition" definition="The URL pointing to an externally maintained protocol, guideline, questionnaire or other definition that is adhered to in whole or in part by this CarePlan activity." comment="This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Detail type of activity" definition="Detailed description of the type of planned activity; e.g. what lab test, what procedure, what kind of encounter." comment="Tends to be less relevant for activities involving particular products.  Codes should not convey negation - use &quot;prohibited&quot; instead.">
         <binding name="CarePlanActivityType" description="Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter." strength="Example"/>
      </element>
      <element name="reasonCode" description="Why activity should be done or why activity was prohibited" definition="Provides the rationale that drove the inclusion of this particular activity as part of the plan or the reason why the activity was prohibited." comment="This could be a diagnosis code.  If a full condition record exists or additional detail is needed, use reasonCondition instead.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CarePlanActivityReason" description="Identifies why a care plan activity is needed.  Can include any health condition codes as well as such concepts as &quot;general wellness&quot;, prophylaxis, surgical preparation, etc." strength="Example"/>
      </element>
      <element name="reasonReference" description="Why activity is needed" definition="Indicates another resource, such as the health condition(s), whose existence justifies this request and drove the inclusion of this particular activity as part of the plan." comment="Conditions can be identified at the activity level that are not identified as reasons for the overall plan.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="goal" description="Goals this activity relates to" definition="Internal reference that identifies the goals that this activity is intended to contribute towards meeting.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.CarePlanActivityStatus" description="not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error" definition="Identifies what progress is being made for the specific activity." comment="Some aspects of status can be inferred based on the resources linked in actionTaken.  Note that &quot;status&quot; is only as current as the plan was most recently updated.  &#xa;The unknown code is not to be used to convey other statuses.  The unknown code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the activity.">
         <binding name="CarePlanActivityStatus" description="Codes that reflect the current state of a care plan activity within its overall life cycle." strength="Required"/>
      </element>
      <element name="statusReason" elementType="FHIR.CodeableConcept" description="Reason for current status" definition="Provides reason why the activity isn't yet started, is on hold, was cancelled, etc." comment="Will generally not be present if status is &quot;complete&quot;.  Be sure to prompt to update this (or at least remove the existing value) if the status is changed."/>
      <element name="doNotPerform" elementType="FHIR.boolean" description="If true, activity is prohibiting action" definition="If true, indicates that the described activity is one that must NOT be engaged in when following the plan.  If false, or missing, indicates that the described activity is one that should be engaged in when following the plan." comment="This element is labeled as a modifier because it marks an activity as an activity that is not to be performed."/>
      <element name="scheduled" description="When activity is to occur" definition="The period, timing or frequency upon which the described activity is to occur.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="location" elementType="FHIR.Reference" description="Where it should happen" definition="Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc." comment="May reference a specific clinical location or may identify a type of location."/>
      <element name="performer" description="Who will be responsible?" definition="Identifies who's expected to be involved in the activity." comment="A performer MAY also be a participant in the care plan.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="product" description="What is to be administered/supplied" definition="Identifies the food, drug or other product to be consumed or supplied in the activity.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="CarePlanProduct" description="A product supplied or administered as part of a care plan activity." strength="Example"/>
      </element>
      <element name="dailyAmount" elementType="FHIR.SimpleQuantity" description="How to consume/day?" definition="Identifies the quantity expected to be consumed in a given day."/>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="How much to administer/supply/consume" definition="Identifies the quantity expected to be supplied, administered or consumed by the subject."/>
      <element name="description" elementType="FHIR.string" description="Extra info describing activity to perform" definition="This provides a textual description of constraints on the intended activity occurrence, including relation to other activities.  It may also include objectives, pre-conditions and end-conditions.  Finally, it may convey specifics about the activity such as body site, method, route, etc."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CarePlanActivityKind" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CarePlanActivityStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CarePlanIntent" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CarePlanStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="CareTeam" identifier="http://hl7.org/fhir/StructureDefinition/CareTeam" label="CareTeam" retrievable="true" primaryCodePath="category" xsi:type="ClassInfo">
      <element name="identifier" description="External Ids for this team" definition="Business identifiers assigned to this care team by the performer or other systems which remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.CareTeamStatus" description="proposed | active | suspended | inactive | entered-in-error" definition="Indicates the current state of the care team." comment="This element is labeled as a modifier because the status contains the code entered-in-error that marks the care team as not currently valid.">
         <binding name="CareTeamStatus" description="Indicates the status of the care team." strength="Required"/>
      </element>
      <element name="category" description="Type of team" definition="Identifies what kind of team.  This is to support differentiation between multiple co-existing teams, such as care plan team, episode of care team, longitudinal care team." comment="There may be multiple axis of categorization and one team may serve multiple purposes.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CareTeamCategory" description="Indicates the type of care team." strength="Example"/>
      </element>
      <element name="name" elementType="FHIR.string" description="Name of the team, such as crisis assessment team" definition="A label for human use intended to distinguish like teams.  E.g. the &quot;red&quot; vs. &quot;green&quot; trauma teams." comment="The meaning/purpose of the team is conveyed in CareTeam.category.  This element may also convey semantics of the team (e.g. &quot;Red trauma team&quot;), but its primary purpose is to distinguish between identical teams in a human-friendly way.  (&quot;Team 18735&quot; isn't as friendly.)."/>
      <element name="subject" elementType="FHIR.Reference" description="Who care team is for" definition="Identifies the patient or group whose intended care is handled by the team."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter created as part of" definition="The Encounter during which this CareTeam was created or to which the creation of this record is tightly associated." comment="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter."/>
      <element name="period" elementType="FHIR.Period" description="Time period team covers" definition="Indicates when the team did (or is intended to) come into effect and end."/>
      <element name="participant" description="Members of the team" definition="Identifies all people and organizations who are expected to be involved in the care team.">
         <elementTypeSpecifier elementType="FHIR.CareTeam.Participant" xsi:type="ListTypeSpecifier"/>
         <constraint name="ctm-1" severity="ERROR" message="CareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner">
            <expression language="text/fhirpath" expression="onBehalfOf.exists() implies (member.resolve().iif(empty(), true, ofType(Practitioner).exists()))"/>
         </constraint>
      </element>
      <element name="reasonCode" description="Why the care team exists" definition="Describes why the care team exists.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CareTeamReason" description="Indicates the reason for the care team." strength="Example"/>
      </element>
      <element name="reasonReference" description="Why the care team exists" definition="Condition(s) that this care team addresses.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="managingOrganization" description="Organization responsible for the care team" definition="The organization responsible for the care team.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="telecom" description="A contact detail for the care team (that applies to all members)" definition="A central contact detail for the care team (that applies to all members)." comment="The ContactPoint.use code of home is not appropriate to use. These contacts are not the contact details of individual care team members.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Comments made about the CareTeam" definition="Comments made about the CareTeam.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="member"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Patient" relatedKeyElement="member"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="member"/>
      <search name="date" path="period" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="participant" path="participant.member">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="encounter" path="encounter" type="FHIR.Encounter"/>
      <search name="category" path="category" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CareTeam.Participant" retrievable="false" xsi:type="ClassInfo">
      <element name="role" description="Type of involvement" definition="Indicates specific responsibility of an individual within the care team, such as &quot;Primary care physician&quot;, &quot;Trained social worker counselor&quot;, &quot;Caregiver&quot;, etc." comment="Roles may sometimes be inferred by type of Practitioner.  These are relationships that hold only within the context of the care team.  General relationships should be handled as properties of the Patient resource directly.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CareTeamParticipantRole" description="Indicates specific responsibility of an individual within the care team, such as &quot;Primary physician&quot;, &quot;Team coordinator&quot;, &quot;Caregiver&quot;, etc." strength="Example"/>
      </element>
      <element name="member" elementType="FHIR.Reference" description="Who is involved" definition="The specific person or organization who is participating/expected to participate in the care team." comment="Patient only needs to be listed if they have a role other than &quot;subject of care&quot;.&#xa;&#xa;Member is optional because some participants may be known only by their role, particularly in draft plans."/>
      <element name="onBehalfOf" elementType="FHIR.Reference" description="Organization of the practitioner" definition="The organization of the practitioner."/>
      <element name="period" elementType="FHIR.Period" description="Time period of participant" definition="Indicates when the specific member or organization did (or is intended to) come into effect and end."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CareTeamStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="CatalogEntry" identifier="http://hl7.org/fhir/StructureDefinition/CatalogEntry" label="CatalogEntry" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Unique identifier of the catalog item" definition="Used in supporting different identifiers for the same product, e.g. manufacturer code and retailer code.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="The type of item - medication, device, service, protocol or other" definition="The type of item - medication, device, service, protocol or other."/>
      <element name="orderable" elementType="FHIR.boolean" description="Whether the entry represents an orderable item" definition="Whether the entry represents an orderable item."/>
      <element name="referencedItem" elementType="FHIR.Reference" description="The item that is being defined" definition="The item in a catalog or definition."/>
      <element name="additionalIdentifier" description="Any additional identifier(s) for the catalog item, in the same granularity or concept" definition="Used in supporting related concepts, e.g. NDC to RxNorm.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="classification" description="Classification (category or class) of the item entry" definition="Classes of devices, or ATC for medication.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="Used to support catalog exchange even for unsupported products, e.g. getting list of medications even if not prescribable.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="validityPeriod" elementType="FHIR.Period" description="The time period in which this catalog entry is expected to be active" definition="The time period in which this catalog entry is expected to be active."/>
      <element name="validTo" elementType="FHIR.dateTime" description="The date until which this catalog entry is expected to be active" definition="The date until which this catalog entry is expected to be active."/>
      <element name="lastUpdated" elementType="FHIR.dateTime" description="When was this catalog last updated" definition="Typically date of issue is different from the beginning of the validity. This can be used to see when an item was last updated." comment="Perhaps not needed - if we use fhir resource metadata."/>
      <element name="additionalCharacteristic" description="Additional characteristics of the catalog entry" definition="Used for examplefor Out of Formulary, or any specifics.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="additionalClassification" description="Additional classification of the catalog entry" definition="User for example for ATC classification, or.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedEntry" description="An item that this catalog entry is related to" definition="Used for example, to point to a substance, or to a device used to administer a medication.">
         <elementTypeSpecifier elementType="FHIR.CatalogEntry.RelatedEntry" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CatalogEntry.RelatedEntry" retrievable="false" xsi:type="ClassInfo">
      <element name="relationtype" elementType="FHIR.CatalogEntryRelationType" description="triggers | is-replaced-by" definition="The type of relation to the related item: child, parent, packageContent, containerPackage, usedIn, uses, requires, etc.">
         <binding name="CatalogEntryRelationType" description="The type of relations between entries." strength="Required"/>
      </element>
      <element name="item" elementType="FHIR.Reference" description="The reference to the related item" definition="The reference to the related item."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CatalogEntryRelationType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ChargeItem" identifier="http://hl7.org/fhir/StructureDefinition/ChargeItem" label="ChargeItem" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for item" definition="Identifiers assigned to this event performer or other systems.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="definitionUri" description="Defining information about the code of this charge item" definition="References the (external) source of pricing information, rules of application for the code this ChargeItem uses.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="definitionCanonical" description="Resource defining the code of this ChargeItem" definition="References the source of pricing information, rules of application for the code this ChargeItem uses.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ChargeItemStatus" description="planned | billable | not-billable | aborted | billed | entered-in-error | unknown" definition="The current state of the ChargeItem." comment="Unknown does not represent &quot;other&quot; - one of the defined statuses must apply.  Unknown is used when the authoring system is not sure what the current status is.&#xa;&#xa;This element is labeled as a modifier because the status contains the code entered-in-error that marks the charge item as not currently valid.">
         <binding name="ChargeItemStatus" description="Codes identifying the lifecycle stage of a ChargeItem." strength="Required"/>
      </element>
      <element name="partOf" description="Part of referenced ChargeItem" definition="ChargeItems can be grouped to larger ChargeItems covering the whole set.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="A code that identifies the charge, like a billing code" definition="A code that identifies the charge, like a billing code.">
         <binding name="ChargeItemCode" description="Example set of codes that can be used for billing purposes." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Individual service was done for/to" definition="The individual or set of individuals the action is being or was performed on."/>
      <element name="context" elementType="FHIR.Reference" description="Encounter / Episode associated with event" definition="The encounter or episode of care that establishes the context for this event."/>
      <element name="occurrence" description="When the charged service was applied" definition="Date/time(s) or duration when the charged service was applied." comment="The list of types may be constrained as appropriate for the type of charge item.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="performer" description="Who performed charged service" definition="Indicates who or what performed or participated in the charged service.">
         <elementTypeSpecifier elementType="FHIR.ChargeItem.Performer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="performingOrganization" elementType="FHIR.Reference" description="Organization providing the charged service" definition="The organization requesting the service." comment="Practitioners and Devices can be associated with multiple organizations. It has to be made clear, on behalf of which Organization the services have been rendered."/>
      <element name="requestingOrganization" elementType="FHIR.Reference" description="Organization requesting the charged service" definition="The organization performing the service." comment="The rendered Service might not be associated with a Request. This property indicates which Organization requested the services to be rendered. (In many cases, this may just be the Department associated with the Encounter.location)."/>
      <element name="costCenter" elementType="FHIR.Reference" description="Organization that has ownership of the (potential, future) revenue" definition="The financial cost center permits the tracking of charge attribution." comment="The costCenter could either be given as a reference to an Organization(Role) resource or as the identifier of the cost center determined by Reference.identifier.value and Reference.identifier.system, depending on use case requirements."/>
      <element name="quantity" elementType="FHIR.Quantity" description="Quantity of which the charge item has been serviced" definition="Quantity of which the charge item has been serviced." comment="In many cases this may just be a value, if the underlying units are implicit in the definition of the charge item code."/>
      <element name="bodysite" description="Anatomical location, if relevant" definition="The anatomical location where the related service has been applied." comment="Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](extension-bodysite.html).  May be a summary code, or a reference to a very precise definition of the location, or both.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="BodySite" description="Codes describing anatomical locations. May include laterality." strength="Example"/>
      </element>
      <element name="factorOverride" elementType="FHIR.decimal" description="Factor overriding the associated rules" definition="Factor overriding the factor determined by the rules associated with the code." comment="There is no reason to carry the factor in the instance of a ChargeItem unless special circumstances require a manual override. The factors are usually defined by a set of rules in a back catalogue of the billing codes  (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden."/>
      <element name="priceOverride" elementType="FHIR.Money" description="Price overriding the associated rules" definition="Total price of the charge overriding the list price associated with the code." comment="There is no reason to carry the price in the instance of a ChargeItem unless circumstances require a manual override. The list prices or are usually defined in a back catalogue of the billing codes  (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden."/>
      <element name="overrideReason" elementType="FHIR.string" description="Reason for overriding the list price/factor" definition="If the list price or the rule-based factor associated with the code is overridden, this attribute can capture a text to indicate the  reason for this action." comment="Derived Profiles may choose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled."/>
      <element name="enterer" elementType="FHIR.Reference" description="Individual who was entering" definition="The device, practitioner, etc. who entered the charge item." comment="The enterer is also the person considered responsible for factor/price overrides if applicable."/>
      <element name="enteredDate" elementType="FHIR.dateTime" description="Date the charge item was entered" definition="Date the charge item was entered." comment="The actual date when the service associated with the charge has been rendered is captured in occurrence[x]."/>
      <element name="reason" description="Why was the charged  service rendered?" definition="Describes why the event occurred in coded or textual form." comment="If the application of the charge item requires a reason to be given, it can be captured here. Textual reasons can be captured using reasonCode.text.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ChargeItemReason" description="Example binding for reason." strength="Example"/>
      </element>
      <element name="service" description="Which rendered service is being charged?" definition="Indicated the rendered service that caused this charge.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="product" description="Product charged" definition="Identifies the device, food, drug or other product being charged either by type code or reference to an instance.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ChargeItemProduct" description="Example binding for product type." strength="Example"/>
      </element>
      <element name="account" description="Account to place this charge" definition="Account into which this ChargeItems belongs." comment="Systems posting the ChargeItems might not always be able to determine, which accounts the Items need to be places into. It is up to the postprocessing Financial System to apply internal rules to decide based on the Encounter/EpisodeOfCare/Patient/Coverage context and the type of ChargeItem, which Account is appropriate.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Comments made about the ChargeItem" definition="Comments made about the event by the performer, subject or other participants.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="supportingInformation" description="Further information supporting this charge" definition="Further information supporting this charge.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="enterer"/>
      <contextRelationship context="Practitioner" relatedKeyElement="actor"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Encounter" relatedKeyElement="context"/>
      <contextRelationship context="Device" relatedKeyElement="enterer"/>
      <contextRelationship context="Device" relatedKeyElement="actor"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="enterer"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="actor"/>
      <search name="factor-override" path="factorOverride" type="System.Decimal"/>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="quantity" path="quantity" type="System.Quantity"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="requesting-organization" path="requestingOrganization" type="FHIR.Organization"/>
      <search name="performer-function" path="performer.function" type="System.Code"/>
      <search name="enterer" path="enterer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="performing-organization" path="performingOrganization" type="FHIR.Organization"/>
      <search name="performer-actor" path="performer.actor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="entered-date" path="enteredDate" type="System.DateTime"/>
      <search name="price-override" path="priceOverride" type="System.Quantity"/>
      <search name="context" path="context">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="account" path="account" type="FHIR.Account"/>
      <search name="code" path="code" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="occurrence" path="occurrence" type="System.DateTime"/>
      <search name="service" path="service">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ChargeItem.Performer" retrievable="false" xsi:type="ClassInfo">
      <element name="function" elementType="FHIR.CodeableConcept" description="What type of performance was done" definition="Describes the type of performance or participation(e.g. primary surgeon, anesthesiologiest, etc.).">
         <binding name="ChargeItemPerformerFunction" description="Codes describing the types of functional roles performers can take on when performing events." strength="Example"/>
      </element>
      <element name="actor" elementType="FHIR.Reference" description="Individual who was performing" definition="The device, practitioner, etc. who performed or participated in the service."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ChargeItemDefinition" identifier="http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition" label="ChargeItemDefinition" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this charge item definition, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this charge item definition 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 charge item definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the charge item definition 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the charge item definition" definition="A formal identifier that is used to identify this charge item definition when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this charge item definition outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the charge item definition" definition="The identifier that is used to identify this version of the charge item definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the charge item definition 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. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active assets." comment="There may be different charge item definition 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 charge item definition with the format [url]|[version]."/>
      <element name="title" elementType="FHIR.string" description="Name for this charge item definition (human friendly)" definition="A short, descriptive, user-friendly title for the charge item definition." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="derivedFromUri" description="Underlying externally-defined charge item definition" definition="The URL pointing to an externally-defined charge item definition that is adhered to in whole or in part by this definition.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" description="A larger definition of which this particular definition is a component or step" definition="A larger definition of which this particular definition is a component or step.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="replaces" description="Completed or terminated request(s) whose function is taken by this new request" definition="As new versions of a protocol or guideline are defined, allows identification of what versions are replaced by a new instance.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The current state of the ChargeItemDefinition." comment="Allows filtering of charge item definitions that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this charge item definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of charge item definitions that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the charge item definition 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 charge item definition 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 charge item definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the charge item definition." comment="Usually an organization but may be an individual. The publisher (or steward) of the charge item definition is the organization or individual primarily responsible for the maintenance and upkeep of the charge item definition. 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 charge item definition. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the charge item definition" definition="A free text natural language description of the charge item definition from a consumer's perspective." comment="This description can be used to capture details such as why the charge item definition 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 charge item definition 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 charge item definition is presumed to be the predominant language in the place the charge item definition was created)."/>
      <element name="useContext" description="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 charge item definition instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for charge item definition (if applicable)" definition="A legal or geographic region in which the charge item definition is intended to be used." comment="It may be possible for the charge item definition to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the charge item definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the charge item definition."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the charge item definition was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the charge item definition was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the charge item definition is expected to be used" definition="The period during which the charge item definition content was or is planned to be in active use." comment="The effective period for a charge item definition  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 might be published in 2015."/>
      <element name="code" elementType="FHIR.CodeableConcept" description="Billing codes or product types this definition applies to" definition="The defined billing details in this resource pertain to the given billing code.">
         <binding name="ChargeItemDefinitionCode" description="Billing Code defined by this ChargeItemDefinition." strength="Example"/>
      </element>
      <element name="instance" description="Instances this definition applies to" definition="The defined billing details in this resource pertain to the given product instance(s)." comment="In case of highly customized, individually produced or fitted devices/substances, the pricing information may be different for each instance of the product. This reference links pricing details to specific product instances.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="applicability" description="Whether or not the billing code is applicable" definition="Expressions that describe applicability criteria for the billing code." comment="The applicability conditions can be used to ascertain whether a billing item is allowed in a specific context. E.g. some billing codes may only be applicable in out-patient settings, only to male/female patients or only to children.">
         <elementTypeSpecifier elementType="FHIR.ChargeItemDefinition.Applicability" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="propertyGroup" description="Group of properties which are applicable under the same conditions" definition="Group of properties which are applicable under the same conditions. If no applicability rules are established for the group, then all properties always apply.">
         <elementTypeSpecifier elementType="FHIR.ChargeItemDefinition.PropertyGroup" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="status" path="status" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="version" path="version" type="System.Code"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="description" path="description" type="System.String"/>
      <search name="title" path="title" type="System.String"/>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ChargeItemDefinition.Applicability" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Natural language description of the condition" definition="A brief, natural language description of the condition that effectively communicates the intended semantics."/>
      <element name="language" elementType="FHIR.string" description="Language of the expression" definition="The media type of the language for the expression, e.g. &quot;text/cql&quot; for Clinical Query Language expressions or &quot;text/fhirpath&quot; for FHIRPath expressions."/>
      <element name="expression" elementType="FHIR.string" description="Boolean-valued expression" definition="An expression that returns true or false, indicating whether the condition is satisfied. When using FHIRPath expressions, the %context environment variable must be replaced at runtime with the ChargeItem resource to which this definition is applied." comment="Please note that FHIRPath Expressions can only be evaluated in the scope of the current ChargeItem resource to which this definition is being applied.&#xa;FHIRPath expressions can traverse into other resources linked from the ChargeItem resource, however, testing rules such as that a billing code may be billed only once per encounter need a wider scope. In such scenarios, CQL may be the appropriate choice."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ChargeItemDefinition.PropertyGroup" retrievable="false" xsi:type="ClassInfo">
      <element name="applicability" description="Conditions under which the priceComponent is applicable" definition="Expressions that describe applicability criteria for the priceComponent." comment="The applicability conditions can be used to ascertain whether a billing item is allowed in a specific context. E.g. some billing codes may only be applicable in out-patient settings, only to male/female patients or only to children.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ChargeItemDefinition.Applicability" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="priceComponent" description="Components of total line item price" definition="The price for a ChargeItem may be calculated as a base price with surcharges/deductions that apply in certain conditions. A ChargeItemDefinition resource that defines the prices, factors and conditions that apply to a billing code is currently under development. The priceComponent element can be used to offer transparency to the recipient of the Invoice of how the prices have been calculated.">
         <elementTypeSpecifier elementType="FHIR.ChargeItemDefinition.PropertyGroup.PriceComponent" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ChargeItemDefinition.PropertyGroup.PriceComponent" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.ChargeItemDefinitionPriceComponentType" description="base | surcharge | deduction | discount | tax | informational" definition="This code identifies the type of the component.">
         <binding name="ChargeItemDefinitionPriceComponentType" description="Codes indicating the kind of the price component." strength="Required"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Code identifying the specific component" definition="A code that identifies the component. Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc."/>
      <element name="factor" elementType="FHIR.decimal" description="Factor used for calculating this component" definition="The factor that has been applied on the base price for calculating this component."/>
      <element name="amount" elementType="FHIR.Money" description="Monetary amount associated with this component" definition="The amount calculated for this component."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ChargeItemDefinitionPriceComponentType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ChargeItemStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Claim" identifier="http://hl7.org/fhir/StructureDefinition/Claim" label="Claim" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for claim" definition="A unique identifier assigned to this claim.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ClaimStatus" description="active | cancelled | draft | entered-in-error" definition="The status of the resource instance." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="ClaimStatus" description="A code specifying the state of the resource instance." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Category or discipline" definition="The category of claim, e.g. oral, pharmacy, vision, institutional, professional." comment="The majority of jurisdictions use: oral, pharmacy, vision, professional and institutional, or variants on those terms, as the general styles of claims. The valueset is extensible to accommodate other jurisdictional requirements.">
         <binding name="ClaimType" description="The type or discipline-style of the claim." strength="Extensible"/>
      </element>
      <element name="subType" elementType="FHIR.CodeableConcept" description="More granular claim type" definition="A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service." comment="This may contain the local bill type codes, for example the US UB-04 bill type code or the CMS bill type.">
         <binding name="ClaimSubType" description="A more granular claim typecode." strength="Example"/>
      </element>
      <element name="use" elementType="FHIR.Use" description="claim | preauthorization | predetermination" definition="A code to indicate whether the nature of the request is: to request adjudication of products and services previously rendered; or requesting authorization and adjudication for provision in the future; or requesting the non-binding adjudication of the listed products and services which could be provided in the future.">
         <binding name="Use" description="The purpose of the Claim: predetermination, preauthorization, claim." strength="Required"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="The recipient of the products and services" definition="The party to whom the professional services and/or products have been supplied or are being considered and for whom actual or forecast reimbursement is sought."/>
      <element name="billablePeriod" elementType="FHIR.Period" description="Relevant time frame for the claim" definition="The period for which charges are being submitted." comment="Typically this would be today or in the past for a claim, and today or in the future for preauthorizations and predeterminations. Typically line item dates of service should fall within the billing period if one is specified."/>
      <element name="created" elementType="FHIR.dateTime" description="Resource creation date" definition="The date this resource was created." comment="This field is independent of the date of creation of the resource as it may reflect the creation date of a source document prior to digitization. Typically for claims all services must be completed as of this date."/>
      <element name="enterer" elementType="FHIR.Reference" description="Author of the claim" definition="Individual who created the claim, predetermination or preauthorization."/>
      <element name="insurer" elementType="FHIR.Reference" description="Target" definition="The Insurer who is target of the request."/>
      <element name="provider" elementType="FHIR.Reference" description="Party responsible for the claim" definition="The provider which is responsible for the claim, predetermination or preauthorization." comment="Typically this field would be 1..1 where this party is responsible for the claim but not necessarily professionally responsible for the provision of the individual products and services listed below."/>
      <element name="priority" elementType="FHIR.CodeableConcept" description="Desired processing ugency" definition="The provider-required urgency of processing the request. Typical values include: stat, routine deferred." comment="If a claim processor is unable to complete the processing as per the priority then they should generate and error and not process the request.">
         <binding name="ProcessPriority" description="The timeliness with which processing is required: stat, normal, deferred." strength="Example"/>
      </element>
      <element name="fundsReserve" elementType="FHIR.CodeableConcept" description="For whom to reserve funds" definition="A code to indicate whether and for whom funds are to be reserved for future claims." comment="This field is only used for preauthorizations.">
         <binding name="FundsReserve" description="For whom funds are to be reserved: (Patient, Provider, None)." strength="Example"/>
      </element>
      <element name="related" description="Prior or corollary claims" definition="Other claims which are related to this claim such as prior submissions or claims for related services or for the same event." comment="For example,  for the original treatment and follow-up exams.">
         <elementTypeSpecifier elementType="FHIR.Claim.Related" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="prescription" elementType="FHIR.Reference" description="Prescription authorizing services and products" definition="Prescription to support the dispensing of pharmacy, device or vision products."/>
      <element name="originalPrescription" elementType="FHIR.Reference" description="Original prescription if superseded by fulfiller" definition="Original prescription which has been superseded by this prescription to support the dispensing of pharmacy services, medications or products." comment="For example, a physician may prescribe a medication which the pharmacy determines is contraindicated, or for which the patient has an intolerance, and therefore issues a new prescription for an alternate medication which has the same therapeutic intent. The prescription from the pharmacy becomes the 'prescription' and that from the physician becomes the 'original prescription'."/>
      <element name="payee" elementType="FHIR.Claim.Payee" description="Recipient of benefits payable" definition="The party to be reimbursed for cost of the products and services according to the terms of the policy." comment="Often providers agree to receive the benefits payable to reduce the near-term costs to the patient. The insurer may decline to pay the provider and choose to pay the subscriber instead."/>
      <element name="referral" elementType="FHIR.Reference" description="Treatment referral" definition="A reference to a referral resource." comment="The referral resource which lists the date, practitioner, reason and other supporting information."/>
      <element name="facility" elementType="FHIR.Reference" description="Servicing facility" definition="Facility where the services were provided."/>
      <element name="careTeam" description="Members of the care team" definition="The members of the team who provided the products and services.">
         <elementTypeSpecifier elementType="FHIR.Claim.CareTeam" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="supportingInfo" description="Supporting information" definition="Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues." comment="Often there are multiple jurisdiction specific valuesets which are required.">
         <elementTypeSpecifier elementType="FHIR.Claim.SupportingInfo" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="diagnosis" description="Pertinent diagnosis information" definition="Information about diagnoses relevant to the claim items.">
         <elementTypeSpecifier elementType="FHIR.Claim.Diagnosis" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="procedure" description="Clinical procedures performed" definition="Procedures performed on the patient relevant to the billing items with the claim.">
         <elementTypeSpecifier elementType="FHIR.Claim.Procedure" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="insurance" description="Patient insurance information" definition="Financial instruments for reimbursement for the health care products and services specified on the claim." comment="All insurance coverages for the patient which may be applicable for reimbursement, of the products and services listed in the claim, are typically provided in the claim to allow insurers to confirm the ordering of the insurance coverages relative to local 'coordination of benefit' rules. One coverage (and only one) with 'focal=true' is to be used in the adjudication of this claim. Coverages appearing before the focal Coverage in the list, and where 'Coverage.subrogation=false', should provide a reference to the ClaimResponse containing the adjudication results of the prior claim.">
         <elementTypeSpecifier elementType="FHIR.Claim.Insurance" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="accident" elementType="FHIR.Claim.Accident" description="Details of the event" definition="Details of an accident which resulted in injuries which required the products and services listed in the claim."/>
      <element name="item" description="Product or service provided" definition="A claim line. Either a simple  product or service or a 'group' of details which can each be a simple items or groups of sub-details.">
         <elementTypeSpecifier elementType="FHIR.Claim.Item" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="total" elementType="FHIR.Money" description="Total claim cost" definition="The total value of the all the items in the claim."/>
      <contextRelationship context="Practitioner" relatedKeyElement="enterer"/>
      <contextRelationship context="Practitioner" relatedKeyElement="provider"/>
      <contextRelationship context="Practitioner" relatedKeyElement="party"/>
      <contextRelationship context="Practitioner" relatedKeyElement="provider"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Patient" relatedKeyElement="party"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="udi"/>
      <contextRelationship context="Device" relatedKeyElement="udi"/>
      <contextRelationship context="Device" relatedKeyElement="udi"/>
      <contextRelationship context="Device" relatedKeyElement="udi"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="party"/>
      <search name="enterer" path="enterer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="insurer" path="insurer" type="FHIR.Organization"/>
      <search name="provider" path="provider">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="facility" path="facility" type="FHIR.Location"/>
      <search name="use" path="use" type="System.Code"/>
      <search name="subdetail-udi" path="item.detail.subDetail.udi" type="FHIR.Device"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="priority" path="priority" type="System.Code"/>
      <search name="procedure-udi" path="procedure.udi" type="FHIR.Device"/>
      <search name="payee" path="payee.party">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="detail-udi" path="item.detail.udi" type="FHIR.Device"/>
      <search name="item-udi" path="item.udi" type="FHIR.Device"/>
      <search name="encounter" path="item.encounter" type="FHIR.Encounter"/>
      <search name="patient" path="patient" type="FHIR.Patient"/>
      <search name="care-team" path="careTeam.provider">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="created" path="created" type="System.DateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Claim.Accident" retrievable="false" xsi:type="ClassInfo">
      <element name="date" elementType="FHIR.date" description="When the incident occurred" definition="Date of an accident event  related to the products and services contained in the claim." comment="The date of the accident has to precede the dates of the products and services but within a reasonable timeframe."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="The nature of the accident" definition="The type or context of the accident event for the purposes of selection of potential insurance coverages and determination of coordination between insurers.">
         <binding name="AccidentType" description="Type of accident: work place, auto, etc." strength="Extensible"/>
      </element>
      <element name="location" description="Where the event occurred" definition="The physical location of the accident event.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Claim.CareTeam" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Order of care team" definition="A number to uniquely identify care team entries."/>
      <element name="provider" elementType="FHIR.Reference" description="Practitioner or organization" definition="Member of the team who provided the product or service."/>
      <element name="responsible" elementType="FHIR.boolean" description="Indicator of the lead practitioner" definition="The party who is billing and/or responsible for the claimed products or services." comment="Responsible might not be required when there is only a single provider listed."/>
      <element name="role" elementType="FHIR.CodeableConcept" description="Function within the team" definition="The lead, assisting or supervising practitioner and their discipline if a multidisciplinary team." comment="Role might not be required when there is only a single provider listed.">
         <binding name="CareTeamRole" description="The role codes for the care team members." strength="Example"/>
      </element>
      <element name="qualification" elementType="FHIR.CodeableConcept" description="Practitioner credential or specialization" definition="The qualification of the practitioner which is applicable for this service.">
         <binding name="ProviderQualification" description="Provider professional qualifications." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Claim.Diagnosis" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Diagnosis instance identifier" definition="A number to uniquely identify diagnosis entries." comment="Diagnosis are presented in list order to their expected importance: primary, secondary, etc."/>
      <element name="diagnosis" description="Nature of illness or problem" definition="The nature of illness or problem in a coded form or as a reference to an external defined Condition.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ICD10" description="Example ICD10 Diagnostic codes." strength="Example"/>
      </element>
      <element name="type" description="Timing or nature of the diagnosis" definition="When the condition was observed or the relative ranking." comment="For example: admitting, primary, secondary, discharge.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DiagnosisType" description="The type of the diagnosis: admitting, principal, discharge." strength="Example"/>
      </element>
      <element name="onAdmission" elementType="FHIR.CodeableConcept" description="Present on admission" definition="Indication of whether the diagnosis was present on admission to a facility.">
         <binding name="DiagnosisOnAdmission" description="Present on admission." strength="Example"/>
      </element>
      <element name="packageCode" elementType="FHIR.CodeableConcept" description="Package billing code" definition="A package billing code or bundle code used to group products and services to a particular health condition (such as heart attack) which is based on a predetermined grouping code system." comment="For example DRG (Diagnosis Related Group) or a bundled billing code. A patient may have a diagnosis of a Myocardial Infarction and a DRG for HeartAttack would be assigned. The Claim item (and possible subsequent claims) would refer to the DRG for those line items that were for services related to the heart attack event.">
         <binding name="DiagnosisRelatedGroup" description="The DRG codes associated with the diagnosis." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Claim.Insurance" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Insurance instance identifier" definition="A number to uniquely identify insurance entries and provide a sequence of coverages to convey coordination of benefit order."/>
      <element name="focal" elementType="FHIR.boolean" description="Coverage to be used for adjudication" definition="A flag to indicate that this Coverage is to be used for adjudication of this claim when set to true." comment="A patient may (will) have multiple insurance policies which provide reimbursement for healthcare services and products. For example a person may also be covered by their spouse's policy and both appear in the list (and may be from the same insurer). This flag will be set to true for only one of the listed policies and that policy will be used for adjudicating this claim. Other claims would be created to request adjudication against the other listed policies."/>
      <element name="identifier" elementType="FHIR.Identifier" description="Pre-assigned Claim number" definition="The business identifier to be used when the claim is sent for adjudication against this insurance policy." comment="Only required in jurisdictions where insurers, rather than the provider, are required to send claims to  insurers that appear after them in the list. This element is not required when 'subrogation=true'."/>
      <element name="coverage" elementType="FHIR.Reference" description="Insurance information" definition="Reference to the insurance card level information contained in the Coverage resource. The coverage issuing insurer will use these details to locate the patient's actual coverage within the insurer's information system."/>
      <element name="businessArrangement" elementType="FHIR.string" description="Additional provider contract number" definition="A business agreement number established between the provider and the insurer for special business processing purposes."/>
      <element name="preAuthRef" description="Prior authorization reference number" definition="Reference numbers previously provided by the insurer to the provider to be quoted on subsequent claims containing services or products related to the prior authorization." comment="This value is an alphanumeric string that may be provided over the phone, via text, via paper, or within a ClaimResponse resource and is not a FHIR Identifier.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="claimResponse" elementType="FHIR.Reference" description="Adjudication results" definition="The result of the adjudication of the line items for the Coverage specified in this insurance." comment="Must not be specified when 'focal=true' for this insurance."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Claim.Item" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Item instance identifier" definition="A number to uniquely identify item entries."/>
      <element name="careTeamSequence" description="Applicable careTeam members" definition="CareTeam members related to this service or product.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="diagnosisSequence" description="Applicable diagnoses" definition="Diagnosis applicable for this service or product.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="procedureSequence" description="Applicable procedures" definition="Procedures applicable for this service or product.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="informationSequence" description="Applicable exception and supporting information" definition="Exceptions, special conditions and supporting information applicable for this service or product.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="revenue" elementType="FHIR.CodeableConcept" description="Revenue or cost center code" definition="The type of revenue or cost center providing the product and/or service.">
         <binding name="RevenueCenter" description="Codes for the revenue or cost centers supplying the service and/or products." strength="Example"/>
      </element>
      <element name="category" elementType="FHIR.CodeableConcept" description="Benefit classification" definition="Code to identify the general type of benefits under which products and services are provided." comment="Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.">
         <binding name="BenefitCategory" description="Benefit categories such as: oral-basic, major, glasses." strength="Example"/>
      </element>
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item." comment="If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Product or service billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="programCode" description="Program the product or service is provided under" definition="Identifies the program under which this may be recovered." comment="For example: Neonatal program, child dental program or drug users recovery program.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProgramCode" description="Program specific reason codes." strength="Example"/>
      </element>
      <element name="serviced" description="Date or dates of service or product delivery" definition="The date or dates when the service or product was supplied, performed or completed.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="location" description="Place of service or where product was supplied" definition="Where the product or service was provided.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ServicePlace" description="Place of service: pharmacy, school, prison, etc." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group."/>
      <element name="factor" elementType="FHIR.decimal" description="Price scaling factor" definition="A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." comment="To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)."/>
      <element name="net" elementType="FHIR.Money" description="Total item cost" definition="The quantity times the unit price for an additional service or product or charge." comment="For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied."/>
      <element name="udi" description="Unique device identifier" definition="Unique Device Identifiers associated with this line item.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="bodySite" elementType="FHIR.CodeableConcept" description="Anatomical location" definition="Physical service site on the patient (limb, tooth, etc.)." comment="For example: Providing a tooth code, allows an insurer to identify a provider performing a filling on a tooth that was previously removed.">
         <binding name="OralSites" description="The code for the teeth, quadrant, sextant and arch." strength="Example"/>
      </element>
      <element name="subSite" description="Anatomical sub-location" definition="A region or surface of the bodySite, e.g. limb region or tooth surface(s).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Surface" description="The code for the tooth surface and surface combinations." strength="Example"/>
      </element>
      <element name="encounter" description="Encounters related to this billed item" definition="The Encounters during which this Claim was created or to which the creation of this record is tightly associated." comment="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="detail" description="Product or service provided" definition="A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.">
         <elementTypeSpecifier elementType="FHIR.Claim.Item.Detail" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Claim.Item.Detail" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Item instance identifier" definition="A number to uniquely identify item entries."/>
      <element name="revenue" elementType="FHIR.CodeableConcept" description="Revenue or cost center code" definition="The type of revenue or cost center providing the product and/or service.">
         <binding name="RevenueCenter" description="Codes for the revenue or cost centers supplying the service and/or products." strength="Example"/>
      </element>
      <element name="category" elementType="FHIR.CodeableConcept" description="Benefit classification" definition="Code to identify the general type of benefits under which products and services are provided." comment="Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.">
         <binding name="BenefitCategory" description="Benefit categories such as: oral-basic, major, glasses." strength="Example"/>
      </element>
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item." comment="If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Service/Product billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="programCode" description="Program the product or service is provided under" definition="Identifies the program under which this may be recovered." comment="For example: Neonatal program, child dental program or drug users recovery program.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProgramCode" description="Program specific reason codes." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group."/>
      <element name="factor" elementType="FHIR.decimal" description="Price scaling factor" definition="A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." comment="To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)."/>
      <element name="net" elementType="FHIR.Money" description="Total item cost" definition="The quantity times the unit price for an additional service or product or charge." comment="For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied."/>
      <element name="udi" description="Unique device identifier" definition="Unique Device Identifiers associated with this line item.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subDetail" description="Product or service provided" definition="A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items.">
         <elementTypeSpecifier elementType="FHIR.Claim.Item.Detail.SubDetail" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Claim.Item.Detail.SubDetail" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Item instance identifier" definition="A number to uniquely identify item entries."/>
      <element name="revenue" elementType="FHIR.CodeableConcept" description="Revenue or cost center code" definition="The type of revenue or cost center providing the product and/or service.">
         <binding name="RevenueCenter" description="Codes for the revenue or cost centers supplying the service and/or products." strength="Example"/>
      </element>
      <element name="category" elementType="FHIR.CodeableConcept" description="Benefit classification" definition="Code to identify the general type of benefits under which products and services are provided." comment="Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.">
         <binding name="BenefitCategory" description="Benefit categories such as: oral-basic, major, glasses." strength="Example"/>
      </element>
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item." comment="If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Service/Product billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="programCode" description="Program the product or service is provided under" definition="Identifies the program under which this may be recovered." comment="For example: Neonatal program, child dental program or drug users recovery program.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProgramCode" description="Program specific reason codes." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group."/>
      <element name="factor" elementType="FHIR.decimal" description="Price scaling factor" definition="A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." comment="To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)."/>
      <element name="net" elementType="FHIR.Money" description="Total item cost" definition="The quantity times the unit price for an additional service or product or charge." comment="For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied."/>
      <element name="udi" description="Unique device identifier" definition="Unique Device Identifiers associated with this line item.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Claim.Payee" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Category of recipient" definition="Type of Party to be reimbursed: subscriber, provider, other.">
         <binding name="PayeeType" description="A code for the party to be reimbursed." strength="Example"/>
      </element>
      <element name="party" elementType="FHIR.Reference" description="Recipient reference" definition="Reference to the individual or organization to whom any payment will be made." comment="Not required if the payee is 'subscriber' or 'provider'."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Claim.Procedure" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Procedure instance identifier" definition="A number to uniquely identify procedure entries."/>
      <element name="type" description="Category of Procedure" definition="When the condition was observed or the relative ranking." comment="For example: primary, secondary.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProcedureType" description="Example procedure type codes." strength="Example"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="When the procedure was performed" definition="Date and optionally time the procedure was performed."/>
      <element name="procedure" description="Specific clinical procedure" definition="The code or reference to a Procedure resource which identifies the clinical intervention performed.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ICD10_Procedures" description="Example ICD10 Procedure codes." strength="Example"/>
      </element>
      <element name="udi" description="Unique device identifier" definition="Unique Device Identifiers associated with this line item.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Claim.Related" retrievable="false" xsi:type="ClassInfo">
      <element name="claim" elementType="FHIR.Reference" description="Reference to the related claim" definition="Reference to a related claim."/>
      <element name="relationship" elementType="FHIR.CodeableConcept" description="How the reference claim is related" definition="A code to convey how the claims are related." comment="For example, prior claim or umbrella.">
         <binding name="RelatedClaimRelationship" description="Relationship of this claim to a related Claim." strength="Example"/>
      </element>
      <element name="reference" elementType="FHIR.Identifier" description="File or case reference" definition="An alternate organizational reference to the case or file to which this particular claim pertains." comment="For example, Property/Casualty insurer claim # or Workers Compensation case # ."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Claim.SupportingInfo" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Information instance identifier" definition="A number to uniquely identify supporting information entries."/>
      <element name="category" elementType="FHIR.CodeableConcept" description="Classification of the supplied information" definition="The general class of the information supplied: information; exception; accident, employment; onset, etc." comment="This may contain a category for the local bill type codes.">
         <binding name="InformationCategory" description="The valuset used for additional information category codes." strength="Example"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Type of information" definition="System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought.">
         <binding name="InformationCode" description="The valuset used for additional information codes." strength="Example"/>
      </element>
      <element name="timing" description="When it occurred" definition="The date when or period to which this information refers.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="value" description="Data to be provided" definition="Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data." comment="Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="reason" elementType="FHIR.CodeableConcept" description="Explanation for the information" definition="Provides the reason in the situation where a reason code is required in addition to the content." comment="For example: the reason for the additional stay, or why a tooth is  missing.">
         <binding name="MissingReason" description="Reason codes for the missing teeth." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ClaimResponse" identifier="http://hl7.org/fhir/StructureDefinition/ClaimResponse" label="ClaimResponse" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for a claim response" definition="A unique identifier assigned to this claim response.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ClaimResponseStatus" description="active | cancelled | draft | entered-in-error" definition="The status of the resource instance." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="ClaimResponseStatus" description="A code specifying the state of the resource instance." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="More granular claim type" definition="A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service." comment="This may contain the local bill type codes, for example the US UB-04 bill type code or the CMS bill type.">
         <binding name="ClaimType" description="The type or discipline-style of the claim." strength="Extensible"/>
      </element>
      <element name="subType" elementType="FHIR.CodeableConcept" description="More granular claim type" definition="A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service." comment="This may contain the local bill type codes, for example the US UB-04 bill type code or the CMS bill type.">
         <binding name="ClaimSubType" description="A more granular claim typecode." strength="Example"/>
      </element>
      <element name="use" elementType="FHIR.Use" description="claim | preauthorization | predetermination" definition="A code to indicate whether the nature of the request is: to request adjudication of products and services previously rendered; or requesting authorization and adjudication for provision in the future; or requesting the non-binding adjudication of the listed products and services which could be provided in the future.">
         <binding name="Use" description="Claim, preauthorization, predetermination." strength="Required"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="The recipient of the products and services" definition="The party to whom the professional services and/or products have been supplied or are being considered and for whom actual for facast reimbursement is sought."/>
      <element name="created" elementType="FHIR.dateTime" description="Response creation date" definition="The date this resource was created."/>
      <element name="insurer" elementType="FHIR.Reference" description="Party responsible for reimbursement" definition="The party responsible for authorization, adjudication and reimbursement."/>
      <element name="requestor" elementType="FHIR.Reference" description="Party responsible for the claim" definition="The provider which is responsible for the claim, predetermination or preauthorization." comment="Typically this field would be 1..1 where this party is responsible for the claim but not necessarily professionally responsible for the provision of the individual products and services listed below."/>
      <element name="request" elementType="FHIR.Reference" description="Id of resource triggering adjudication" definition="Original request resource reference."/>
      <element name="outcome" elementType="FHIR.RemittanceOutcome" description="queued | complete | error | partial" definition="The outcome of the claim, predetermination, or preauthorization processing." comment="The resource may be used to indicate that: the request has been held (queued) for processing; that it has been processed and errors found (error); that no errors were found and that some of the adjudication has been undertaken (partial) or that all of the adjudication has been undertaken (complete).">
         <binding name="RemittanceOutcome" description="The result of the claim processing." strength="Required"/>
      </element>
      <element name="disposition" elementType="FHIR.string" description="Disposition Message" definition="A human readable description of the status of the adjudication."/>
      <element name="preAuthRef" elementType="FHIR.string" description="Preauthorization reference" definition="Reference from the Insurer which is used in later communications which refers to this adjudication." comment="This value is only present on preauthorization adjudications."/>
      <element name="preAuthPeriod" elementType="FHIR.Period" description="Preauthorization reference effective period" definition="The time frame during which this authorization is effective."/>
      <element name="payeeType" elementType="FHIR.CodeableConcept" description="Party to be paid any benefits payable" definition="Type of Party to be reimbursed: subscriber, provider, other.">
         <binding name="PayeeType" description="A code for the party to be reimbursed." strength="Example"/>
      </element>
      <element name="item" description="Adjudication for claim line items" definition="A claim line. Either a simple (a product or service) or a 'group' of details which can also be a simple items or groups of sub-details.">
         <elementTypeSpecifier elementType="FHIR.ClaimResponse.Item" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="addItem" description="Insurer added line items" definition="The first-tier service adjudications for payor added product or service lines.">
         <elementTypeSpecifier elementType="FHIR.ClaimResponse.AddItem" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Header-level adjudication" definition="The adjudication results which are presented at the header level rather than at the line-item or add-item levels.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ClaimResponse.Item.Adjudication" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="total" description="Adjudication totals" definition="Categorized monetary totals for the adjudication." comment="Totals for amounts submitted, co-pays, benefits payable etc.">
         <elementTypeSpecifier elementType="FHIR.ClaimResponse.Total" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="payment" elementType="FHIR.ClaimResponse.Payment" description="Payment Details" definition="Payment details for the adjudication of the claim."/>
      <element name="fundsReserve" elementType="FHIR.CodeableConcept" description="Funds reserved status" definition="A code, used only on a response to a preauthorization, to indicate whether the benefits payable have been reserved and for whom." comment="Fund would be release by a future claim quoting the preAuthRef of this response. Examples of values include: provider, patient, none.">
         <binding name="FundsReserve" description="For whom funds are to be reserved: (Patient, Provider, None)." strength="Example"/>
      </element>
      <element name="formCode" elementType="FHIR.CodeableConcept" description="Printed form identifier" definition="A code for the form to be used for printing the content." comment="May be needed to identify specific jurisdictional forms.">
         <binding name="Forms" description="The forms codes." strength="Example"/>
      </element>
      <element name="form" elementType="FHIR.Attachment" description="Printed reference or actual form" definition="The actual form, by reference or inclusion, for printing the content or an EOB." comment="Needed to permit insurers to include the actual form."/>
      <element name="processNote" description="Note concerning adjudication" definition="A note that describes or explains adjudication results in a human readable form.">
         <elementTypeSpecifier elementType="FHIR.ClaimResponse.ProcessNote" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="communicationRequest" description="Request for additional information" definition="Request for additional supporting or authorizing information." comment="For example: professional reports, documents, images, clinical resources, or accident reports.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="insurance" description="Patient insurance information" definition="Financial instruments for reimbursement for the health care products and services specified on the claim." comment="All insurance coverages for the patient which may be applicable for reimbursement, of the products and services listed in the claim, are typically provided in the claim to allow insurers to confirm the ordering of the insurance coverages relative to local 'coordination of benefit' rules. One coverage (and only one) with 'focal=true' is to be used in the adjudication of this claim. Coverages appearing before the focal Coverage in the list, and where 'subrogation=false', should provide a reference to the ClaimResponse containing the adjudication results of the prior claim.">
         <elementTypeSpecifier elementType="FHIR.ClaimResponse.Insurance" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="error" description="Processing errors" definition="Errors encountered during the processing of the adjudication." comment="If the request contains errors then an error element should be provided and no adjudication related sections (item, addItem, or payment) should be present.">
         <elementTypeSpecifier elementType="FHIR.ClaimResponse.Error" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="requestor"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="payment-date" path="payment.date" type="System.DateTime"/>
      <search name="patient" path="patient" type="FHIR.Patient"/>
      <search name="outcome" path="outcome" type="System.Code"/>
      <search name="insurer" path="insurer" type="FHIR.Organization"/>
      <search name="request" path="request" type="FHIR.Claim"/>
      <search name="use" path="use" type="System.Code"/>
      <search name="created" path="created" type="System.DateTime"/>
      <search name="requestor" path="requestor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="disposition" path="disposition" type="System.String"/>
      <search name="identifier" path="identifier" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClaimResponse.AddItem" retrievable="false" xsi:type="ClassInfo">
      <element name="itemSequence" description="Item sequence number" definition="Claim items which this service line is intended to replace.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="detailSequence" description="Detail sequence number" definition="The sequence number of the details within the claim item which this line is intended to replace.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subdetailSequence" description="Subdetail sequence number" definition="The sequence number of the sub-details within the details within the claim item which this line is intended to replace.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="provider" description="Authorized providers" definition="The providers who are authorized for the services rendered to the patient.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item." comment="If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Service/Product billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="programCode" description="Program the product or service is provided under" definition="Identifies the program under which this may be recovered." comment="For example: Neonatal program, child dental program or drug users recovery program.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProgramCode" description="Program specific reason codes." strength="Example"/>
      </element>
      <element name="serviced" description="Date or dates of service or product delivery" definition="The date or dates when the service or product was supplied, performed or completed.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="location" description="Place of service or where product was supplied" definition="Where the product or service was provided.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ServicePlace" description="Place of service: pharmacy, school, prison, etc." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group."/>
      <element name="factor" elementType="FHIR.decimal" description="Price scaling factor" definition="A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." comment="To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)."/>
      <element name="net" elementType="FHIR.Money" description="Total item cost" definition="The quantity times the unit price for an additional service or product or charge." comment="For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied."/>
      <element name="bodySite" elementType="FHIR.CodeableConcept" description="Anatomical location" definition="Physical service site on the patient (limb, tooth, etc.)." comment="For example: Providing a tooth code allows an insurer to identify a provider performing a filling on a tooth that was previously removed.">
         <binding name="OralSites" description="The code for the teeth, quadrant, sextant and arch." strength="Example"/>
      </element>
      <element name="subSite" description="Anatomical sub-location" definition="A region or surface of the bodySite, e.g. limb region or tooth surface(s).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Surface" description="The code for the tooth surface and surface combinations." strength="Example"/>
      </element>
      <element name="noteNumber" description="Applicable note numbers" definition="The numbers associated with notes below which apply to the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Added items adjudication" definition="The adjudication results.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ClaimResponse.Item.Adjudication" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="detail" description="Insurer added line details" definition="The second-tier service adjudications for payor added services.">
         <elementTypeSpecifier elementType="FHIR.ClaimResponse.AddItem.Detail" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClaimResponse.AddItem.Detail" retrievable="false" xsi:type="ClassInfo">
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item." comment="If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Service/Product billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group."/>
      <element name="factor" elementType="FHIR.decimal" description="Price scaling factor" definition="A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." comment="To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)."/>
      <element name="net" elementType="FHIR.Money" description="Total item cost" definition="The quantity times the unit price for an additional service or product or charge." comment="For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied."/>
      <element name="noteNumber" description="Applicable note numbers" definition="The numbers associated with notes below which apply to the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Added items detail adjudication" definition="The adjudication results.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ClaimResponse.Item.Adjudication" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="subDetail" description="Insurer added line items" definition="The third-tier service adjudications for payor added services.">
         <elementTypeSpecifier elementType="FHIR.ClaimResponse.AddItem.Detail.SubDetail" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClaimResponse.AddItem.Detail.SubDetail" retrievable="false" xsi:type="ClassInfo">
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item." comment="If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Service/Product billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group."/>
      <element name="factor" elementType="FHIR.decimal" description="Price scaling factor" definition="A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." comment="To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)."/>
      <element name="net" elementType="FHIR.Money" description="Total item cost" definition="The quantity times the unit price for an additional service or product or charge." comment="For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied."/>
      <element name="noteNumber" description="Applicable note numbers" definition="The numbers associated with notes below which apply to the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Added items detail adjudication" definition="The adjudication results.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ClaimResponse.Item.Adjudication" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClaimResponse.Error" retrievable="false" xsi:type="ClassInfo">
      <element name="itemSequence" elementType="FHIR.positiveInt" description="Item sequence number" definition="The sequence number of the line item submitted which contains the error. This value is omitted when the error occurs outside of the item structure."/>
      <element name="detailSequence" elementType="FHIR.positiveInt" description="Detail sequence number" definition="The sequence number of the detail within the line item submitted which contains the error. This value is omitted when the error occurs outside of the item structure."/>
      <element name="subDetailSequence" elementType="FHIR.positiveInt" description="Subdetail sequence number" definition="The sequence number of the sub-detail within the detail within the line item submitted which contains the error. This value is omitted when the error occurs outside of the item structure."/>
      <element name="code" elementType="FHIR.CodeableConcept" description="Error code detailing processing issues" definition="An error code, from a specified code system, which details why the claim could not be adjudicated.">
         <binding name="AdjudicationError" description="The adjudication error codes." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClaimResponse.Insurance" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Insurance instance identifier" definition="A number to uniquely identify insurance entries and provide a sequence of coverages to convey coordination of benefit order."/>
      <element name="focal" elementType="FHIR.boolean" description="Coverage to be used for adjudication" definition="A flag to indicate that this Coverage is to be used for adjudication of this claim when set to true." comment="A patient may (will) have multiple insurance policies which provide reimbursement for healthcare services and products. For example a person may also be covered by their spouse's policy and both appear in the list (and may be from the same insurer). This flag will be set to true for only one of the listed policies and that policy will be used for adjudicating this claim. Other claims would be created to request adjudication against the other listed policies."/>
      <element name="coverage" elementType="FHIR.Reference" description="Insurance information" definition="Reference to the insurance card level information contained in the Coverage resource. The coverage issuing insurer will use these details to locate the patient's actual coverage within the insurer's information system."/>
      <element name="businessArrangement" elementType="FHIR.string" description="Additional provider contract number" definition="A business agreement number established between the provider and the insurer for special business processing purposes."/>
      <element name="claimResponse" elementType="FHIR.Reference" description="Adjudication results" definition="The result of the adjudication of the line items for the Coverage specified in this insurance." comment="Must not be specified when 'focal=true' for this insurance."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClaimResponse.Item" retrievable="false" xsi:type="ClassInfo">
      <element name="itemSequence" elementType="FHIR.positiveInt" description="Claim item instance identifier" definition="A number to uniquely reference the claim item entries."/>
      <element name="noteNumber" description="Applicable note numbers" definition="The numbers associated with notes below which apply to the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Adjudication details" definition="If this item is a group then the values here are a summary of the adjudication of the detail items. If this item is a simple product or service then this is the result of the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.ClaimResponse.Item.Adjudication" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="detail" description="Adjudication for claim details" definition="A claim detail. Either a simple (a product or service) or a 'group' of sub-details which are simple items.">
         <elementTypeSpecifier elementType="FHIR.ClaimResponse.Item.Detail" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClaimResponse.Item.Adjudication" retrievable="false" xsi:type="ClassInfo">
      <element name="category" elementType="FHIR.CodeableConcept" description="Type of adjudication information" definition="A code to indicate the information type of this adjudication record. Information types may include the value submitted, maximum values or percentages allowed or payable under the plan, amounts that: the patient is responsible for in aggregate or pertaining to this item; amounts paid by other coverages; and, the benefit payable for this item." comment="For example codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc.">
         <binding name="Adjudication" description="The adjudication codes." strength="Example"/>
      </element>
      <element name="reason" elementType="FHIR.CodeableConcept" description="Explanation of adjudication outcome" definition="A code supporting the understanding of the adjudication result and explaining variance from expected amount." comment="For example may indicate that the funds for this benefit type have been exhausted.">
         <binding name="AdjudicationReason" description="The adjudication reason codes." strength="Example"/>
      </element>
      <element name="amount" elementType="FHIR.Money" description="Monetary amount" definition="Monetary amount associated with the category." comment="For example: amount submitted, eligible amount, co-payment, and benefit payable."/>
      <element name="value" elementType="FHIR.decimal" description="Non-monetary value" definition="A non-monetary value associated with the category. Mutually exclusive to the amount element above." comment="For example: eligible percentage or co-payment percentage."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClaimResponse.Item.Detail" retrievable="false" xsi:type="ClassInfo">
      <element name="detailSequence" elementType="FHIR.positiveInt" description="Claim detail instance identifier" definition="A number to uniquely reference the claim detail entry."/>
      <element name="noteNumber" description="Applicable note numbers" definition="The numbers associated with notes below which apply to the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Detail level adjudication details" definition="The adjudication results.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ClaimResponse.Item.Adjudication" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="subDetail" description="Adjudication for claim sub-details" definition="A sub-detail adjudication of a simple product or service.">
         <elementTypeSpecifier elementType="FHIR.ClaimResponse.Item.Detail.SubDetail" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClaimResponse.Item.Detail.SubDetail" retrievable="false" xsi:type="ClassInfo">
      <element name="subDetailSequence" elementType="FHIR.positiveInt" description="Claim sub-detail instance identifier" definition="A number to uniquely reference the claim sub-detail entry."/>
      <element name="noteNumber" description="Applicable note numbers" definition="The numbers associated with notes below which apply to the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Subdetail level adjudication details" definition="The adjudication results.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ClaimResponse.Item.Adjudication" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClaimResponse.Payment" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Partial or complete payment" definition="Whether this represents partial or complete payment of the benefits payable.">
         <binding name="PaymentType" description="The type (partial, complete) of the payment." strength="Example"/>
      </element>
      <element name="adjustment" elementType="FHIR.Money" description="Payment adjustment for non-claim issues" definition="Total amount of all adjustments to this payment included in this transaction which are not related to this claim's adjudication." comment="Insurers will deduct amounts owing from the provider (adjustment), such as a prior overpayment, from the amount owing to the provider (benefits payable) when payment is made to the provider."/>
      <element name="adjustmentReason" elementType="FHIR.CodeableConcept" description="Explanation for the adjustment" definition="Reason for the payment adjustment.">
         <binding name="PaymentAdjustmentReason" description="Payment Adjustment reason codes." strength="Example"/>
      </element>
      <element name="date" elementType="FHIR.date" description="Expected date of payment" definition="Estimated date the payment will be issued or the actual issue date of payment."/>
      <element name="amount" elementType="FHIR.Money" description="Payable amount after adjustment" definition="Benefits payable less any payment adjustment."/>
      <element name="identifier" elementType="FHIR.Identifier" description="Business identifier for the payment" definition="Issuer's unique identifier for the payment instrument." comment="For example: EFT number or check number."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClaimResponse.ProcessNote" retrievable="false" xsi:type="ClassInfo">
      <element name="number" elementType="FHIR.positiveInt" description="Note instance identifier" definition="A number to uniquely identify a note entry."/>
      <element name="type" elementType="FHIR.NoteType" description="display | print | printoper" definition="The business purpose of the note text.">
         <binding name="NoteType" description="The presentation types of notes." strength="Required"/>
      </element>
      <element name="text" elementType="FHIR.string" description="Note explanatory text" definition="The explanation or description associated with the processing."/>
      <element name="language" elementType="FHIR.CodeableConcept" description="Language of the text" definition="A code to define the language used in the text of the note." comment="Only required if the language is different from the resource language.">
         <binding name="Language" description="A human language." strength="Preferred"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClaimResponse.Total" retrievable="false" xsi:type="ClassInfo">
      <element name="category" elementType="FHIR.CodeableConcept" description="Type of adjudication information" definition="A code to indicate the information type of this adjudication record. Information types may include: the value submitted, maximum values or percentages allowed or payable under the plan, amounts that the patient is responsible for in aggregate or pertaining to this item, amounts paid by other coverages, and the benefit payable for this item." comment="For example codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc.">
         <binding name="Adjudication" description="The adjudication codes." strength="Example"/>
      </element>
      <element name="amount" elementType="FHIR.Money" description="Financial total for the category" definition="Monetary total amount associated with the category."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ClaimResponseStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ClaimStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ClinicalImpression" identifier="http://hl7.org/fhir/StructureDefinition/ClinicalImpression" label="ClinicalImpression" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifier" definition="Business identifiers assigned to this clinical impression by the performer or other systems which remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ClinicalImpressionStatus" description="in-progress | completed | entered-in-error" definition="Identifies the workflow status of the assessment." comment="This element is labeled as a modifier because the status contains the code entered-in-error that marks the clinical impression as not currently valid.">
         <binding name="ClinicalImpressionStatus" description="The workflow state of a clinical impression." strength="Required"/>
      </element>
      <element name="statusReason" elementType="FHIR.CodeableConcept" description="Reason for current status" definition="Captures the reason for the current state of the ClinicalImpression." comment="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;cancelled&quot;.&#xa;&#xa;[distinct reason codes for different statuses can be enforced using invariants if they are universal bindings].">
         <binding name="ClinicalImpressionStatusReason" description="Codes identifying the reason for the current state of a clinical impression." strength="Example"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Kind of assessment performed" definition="Categorizes the type of clinical assessment performed." comment="This is present as a place-holder only and may be removed based on feedback/work group opinion.">
         <binding name="ClinicalImpressionCode" description="Identifies categories of clinical impressions.  This is a place-holder only.  It may be removed." strength="Example"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Why/how the assessment was performed" definition="A summary of the context and/or cause of the assessment - why / where it was performed, and what patient events/status prompted it."/>
      <element name="subject" elementType="FHIR.Reference" description="Patient or group assessed" definition="The patient or group of individuals assessed as part of this record."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter created as part of" definition="The Encounter during which this ClinicalImpression was created or to which the creation of this record is tightly associated." comment="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter."/>
      <element name="effective" description="Time of assessment" definition="The point in time or period over which the subject was assessed." comment="This SHOULD be accurate to at least the minute, though some assessments only have a known date.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="When the assessment was documented" definition="Indicates when the documentation of the assessment was complete."/>
      <element name="assessor" elementType="FHIR.Reference" description="The clinician performing the assessment" definition="The clinician performing the assessment."/>
      <element name="previous" elementType="FHIR.Reference" description="Reference to last assessment" definition="A reference to the last assessment that was conducted on this patient. Assessments are often/usually ongoing in nature; a care provider (practitioner or team) will make new assessments on an ongoing basis as new data arises or the patient's conditions changes." comment="It is always likely that multiple previous assessments exist for a patient. The point of quoting a previous assessment is that this assessment is relative to it (see resolved)."/>
      <element name="problem" description="Relevant impressions of patient state" definition="A list of the relevant problems/conditions for a patient." comment="e.g. The patient is a pregnant, has congestive heart failure, has an ‎Adenocarcinoma, and is allergic to penicillin.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="investigation" description="One or more sets of investigations (signs, symptoms, etc.)" definition="One or more sets of investigations (signs, symptoms, etc.). The actual grouping of investigations varies greatly depending on the type and context of the assessment. These investigations may include data generated during the assessment process, or data previously generated and recorded that is pertinent to the outcomes.">
         <elementTypeSpecifier elementType="FHIR.ClinicalImpression.Investigation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="protocol" description="Clinical Protocol followed" definition="Reference to a specific published clinical protocol that was followed during this assessment, and/or that provides evidence in support of the diagnosis.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="summary" elementType="FHIR.string" description="Summary of the assessment" definition="A text summary of the investigations and the diagnosis."/>
      <element name="finding" description="Possible or likely findings and diagnoses" definition="Specific findings or diagnoses that were considered likely or relevant to ongoing treatment.">
         <elementTypeSpecifier elementType="FHIR.ClinicalImpression.Finding" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="prognosisCodeableConcept" description="Estimate of likely outcome" definition="Estimate of likely outcome.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ClinicalImpressionPrognosis" description="Prognosis or outlook findings." strength="Example"/>
      </element>
      <element name="prognosisReference" description="RiskAssessment expressing likely outcome" definition="RiskAssessment expressing likely outcome.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="supportingInfo" description="Information supporting the clinical impression" definition="Information supporting the clinical impression.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Comments made about the ClinicalImpression" definition="Commentary about the impression, typically recorded after the impression itself was made, though supplemental notes by the original author could also appear." comment="Don't use this element for content that should more properly appear as one of the specific elements of the impression.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="assessor"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="finding-code" path="finding.itemCodeableConcept" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="previous" path="previous" type="FHIR.ClinicalImpression"/>
      <search name="investigation" path="investigation.item">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="encounter" path="encounter" type="FHIR.Encounter"/>
      <search name="assessor" path="assessor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="problem" path="problem">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="finding-ref" path="finding.itemReference">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="supporting-info" path="supportingInfo">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClinicalImpression.Finding" retrievable="false" xsi:type="ClassInfo">
      <element name="itemCodeableConcept" elementType="FHIR.CodeableConcept" description="What was found" definition="Specific text or code for finding or diagnosis, which may include ruled-out or resolved conditions.">
         <binding name="ConditionKind" description="Identification of the Condition or diagnosis." strength="Example"/>
      </element>
      <element name="itemReference" elementType="FHIR.Reference" description="What was found" definition="Specific reference for finding or diagnosis, which may include ruled-out or resolved conditions."/>
      <element name="basis" elementType="FHIR.string" description="Which investigations support finding" definition="Which investigations support finding or diagnosis."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ClinicalImpression.Investigation" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="A name/code for the set" definition="A name/code for the group (&quot;set&quot;) of investigations. Typically, this will be something like &quot;signs&quot;, &quot;symptoms&quot;, &quot;clinical&quot;, &quot;diagnostic&quot;, but the list is not constrained, and others such groups such as (exposure|family|travel|nutritional) history may be used.">
         <binding name="InvestigationGroupType" description="A name/code for a set of investigations." strength="Example"/>
      </element>
      <element name="item" description="Record of a specific investigation" definition="A record of a specific investigation that was undertaken." comment="Most investigations are observations of one kind or another but some other specific types of data collection resources can also be used.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ClinicalImpressionStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CodeSearchSupport" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="CodeSystem" identifier="http://hl7.org/fhir/StructureDefinition/CodeSystem" label="CodeSystem" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this code system, represented as a URI (globally unique) (Coding.system)" definition="An absolute URI that is used to identify this code system 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 code system is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the code system is stored on different servers. This is used in [Coding](datatypes.html#Coding).system." 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the code system (business identifier)" definition="A formal identifier that is used to identify this code system when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this code system outside of FHIR, where it is not possible to use the logical URI.  Note that HL7 defines at least three identifiers for many of its code systems - the FHIR canonical URL, the OID and the V2 Table 0396 mnemonic code.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the code system (Coding.version)" definition="The identifier that is used to identify this version of the code system when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the code system 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. This is used in [Coding](datatypes.html#Coding).version." comment="There may be different code system 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 code system with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this code system (computer friendly)" definition="A natural language name identifying the code system. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this code system (human friendly)" definition="A short, descriptive, user-friendly title for the code system." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The date (and optionally time) when the code system resource was created or revised." comment="Allows filtering of code systems that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this code system is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of code systems that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the code system 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 code system 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 code system. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the code system." comment="Usually an organization but may be an individual. The publisher (or steward) of the code system is the organization or individual primarily responsible for the maintenance and upkeep of the code system. 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 code system. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the code system" definition="A free text natural language description of the code system from a consumer's perspective." comment="This description can be used to capture details such as why the code system 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 code system 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 code system is presumed to be the predominant language in the place the code system was created)."/>
      <element name="useContext" description="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 code system instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for code system (if applicable)" definition="A legal or geographic region in which the code system is intended to be used." comment="It may be possible for the code system to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this code system is defined" definition="Explanation of why this code system is needed and why it has been designed as it has." comment="This element does not describe the usage of the code system. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this code system."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the code system and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the code system." comment="... Sometimes, the copyright differs between the code system and the codes that are included. The copyright statement should clearly differentiate between these when required."/>
      <element name="caseSensitive" elementType="FHIR.boolean" description="If code comparison is case sensitive" definition="If code comparison is case sensitive when codes within this system are compared to each other." comment="If this value is missing, then it is not specified whether a code system is case sensitive or not. When the rule is not known, Postel's law should be followed: produce codes with the correct case, and accept codes in any case. This element is primarily provided to support validation software."/>
      <element name="valueSet" elementType="FHIR.canonical" description="Canonical reference to the value set with entire code system" definition="Canonical reference to the value set that contains the entire code system." comment="The definition of the value set SHALL include all codes from this code system and only codes from this code system, and it SHALL be immutable."/>
      <element name="hierarchyMeaning" elementType="FHIR.CodeSystemHierarchyMeaning" description="grouped-by | is-a | part-of | classified-with" definition="The meaning of the hierarchy of concepts as represented in this resource." comment="Note that other representations might have a different hierarchy or none at all, and represent the information using properties.">
         <binding name="CodeSystemHierarchyMeaning" description="The meaning of the hierarchy of concepts in a code system." strength="Required"/>
      </element>
      <element name="compositional" elementType="FHIR.boolean" description="If code system defines a compositional grammar" definition="The code system defines a compositional (post-coordination) grammar." comment="Note that the code system resource does not define what the compositional grammar is, only whether or not there is one."/>
      <element name="versionNeeded" elementType="FHIR.boolean" description="If definitions are not stable" definition="This flag is used to signify that the code system does not commit to concept permanence across versions. If true, a version must be specified when referencing this code system." comment="Best practice is that code systems do not redefine concepts, or that if concepts are redefined, a new code system definition is created. But this is not always possible, so some code systems may be defined as 'versionNeeded'.&#xa;&#xa;Most code systems occasionally refine the displays defined for concepts between versions. Contexts in which the concept display values are validated may require that the version be specified for some code systems irrespective of the value of this property."/>
      <element name="content" elementType="FHIR.CodeSystemContentMode" description="not-present | example | fragment | complete | supplement" definition="The extent of the content of the code system (the concepts and codes it defines) are represented in this resource instance.">
         <binding name="CodeSystemContentMode" description="The extent of the content of the code system (the concepts and codes it defines) are represented in a code system resource." strength="Required"/>
      </element>
      <element name="supplements" elementType="FHIR.canonical" description="Canonical URL of Code System this adds designations and properties to" definition="The canonical URL of the code system that this code system supplement is adding designations and properties to." comment="The most common use of a code system supplement is to add additional language support."/>
      <element name="count" elementType="FHIR.unsignedInt" description="Total concepts in the code system" definition="The total number of concepts defined by the code system. Where the code system has a compositional grammar, the basis of this count is defined by the system steward." comment="The count of concepts defined in this resource cannot be more than this value but may be less for several reasons - see the content element."/>
      <element name="filter" description="Filter that can be used in a value set" definition="A filter that can be used in a value set compose statement when selecting concepts using a filter." comment="Note that filters defined in code systems usually require custom code on the part of any terminology engine that will make them available for use in value set filters. For this reason, they are generally only seen in high value published terminologies.">
         <elementTypeSpecifier elementType="FHIR.CodeSystem.Filter" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="property" description="Additional information supplied about each concept" definition="A property defines an additional slot through which additional information can be provided about a concept.">
         <elementTypeSpecifier elementType="FHIR.CodeSystem.Property" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="concept" description="Concepts in the code system" definition="Concepts that are in the code system. The concept definitions are inherently hierarchical, but the definitions must be consulted to determine what the meanings of the hierarchical relationships are." comment="If this is empty, it means that the code system resource does not represent the content of the code system.">
         <elementTypeSpecifier elementType="FHIR.CodeSystem.Concept" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="content-mode" path="content" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="url" path="url" type="System.String"/>
      <search name="supplements" path="supplements" type="FHIR.CodeSystem"/>
      <search name="code" path="concept.code" type="System.Code"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="language" path="concept.designation.language" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="system" path="url" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CodeSystem.Concept" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.code" description="Code that identifies concept" definition="A code - a text symbol - that uniquely identifies the concept within the code system."/>
      <element name="display" elementType="FHIR.string" description="Text to display to the user" definition="A human readable string that is the recommended default way to present this concept to a user."/>
      <element name="definition" elementType="FHIR.string" description="Formal definition" definition="The formal definition of the concept. The code system resource does not make formal definitions required, because of the prevalence of legacy systems. However, they are highly recommended, as without them there is no formal meaning associated with the concept."/>
      <element name="designation" description="Additional representations for the concept" definition="Additional representations for the concept - other languages, aliases, specialized purposes, used for particular purposes, etc." comment="Concepts have both a ```display``` and an array of ```designation```. The display is equivalent to a special designation with an implied ```designation.use``` of &quot;primary code&quot; and a language equal to the [Resource Language](resource.html#language).">
         <elementTypeSpecifier elementType="FHIR.CodeSystem.Concept.Designation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="property" description="Property value for the concept" definition="A property value for this concept.">
         <elementTypeSpecifier elementType="FHIR.CodeSystem.Concept.Property" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="concept" description="Child Concepts (is-a/contains/categorizes)" definition="Defines children of a concept to produce a hierarchy of concepts. The nature of the relationships is variable (is-a/contains/categorizes) - see hierarchyMeaning.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="CodeSystem.Concept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CodeSystem.Concept.Designation" retrievable="false" xsi:type="ClassInfo">
      <element name="language" elementType="FHIR.code" description="Human language of the designation" definition="The language this designation is defined for." comment="In the absence of a language, the resource language applies.">
         <binding name="Language" description="A human language." strength="Preferred"/>
      </element>
      <element name="use" elementType="FHIR.Coding" description="Details how this designation would be used" definition="A code that details how this designation would be used." comment="If no use is provided, the designation can be assumed to be suitable for general display to a human user.">
         <binding name="ConceptDesignationUse" description="Details of how a designation would be used." strength="Extensible"/>
      </element>
      <element name="value" elementType="FHIR.string" description="The text value for this designation" definition="The text value for this designation."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CodeSystem.Concept.Property" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.code" description="Reference to CodeSystem.property.code" definition="A code that is a reference to CodeSystem.property.code."/>
      <element name="value" description="Value of the property for this concept" definition="The value of this property.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="code" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CodeSystem.Filter" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.code" description="Code that identifies the filter" definition="The code that identifies this filter when it is used as a filter in [ValueSet](valueset.html#).compose.include.filter."/>
      <element name="description" elementType="FHIR.string" description="How or why the filter is used" definition="A description of how or why the filter is used."/>
      <element name="operator" description="= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | exists" definition="A list of operators that can be used with the filter.">
         <elementTypeSpecifier elementType="FHIR.FilterOperator" xsi:type="ListTypeSpecifier"/>
         <binding name="FilterOperator" description="The kind of operation to perform as a part of a property based filter." strength="Required"/>
      </element>
      <element name="value" elementType="FHIR.string" description="What to use for the value" definition="A description of what the value for the filter should be."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CodeSystem.Property" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.code" description="Identifies the property on the concepts, and when referred to in operations" definition="A code that is used to identify the property. The code is used internally (in CodeSystem.concept.property.code) and also externally, such as in property filters."/>
      <element name="uri" elementType="FHIR.uri" description="Formal identifier for the property" definition="Reference to the formal meaning of the property. One possible source of meaning is the [Concept Properties](codesystem-concept-properties.html) code system."/>
      <element name="description" elementType="FHIR.string" description="Why the property is defined, and/or what it conveys" definition="A description of the property- why it is defined, and how its value might be used."/>
      <element name="type" elementType="FHIR.PropertyType" description="code | Coding | string | integer | boolean | dateTime | decimal" definition="The type of the property value. Properties of type &quot;code&quot; contain a code defined by the code system (e.g. a reference to another defined concept).">
         <binding name="PropertyType" description="The type of a property value." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CodeSystemContentMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CodeSystemHierarchyMeaning" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CodeableConcept" identifier="http://hl7.org/fhir/StructureDefinition/CodeableConcept" label="CodeableConcept" retrievable="false" xsi:type="ClassInfo">
      <element name="coding" description="Code defined by a terminology system" definition="A reference to a code defined by a terminology system." comment="Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="text" elementType="FHIR.string" description="Plain text representation of the concept" definition="A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." comment="Very often the text is the same as a displayName of one of the codings."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Coding" identifier="http://hl7.org/fhir/StructureDefinition/Coding" label="Coding" retrievable="false" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="system" elementType="FHIR.uri" description="Identity of the terminology system" definition="The identification of the code system that defines the meaning of the symbol in the code." comment="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously."/>
      <element name="version" elementType="FHIR.string" description="Version of the system - if relevant" definition="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." comment="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date."/>
      <element name="code" elementType="FHIR.code" description="Symbol in syntax defined by the system" definition="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)."/>
      <element name="display" elementType="FHIR.string" description="Representation defined by the system" definition="A representation of the meaning of the code in the system, following the rules of the system."/>
      <element name="userSelected" elementType="FHIR.boolean" description="If this coding was chosen directly by the user" definition="Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." comment="Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Communication" identifier="http://hl7.org/fhir/StructureDefinition/Communication" label="Communication" retrievable="true" primaryCodePath="category" xsi:type="ClassInfo">
      <element name="identifier" description="Unique identifier" definition="Business identifiers assigned to this communication by the performer or other systems which remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesCanonical" description="Instantiates 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 this Communication.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesUri" description="Instantiates 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 this Communication." comment="This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="Request fulfilled by this communication" definition="An order, proposal or plan fulfilled in whole or in part by this Communication." comment="This must point to some sort of a 'Request' resource, such as CarePlan, CommunicationRequest, ServiceRequest, MedicationRequest, etc.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" description="Part of this action" definition="Part of this action.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="inResponseTo" description="Reply to" definition="Prior communication that this communication is in response to.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.CommunicationStatus" description="preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown" definition="The status of the transmission." comment="This element is labeled as a modifier because the status contains the codes aborted and entered-in-error that mark the communication as not currently valid.">
         <binding name="CommunicationStatus" description="The status of the communication." strength="Required"/>
      </element>
      <element name="statusReason" elementType="FHIR.CodeableConcept" description="Reason for current status" definition="Captures the reason for the current state of the Communication." comment="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;aborted&quot;. The reason for performing the event at all is captured in reasonCode, not here.">
         <binding name="CommunicationNotDoneReason" description="Codes for the reason why a communication did not happen." strength="Example"/>
      </element>
      <element name="category" description="Message category" definition="The type of message conveyed such as alert, notification, reminder, instruction, etc." comment="There may be multiple axes of categorization and one communication may serve multiple purposes.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CommunicationCategory" description="Codes for general categories of communications such as alerts, instructions, etc." strength="Example"/>
      </element>
      <element name="priority" elementType="FHIR.CommunicationPriority" description="routine | urgent | asap | stat" definition="Characterizes how quickly the planned or in progress communication must be addressed. Includes concepts such as stat, urgent, routine." comment="Used to prioritize workflow (such as which communication to read first) when the communication is planned or in progress.">
         <binding name="CommunicationPriority" description="Codes indicating the relative importance of a communication." strength="Required"/>
      </element>
      <element name="medium" description="A channel of communication" definition="A channel that was used for this communication (e.g. email, fax).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CommunicationMedium" description="Codes for communication mediums such as phone, fax, email, in person, etc." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Focus of message" definition="The patient or group that was the focus of this communication."/>
      <element name="topic" elementType="FHIR.CodeableConcept" description="Description of the purpose/content" definition="Description of the purpose/content, similar to a subject line in an email." comment="Communication.topic.text can be used without any codings.">
         <binding name="CommunicationTopic" description="Codes describing the purpose or content of the communication." strength="Example"/>
      </element>
      <element name="about" description="Resources that pertain to this communication" definition="Other resources that pertain to this communication and to which this communication should be associated." comment="Don't use Communication.about element when a more specific element exists, such as basedOn or reasonReference.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter created as part of" definition="The Encounter during which this Communication was created or to which the creation of this record is tightly associated." comment="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter."/>
      <element name="sent" elementType="FHIR.dateTime" description="When sent" definition="The time when this communication was sent."/>
      <element name="received" elementType="FHIR.dateTime" description="When received" definition="The time when this communication arrived at the destination."/>
      <element name="recipient" description="Message recipient" definition="The entity (e.g. person, organization, clinical information system, care team or device) which was the target of the communication. If receipts need to be tracked by an individual, a separate resource instance will need to be created for each recipient.  Multiple recipient communications are intended where either receipts are not tracked (e.g. a mass mail-out) or a receipt is captured in aggregate (all emails confirmed received by a particular time).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="sender" elementType="FHIR.Reference" description="Message sender" definition="The entity (e.g. person, organization, clinical information system, or device) which was the source of the communication."/>
      <element name="reasonCode" description="Indication for message" definition="The reason or justification for the communication." comment="Textual reasons can be captured using reasonCode.text.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CommunicationReason" description="Codes for describing reasons for the occurrence of a communication." strength="Example"/>
      </element>
      <element name="reasonReference" description="Why was communication done?" definition="Indicates another resource whose existence justifies this communication.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="payload" description="Message payload" definition="Text, attachment(s), or resource(s) that was communicated to the recipient.">
         <elementTypeSpecifier elementType="FHIR.Communication.Payload" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Comments made about the communication" definition="Additional notes or commentary about the communication by the sender, receiver or other interested parties.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="sender"/>
      <contextRelationship context="Practitioner" relatedKeyElement="recipient"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="sender"/>
      <contextRelationship context="Patient" relatedKeyElement="recipient"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="sender"/>
      <contextRelationship context="Device" relatedKeyElement="recipient"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="sender"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="recipient"/>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="encounter" path="encounter" type="FHIR.Encounter"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="part-of" path="partOf">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="instantiates-uri" path="instantiatesUri" type="System.String"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="based-on" path="basedOn">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="instantiates-canonical" path="instantiatesCanonical">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="recipient" path="recipient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="received" path="received" type="System.DateTime"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="sender" path="sender">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="medium" path="medium" type="System.Code"/>
      <search name="sent" path="sent" type="System.DateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Communication.Payload" retrievable="false" xsi:type="ClassInfo">
      <element name="content" description="Message part content" definition="A communicated content (or for multi-part communications, one portion of the communication).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CommunicationPriority" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="CommunicationRequest" identifier="http://hl7.org/fhir/StructureDefinition/CommunicationRequest" label="CommunicationRequest" retrievable="true" primaryCodePath="category" xsi:type="ClassInfo">
      <element name="identifier" description="Unique identifier" definition="Business identifiers assigned to this communication request by the performer or other systems which remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="Fulfills plan or proposal" definition="A plan or proposal that is fulfilled in whole or in part by this request.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="replaces" description="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.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="groupIdentifier" elementType="FHIR.Identifier" description="Composite request this is part of" definition="A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition, prescription or similar form." comment="Requests are linked either by a &quot;basedOn&quot; relationship (i.e. one request is fulfilling another) or by having a common requisition.  Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation."/>
      <element name="status" elementType="FHIR.CommunicationRequestStatus" description="draft | active | on-hold | revoked | completed | entered-in-error | unknown" definition="The status of the proposal or order.">
         <binding name="CommunicationRequestStatus" description="The status of the communication request." strength="Required"/>
      </element>
      <element name="statusReason" elementType="FHIR.CodeableConcept" description="Reason for current status" definition="Captures the reason for the current state of the CommunicationRequest." comment="This is generally only used for &quot;exception&quot; statuses such as &quot;suspended&quot; or &quot;cancelled&quot;.  The reason why the CommunicationRequest was created at all is captured in reasonCode, not here.  [distinct reason codes for different statuses can be enforced using invariants if they are universal bindings].">
         <binding name="CommunicationRequestStatusReason" description="Codes identifying the reason for the current state of a request." strength="Example"/>
      </element>
      <element name="category" description="Message category" definition="The type of message to be sent such as alert, notification, reminder, instruction, etc." comment="There may be multiple axes of categorization and one communication request may serve multiple purposes.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CommunicationCategory" description="Codes for general categories of communications such as alerts, instruction, etc." strength="Example"/>
      </element>
      <element name="priority" elementType="FHIR.CommunicationPriority" description="routine | urgent | asap | stat" definition="Characterizes how quickly the proposed act must be initiated. Includes concepts such as stat, urgent, routine.">
         <binding name="CommunicationPriority" description="Codes indicating the relative importance of a communication request." strength="Required"/>
      </element>
      <element name="doNotPerform" elementType="FHIR.boolean" description="True if request is prohibiting action" definition="If true indicates that the CommunicationRequest is asking for the specified action to *not* occur." comment="The attributes provided with the request qualify what is not to be done."/>
      <element name="medium" description="A channel of communication" definition="A channel that was used for this communication (e.g. email, fax).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CommunicationMedium" description="Codes for communication mediums such as phone, fax, email, in person, etc." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Focus of message" definition="The patient or group that is the focus of this communication request."/>
      <element name="about" description="Resources that pertain to this communication request" definition="Other resources that pertain to this communication request and to which this communication request should be associated." comment="Don't use CommunicationRequest.about element when a more specific element exists, such as basedOn, reasonReference, or replaces.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter created as part of" definition="The Encounter during which this CommunicationRequest was created or to which the creation of this record is tightly associated." comment="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter."/>
      <element name="payload" description="Message payload" definition="Text, attachment(s), or resource(s) to be communicated to the recipient.">
         <elementTypeSpecifier elementType="FHIR.CommunicationRequest.Payload" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="occurrence" description="When scheduled" definition="The time when this communication is to occur.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="authoredOn" elementType="FHIR.dateTime" description="When request transitioned to being actionable" definition="For draft requests, indicates the date of initial creation.  For requests with other statuses, indicates the date of activation."/>
      <element name="requester" elementType="FHIR.Reference" description="Who/what is requesting service" definition="The device, individual, or organization who initiated the request and has responsibility for its activation."/>
      <element name="recipient" description="Message recipient" definition="The entity (e.g. person, organization, clinical information system, device, group, or care team) which is the intended target of the communication.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="sender" elementType="FHIR.Reference" description="Message sender" definition="The entity (e.g. person, organization, clinical information system, or device) which is to be the source of the communication."/>
      <element name="reasonCode" description="Why is communication needed?" definition="Describes why the request is being made in coded or textual form." comment="Textual reasons can be captured using reasonCode.text.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CommunicationReason" description="Codes for describing reasons for the occurrence of a communication." strength="Example"/>
      </element>
      <element name="reasonReference" description="Why is communication needed?" definition="Indicates another resource whose existence justifies this request.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Comments made about communication request" definition="Comments made about the request by the requester, sender, recipient, subject or other participants.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="sender"/>
      <contextRelationship context="Practitioner" relatedKeyElement="recipient"/>
      <contextRelationship context="Practitioner" relatedKeyElement="requester"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="sender"/>
      <contextRelationship context="Patient" relatedKeyElement="recipient"/>
      <contextRelationship context="Patient" relatedKeyElement="requester"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="sender"/>
      <contextRelationship context="Device" relatedKeyElement="recipient"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="sender"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="recipient"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="requester"/>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="medium" path="medium" type="System.Code"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="authored" path="authoredOn" type="System.DateTime"/>
      <search name="encounter" path="encounter" type="FHIR.Encounter"/>
      <search name="replaces" path="replaces" type="FHIR.CommunicationRequest"/>
      <search name="recipient" path="recipient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="requester" path="requester">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="group-identifier" path="groupIdentifier" type="System.Code"/>
      <search name="sender" path="sender">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="priority" path="priority" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="based-on" path="basedOn">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CommunicationRequest.Payload" retrievable="false" xsi:type="ClassInfo">
      <element name="content" description="Message part content" definition="The communicated content (or for multi-part communications, one portion of the communication).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CommunicationRequestStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CommunicationStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CompartmentCode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="CompartmentDefinition" identifier="http://hl7.org/fhir/StructureDefinition/CompartmentDefinition" label="CompartmentDefinition" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this compartment definition, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this compartment definition 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 compartment definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the compartment definition 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="version" elementType="FHIR.string" description="Business version of the compartment definition" definition="The identifier that is used to identify this version of the compartment definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the compartment definition 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 compartment definition 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 compartment definition with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this compartment definition (computer friendly)" definition="A natural language name identifying the compartment definition. 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.This is often the same as the code for the parameter, but does not need to be."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this compartment definition. Enables tracking the life-cycle of the content." comment="Allows filtering of compartment definitions that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this compartment definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of compartment definitions that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the compartment definition 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 compartment definition 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 compartment definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the compartment definition." comment="Usually an organization but may be an individual. The publisher (or steward) of the compartment definition is the organization or individual primarily responsible for the maintenance and upkeep of the compartment definition. 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 compartment definition. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the compartment definition" definition="A free text natural language description of the compartment definition from a consumer's perspective." comment="This description can be used to capture details such as why the compartment definition 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 compartment definition 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 compartment definition is presumed to be the predominant language in the place the compartment definition was created)."/>
      <element name="useContext" description="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 compartment definition instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this compartment definition is defined" definition="Explanation of why this compartment definition is needed and why it has been designed as it has." comment="This element does not describe the usage of the compartment definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this compartment definition."/>
      <element name="code" elementType="FHIR.CompartmentType" description="Patient | Encounter | RelatedPerson | Practitioner | Device" definition="Which compartment this definition describes." comment="Only the specification can define the compartments that can exist. Servers can choose to support them.">
         <binding name="CompartmentType" description="Which type a compartment definition describes." strength="Required"/>
      </element>
      <element name="search" elementType="FHIR.boolean" description="Whether the search syntax is supported" definition="Whether the search syntax is supported,." comment="Servers may define and use compartments to manage logical access without implementing the compartment related syntax."/>
      <element name="resource" description="How a resource is related to the compartment" definition="Information about how a resource is related to the compartment.">
         <elementTypeSpecifier elementType="FHIR.CompartmentDefinition.Resource" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="url" path="url" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="code" path="code" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="resource" path="resource.code" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="version" path="version" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CompartmentDefinition.Resource" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.ResourceType" description="Name of resource type" definition="The name of a resource supported by the server.">
         <binding name="ResourceType" description="One of the resource types defined as part of this version of FHIR." strength="Required"/>
      </element>
      <element name="param" description="Search Parameter Name, or chained parameters" definition="The name of a search parameter that represents the link to the compartment. More than one may be listed because a resource may be linked to a compartment in more than one way,." comment="If no search parameters are listed, then the resource is not linked to the compartment.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="documentation" elementType="FHIR.string" description="Additional documentation about the resource and compartment" definition="Additional documentation about the resource and compartment."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CompartmentType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Composition" identifier="http://hl7.org/fhir/StructureDefinition/Composition" label="Composition" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Version-independent identifier for the Composition" definition="A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time." comment="Similar to ClinicalDocument/setId in CDA. See discussion in resource definition for how these relate."/>
      <element name="status" elementType="FHIR.CompositionStatus" description="preliminary | final | amended | entered-in-error" definition="The workflow/clinical status of this composition. The status is a marker for the clinical standing of the document." comment="If a composition is marked as withdrawn, the compositions/documents in the series, or data from the composition or document series, should never be displayed to a user without being clearly marked as untrustworthy. The flag &quot;entered-in-error&quot; is why this element is labeled as a modifier of other elements.   &#xa;&#xa;Some reporting work flows require that the original narrative of a final document never be altered; instead, only new narrative can be added. The composition resource has no explicit status for explicitly noting whether this business rule is in effect. This would be handled by an extension if required.">
         <binding name="CompositionStatus" description="The workflow/clinical status of the composition." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Kind of composition (LOINC if possible)" definition="Specifies the particular kind of composition (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the composition." comment="For Composition type, LOINC is ubiquitous and strongly endorsed by HL7. Most implementation guides will require a specific LOINC code, or use LOINC as an extensible binding.">
         <binding name="DocumentType" description="Type of a composition." strength="Preferred"/>
      </element>
      <element name="category" description="Categorization of Composition" definition="A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type." comment="This is a metadata field from [XDS/MHD](http://wiki.ihe.net/index.php?title=Mobile_access_to_Health_Documents_(MHD)).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DocumentCategory" description="High-level kind of a clinical document at a macro level." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who and/or what the composition is about" definition="Who or what the composition is about. The composition can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of livestock, or a set of patients that share a common exposure)." comment="For clinical documents, this is usually the patient."/>
      <element name="encounter" elementType="FHIR.Reference" description="Context of the Composition" definition="Describes the clinical encounter or type of care this documentation is associated with."/>
      <element name="date" elementType="FHIR.dateTime" description="Composition editing time" definition="The composition editing time, when the composition was last logically changed by the author." comment="The Last Modified Date on the composition may be after the date of the document was attested without being changed."/>
      <element name="author" description="Who and/or what authored the composition" definition="Identifies who is responsible for the information in the composition, not necessarily who typed it in.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="title" elementType="FHIR.string" description="Human Readable name/title" definition="Official human-readable label for the composition." comment="For many compositions, the title is the same as the text or a display name of Composition.type (e.g. a &quot;consultation&quot; or &quot;progress note&quot;). Note that CDA does not make title mandatory, but there are no known cases where it is useful for title to be omitted, so it is mandatory here. Feedback on this requirement is welcome during the trial use period."/>
      <element name="confidentiality" elementType="FHIR.DocumentConfidentiality" description="As defined by affinity domain" definition="The code specifying the level of confidentiality of the Composition." comment="The exact use of this element, and enforcement and issues related to highly sensitive documents are out of scope for the base specification, and delegated to implementation profiles (see security section).  This element is labeled as a modifier because highly confidential documents must not be treated as if they are not.">
         <binding name="DocumentConfidentiality" description="Codes specifying the level of confidentiality of the composition." strength="Required"/>
      </element>
      <element name="attester" description="Attests to accuracy of composition" definition="A participant who has attested to the accuracy of the composition/document." comment="Only list each attester once.">
         <elementTypeSpecifier elementType="FHIR.Composition.Attester" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="custodian" elementType="FHIR.Reference" description="Organization which maintains the composition" definition="Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information." comment="This is useful when documents are derived from a composition - provides guidance for how to get the latest version of the document. This is optional because this is sometimes not known by the authoring system, and can be inferred by context. However, it is important that this information be known when working with a derived document, so providing a custodian is encouraged."/>
      <element name="relatesTo" description="Relationships to other compositions/documents" definition="Relationships that this composition has with other compositions or documents that already exist." comment="A document is a version specific composition.">
         <elementTypeSpecifier elementType="FHIR.Composition.RelatesTo" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="event" description="The clinical service(s) being documented" definition="The clinical service, such as a colonoscopy or an appendectomy, being documented." comment="The event needs to be consistent with the type element, though can provide further information if desired.">
         <elementTypeSpecifier elementType="FHIR.Composition.Event" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="section" description="Composition is broken into sections" definition="The root of the sections that make up the composition.">
         <elementTypeSpecifier elementType="FHIR.Composition.Section" xsi:type="ListTypeSpecifier"/>
         <constraint name="cmp-1" severity="ERROR" message="A section must contain at least one of text, entries, or sub-sections">
            <expression language="text/fhirpath" expression="text.exists() or entry.exists() or section.exists()"/>
         </constraint>
         <constraint name="cmp-2" severity="ERROR" message="A section can only have an emptyReason if it is empty">
            <expression language="text/fhirpath" expression="emptyReason.empty() or entry.empty()"/>
         </constraint>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="subject"/>
      <contextRelationship context="Practitioner" relatedKeyElement="author"/>
      <contextRelationship context="Practitioner" relatedKeyElement="party"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="author"/>
      <contextRelationship context="Patient" relatedKeyElement="party"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="author"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="author"/>
      <search name="attester" path="attester.party">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="context" path="event.code" type="System.Code"/>
      <search name="author" path="author">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="encounter" path="encounter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="type" path="type" type="System.Code"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="category" path="category" type="System.Code"/>
      <search name="confidentiality" path="confidentiality" type="System.Code"/>
      <search name="period" path="event.period" type="System.DateTime"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="section" path="section.code" type="System.Code"/>
      <search name="entry" path="section.entry">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Composition.Attester" retrievable="false" xsi:type="ClassInfo">
      <element name="mode" elementType="FHIR.CompositionAttestationMode" description="personal | professional | legal | official" definition="The type of attestation the authenticator offers.">
         <binding name="CompositionAttestationMode" description="The way in which a person authenticated a composition." strength="Required"/>
      </element>
      <element name="time" elementType="FHIR.dateTime" description="When the composition was attested" definition="When the composition was attested by the party."/>
      <element name="party" elementType="FHIR.Reference" description="Who attested the composition" definition="Who attested the composition in the specified way."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Composition.Event" retrievable="false" xsi:type="ClassInfo">
      <element name="code" description="Code(s) that apply to the event being documented" definition="This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a &quot;History and Physical Report&quot; in which the procedure being documented is necessarily a &quot;History and Physical&quot; act." comment="An event can further specialize the act inherent in the typeCode, such as where it is simply &quot;Procedure Report&quot; and the procedure was a &quot;colonoscopy&quot;. If one or more eventCodes are included, they SHALL NOT conflict with the values inherent in the classCode, practiceSettingCode or typeCode, as such a conflict would create an ambiguous situation. This short list of codes is provided to be used as key words for certain types of queries.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DocumentEventType" description="This list of codes represents the main clinical acts being documented." strength="Example"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="The period covered by the documentation" definition="The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time."/>
      <element name="detail" description="The event(s) being documented" definition="The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Composition.RelatesTo" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.DocumentRelationshipType" description="replaces | transforms | signs | appends" definition="The type of relationship that this composition has with anther composition or document." comment="If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.">
         <binding name="DocumentRelationshipType" description="The type of relationship between documents." strength="Required"/>
      </element>
      <element name="target" description="Target of the relationship" definition="The target composition/document of this relationship.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Identifier" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Composition.Section" retrievable="false" xsi:type="ClassInfo">
      <element name="title" elementType="FHIR.string" description="Label for section (e.g. for ToC)" definition="The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents." comment="The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element."/>
      <element name="code" elementType="FHIR.CodeableConcept" description="Classification of section (recommended)" definition="A code identifying the kind of content contained within the section. This must be consistent with the section title." comment="The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   &#xa;&#xa;If the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.">
         <binding name="CompositionSectionType" description="Classification of a section of a composition/document." strength="Example"/>
      </element>
      <element name="author" description="Who and/or what authored the section" definition="Identifies who is responsible for the information in this section, not necessarily who typed it in.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="focus" elementType="FHIR.Reference" description="Who/what the section is about, when it is not about the subject of composition" definition="The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources)." comment="Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples."/>
      <element name="text" elementType="FHIR.Narrative" description="Text summary of the section, for human interpretation" definition="A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative." comment="Document profiles may define what content should be represented in the narrative to ensure clinical safety."/>
      <element name="mode" elementType="FHIR.SectionMode" description="working | snapshot | changes" definition="How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted." comment="This element is labeled as a modifier because a change list must not be misunderstood as a complete list.">
         <binding name="SectionMode" description="The processing mode that applies to this section." strength="Required"/>
      </element>
      <element name="orderedBy" elementType="FHIR.CodeableConcept" description="Order of section entries" definition="Specifies the order applied to the items in the section entries." comment="Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.">
         <binding name="SectionEntryOrder" description="What order applies to the items in the entry." strength="Preferred"/>
      </element>
      <element name="entry" description="A reference to data that supports this section" definition="A reference to the actual resource from which the narrative in the section is derived." comment="If there are no entries in the list, an emptyReason SHOULD be provided.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="emptyReason" elementType="FHIR.CodeableConcept" description="Why the section is empty" definition="If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason." comment="The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.">
         <binding name="SectionEmptyReason" description="If a section is empty, why it is empty." strength="Preferred"/>
      </element>
      <element name="section" description="Nested Section" definition="A nested sub-section within this section." comment="Nested sections are primarily used to help human readers navigate to particular portions of the document.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="Composition.Section" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CompositionAttestationMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CompositionStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ConceptMap" identifier="http://hl7.org/fhir/StructureDefinition/ConceptMap" label="ConceptMap" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this concept map, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this concept map 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 concept map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the concept map 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" elementType="FHIR.Identifier" description="Additional identifier for the concept map" definition="A formal identifier that is used to identify this concept map when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this concept map outside of FHIR, where it is not possible to use the logical URI."/>
      <element name="version" elementType="FHIR.string" description="Business version of the concept map" definition="The identifier that is used to identify this version of the concept map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the concept map 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 concept map 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 concept map with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this concept map (computer friendly)" definition="A natural language name identifying the concept map. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this concept map (human friendly)" definition="A short, descriptive, user-friendly title for the concept map." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this concept map. Enables tracking the life-cycle of the content." comment="Allows filtering of concept maps that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this concept map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of concept maps that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the concept map 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 concept map 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 concept map. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the concept map." comment="Usually an organization but may be an individual. The publisher (or steward) of the concept map is the organization or individual primarily responsible for the maintenance and upkeep of the concept map. 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 concept map. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the concept map" definition="A free text natural language description of the concept map from a consumer's perspective." comment="The description is not intended to describe the semantics of the concept map. The description should capture its intended use, which is needed for ensuring integrity for its use in models across future changes."/>
      <element name="useContext" description="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 concept map instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for concept map (if applicable)" definition="A legal or geographic region in which the concept map is intended to be used." comment="It may be possible for the concept map to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this concept map is defined" definition="Explanation of why this concept map is needed and why it has been designed as it has." comment="This element does not describe the usage of the concept map. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this concept map."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the concept map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the concept map." comment="Frequently the copyright differs between the concept map and codes that are included. The copyright statement should clearly differentiate between these when required."/>
      <element name="source" description="The source value set that contains the concepts that are being mapped" definition="Identifier for the source value set that contains the concepts that are being mapped and provides context for the mappings." comment="Should be a version specific reference. URIs SHOULD be absolute. If there is no source or target value set, there is no specified context for the map (not recommended).  The source value set may select codes from either an explicit (standard or local) or implicit code system.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="target" description="The target value set which provides context for the mappings" definition="The target value set provides context for the mappings. Note that the mapping is made between concepts, not between value sets, but the value set provides important context about how the concept mapping choices are made." comment="Should be a version specific reference. URIs SHOULD be absolute. If there is no source or target value set, the is no specified context for the map.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="group" description="Same source and target systems" definition="A group of mappings that all have the same source and target system.">
         <elementTypeSpecifier elementType="FHIR.ConceptMap.Group" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="target-code" path="group.element.target.code" type="System.Code"/>
      <search name="description" path="description" type="System.String"/>
      <search name="target-system" path="group.target" type="System.String"/>
      <search name="dependson" path="group.element.target.dependsOn.property" type="System.String"/>
      <search name="source-system" path="group.source" type="System.String"/>
      <search name="url" path="url" type="System.String"/>
      <search name="product" path="group.element.target.product.property" type="System.String"/>
      <search name="source-code" path="group.element.code" type="System.Code"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="other" path="group.unmapped.url" type="FHIR.ConceptMap"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ConceptMap.Group" retrievable="false" xsi:type="ClassInfo">
      <element name="source" elementType="FHIR.uri" description="Source system where concepts to be mapped are defined" definition="An absolute URI that identifies the source system where the concepts to be mapped are defined." comment="This is not needed if the source value set is specified and it contains concepts from only a single system."/>
      <element name="sourceVersion" elementType="FHIR.string" description="Specific version of the  code system" definition="The specific version of the code system, as determined by the code system authority." comment="The specification of a particular code system version may be required for code systems which lack concept permanence."/>
      <element name="target" elementType="FHIR.uri" description="Target system that the concepts are to be mapped to" definition="An absolute URI that identifies the target system that the concepts will be mapped to." comment="This is not needed if the target value set is specified and it contains concepts from only a single system. The group target may also be omitted if all of the target element equivalence values are 'unmatched'."/>
      <element name="targetVersion" elementType="FHIR.string" description="Specific version of the  code system" definition="The specific version of the code system, as determined by the code system authority." comment="The specification of a particular code system version may be required for code systems which lack concept permanence."/>
      <element name="element" description="Mappings for a concept from the source set" definition="Mappings for an individual concept in the source to one or more concepts in the target." comment="Generally, the ideal is that there would only be one mapping for each concept in the source value set, but a given concept may be mapped multiple times with different comments or dependencies.">
         <elementTypeSpecifier elementType="FHIR.ConceptMap.Group.Element" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="unmapped" elementType="FHIR.ConceptMap.Group.Unmapped" description="What to do when there is no mapping for the source concept" definition="What to do when there is no mapping for the source concept. &quot;Unmapped&quot; does not include codes that are unmatched, and the unmapped element is ignored in a code is specified to have equivalence = unmatched." comment="This only applies if the source code has a system value that matches the system defined for the group.">
         <constraint name="cmd-3" severity="ERROR" message="If the mode is 'other-map', a url must be provided">
            <expression language="text/fhirpath" expression="(mode = 'other-map') implies url.exists()"/>
         </constraint>
         <constraint name="cmd-2" severity="ERROR" message="If the mode is 'fixed', a code must be provided">
            <expression language="text/fhirpath" expression="(mode = 'fixed') implies code.exists()"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ConceptMap.Group.Element" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.code" description="Identifies element being mapped" definition="Identity (code or path) or the element/item being mapped."/>
      <element name="display" elementType="FHIR.string" description="Display for the code" definition="The display for the code. The display is only provided to help editors when editing the concept map." comment="The display is ignored when processing the map."/>
      <element name="target" description="Concept in target system for element" definition="A concept from the target value set that this concept maps to." comment="Ideally there would only be one map, with equal or equivalent mapping. But multiple maps are allowed for several narrower options, or to assert that other concepts are unmatched.">
         <elementTypeSpecifier elementType="FHIR.ConceptMap.Group.Element.Target" xsi:type="ListTypeSpecifier"/>
         <constraint name="cmd-1" severity="ERROR" message="If the map is narrower or inexact, there SHALL be some comments">
            <expression language="text/fhirpath" expression="comment.exists() or equivalence.empty() or ((equivalence != 'narrower') and (equivalence != 'inexact'))"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ConceptMap.Group.Element.Target" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.code" description="Code that identifies the target element" definition="Identity (code or path) or the element/item that the map refers to."/>
      <element name="display" elementType="FHIR.string" description="Display for the code" definition="The display for the code. The display is only provided to help editors when editing the concept map." comment="The display is ignored when processing the map."/>
      <element name="equivalence" elementType="FHIR.ConceptMapEquivalence" description="relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint" definition="The equivalence between the source and target concepts (counting for the dependencies and products). The equivalence is read from target to source (e.g. the target is 'wider' than the source)." comment="This element is labeled as a modifier because it may indicate that a target does not apply.">
         <binding name="ConceptMapEquivalence" description="The degree of equivalence between concepts." strength="Required"/>
      </element>
      <element name="comment" elementType="FHIR.string" description="Description of status/issues in mapping" definition="A description of status/issues in mapping that conveys additional information not represented in  the structured data."/>
      <element name="dependsOn" description="Other elements required for this mapping (from context)" definition="A set of additional dependencies for this mapping to hold. This mapping is only applicable if the specified element can be resolved, and it has the specified value.">
         <elementTypeSpecifier elementType="FHIR.ConceptMap.Group.Element.Target.DependsOn" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="product" description="Other concepts that this mapping also produces" definition="A set of additional outcomes from this mapping to other elements. To properly execute this mapping, the specified element must be mapped to some data element or source that is in context. The mapping may still be useful without a place for the additional data elements, but the equivalence cannot be relied on.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ConceptMap.Group.Element.Target.DependsOn" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ConceptMap.Group.Element.Target.DependsOn" retrievable="false" xsi:type="ClassInfo">
      <element name="property" elementType="FHIR.uri" description="Reference to property mapping depends on" definition="A reference to an element that holds a coded value that corresponds to a code system property. The idea is that the information model carries an element somewhere that is labeled to correspond with a code system property."/>
      <element name="system" elementType="FHIR.canonical" description="Code System (if necessary)" definition="An absolute URI that identifies the code system of the dependency code (if the source/dependency is a value set that crosses code systems)."/>
      <element name="value" elementType="FHIR.string" description="Value of the referenced element" definition="Identity (code or path) or the element/item/ValueSet/text that the map depends on / refers to."/>
      <element name="display" elementType="FHIR.string" description="Display for the code (if value is a code)" definition="The display for the code. The display is only provided to help editors when editing the concept map." comment="The display is ignored when processing the map."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ConceptMap.Group.Unmapped" retrievable="false" xsi:type="ClassInfo">
      <element name="mode" elementType="FHIR.ConceptMapGroupUnmappedMode" description="provided | fixed | other-map" definition="Defines which action to take if there is no match for the source concept in the target system designated for the group. One of 3 actions are possible: use the unmapped code (this is useful when doing a mapping between versions, and only a few codes have changed), use a fixed code (a default code), or alternatively, a reference to a different concept map can be provided (by canonical URL).">
         <binding name="ConceptMapGroupUnmappedMode" description="Defines which action to take if there is no match in the group." strength="Required"/>
      </element>
      <element name="code" elementType="FHIR.code" description="Fixed code when mode = fixed" definition="The fixed code to use when the mode = 'fixed'  - all unmapped codes are mapped to a single fixed code."/>
      <element name="display" elementType="FHIR.string" description="Display for the code" definition="The display for the code. The display is only provided to help editors when editing the concept map." comment="The display is ignored when processing the map."/>
      <element name="url" elementType="FHIR.canonical" description="canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped" definition="The canonical reference to an additional ConceptMap resource instance to use for mapping if this ConceptMap resource contains no matching mapping for the source concept."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ConceptMapEquivalence" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ConceptMapGroupUnmappedMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Condition" identifier="http://hl7.org/fhir/StructureDefinition/Condition" label="Condition" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="External Ids for this condition" definition="Business identifiers assigned to this condition by the performer or other systems which remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="clinicalStatus" elementType="FHIR.CodeableConcept" description="active | recurrence | relapse | inactive | remission | resolved" definition="The clinical status of the condition." comment="The data type is CodeableConcept because clinicalStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.">
         <binding name="ConditionClinicalStatus" description="The clinical status of the condition or diagnosis." strength="Required"/>
      </element>
      <element name="verificationStatus" elementType="FHIR.CodeableConcept" description="unconfirmed | provisional | differential | confirmed | refuted | entered-in-error" definition="The verification status to support the clinical status of the condition." comment="verificationStatus is not required.  For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status.&#xa;The data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.">
         <binding name="ConditionVerificationStatus" description="The verification status to support or decline the clinical status of the condition or diagnosis." strength="Required"/>
      </element>
      <element name="category" description="problem-list-item | encounter-diagnosis" definition="A category assigned to the condition." comment="The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ConditionCategory" description="A category assigned to the condition." strength="Extensible"/>
      </element>
      <element name="severity" elementType="FHIR.CodeableConcept" description="Subjective severity of condition" definition="A subjective assessment of the severity of the condition as evaluated by the clinician." comment="Coding of the severity with a terminology is preferred, where possible.">
         <binding name="ConditionSeverity" description="A subjective assessment of the severity of the condition as evaluated by the clinician." strength="Preferred"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Identification of the condition, problem or diagnosis" definition="Identification of the condition, problem or diagnosis.">
         <binding name="ConditionKind" description="Identification of the condition or diagnosis." strength="Example"/>
      </element>
      <element name="bodySite" description="Anatomical location, if relevant" definition="The anatomical location where this condition manifests itself." comment="Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](extension-bodysite.html).  May be a summary code, or a reference to a very precise definition of the location, or both.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="BodySite" description="Codes describing anatomical locations. May include laterality." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who has the condition?" definition="Indicates the patient or group who the condition record is associated with."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter created as part of" definition="The Encounter during which this Condition was created or to which the creation of this record is tightly associated." comment="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. This record indicates the encounter this particular record is associated with.  In the case of a &quot;new&quot; diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first &quot;known&quot;."/>
      <element name="onset" description="Estimated or actual date,  date-time, or age" definition="Estimated or actual date or date-time  the condition began, in the opinion of the clinician." comment="Age is generally used when the patient reports an age at which the Condition began to occur.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="abatement" description="When in resolution/remission" definition="The date or estimated date that the condition resolved or went into remission. This is called &quot;abatement&quot; because of the many overloaded connotations associated with &quot;remission&quot; or &quot;resolution&quot; - Conditions are never really resolved, but they can abate." comment="There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated.  If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid.  When abatementString exists, it implies the condition is abated.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="recordedDate" elementType="FHIR.dateTime" description="Date record was first recorded" definition="The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date."/>
      <element name="recorder" elementType="FHIR.Reference" description="Who recorded the condition" definition="Individual who recorded the record and takes responsibility for its content."/>
      <element name="asserter" elementType="FHIR.Reference" description="Person who asserts this condition" definition="Individual who is making the condition statement."/>
      <element name="stage" description="Stage/grade, usually assessed formally" definition="Clinical stage or grade of a condition. May include formal severity assessments.">
         <elementTypeSpecifier elementType="FHIR.Condition.Stage" xsi:type="ListTypeSpecifier"/>
         <constraint name="con-1" severity="ERROR" message="Stage SHALL have summary or assessment">
            <expression language="text/fhirpath" expression="summary.exists() or assessment.exists()"/>
         </constraint>
      </element>
      <element name="evidence" description="Supporting evidence" definition="Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition." comment="The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.">
         <elementTypeSpecifier elementType="FHIR.Condition.Evidence" xsi:type="ListTypeSpecifier"/>
         <constraint name="con-2" severity="ERROR" message="evidence SHALL have code or details">
            <expression language="text/fhirpath" expression="code.exists() or detail.exists()"/>
         </constraint>
      </element>
      <element name="note" description="Additional information about the Condition" definition="Additional information about the Condition. This is a general notes/comments entry  for description of the Condition, its diagnosis and prognosis.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="asserter"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Patient" relatedKeyElement="asserter"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="asserter"/>
      <search name="evidence" path="evidence.code" type="System.Code"/>
      <search name="abatement-string" path="abatement.as(string)" type="System.String"/>
      <search name="onset-date" path="onset.as(dateTime)|onset.as(Period)" type="System.DateTime"/>
      <search name="verification-status" path="verificationStatus" type="System.Code"/>
      <search name="abatement-age" path="abatement.as(Age)|abatement.as(Range)" type="System.Quantity"/>
      <search name="evidence-detail" path="evidence.detail">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="clinical-status" path="clinicalStatus" type="System.Code"/>
      <search name="recorded-date" path="recordedDate" type="System.DateTime"/>
      <search name="abatement-date" path="abatement.as(dateTime)|abatement.as(Period)" type="System.DateTime"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="encounter" path="encounter" type="FHIR.Encounter"/>
      <search name="code" path="code" type="System.Code"/>
      <search name="body-site" path="bodySite" type="System.Code"/>
      <search name="severity" path="severity" type="System.Code"/>
      <search name="onset-age" path="onset.as(Age)|onset.as(Range)" type="System.Quantity"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="asserter" path="asserter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="stage" path="stage.summary" type="System.Code"/>
      <search name="onset-info" path="onset.as(string)" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Condition.Evidence" retrievable="false" xsi:type="ClassInfo">
      <element name="code" description="Manifestation/symptom" definition="A manifestation or symptom that led to the recording of this condition.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ManifestationOrSymptom" description="Codes that describe the manifestation or symptoms of a condition." strength="Example"/>
      </element>
      <element name="detail" description="Supporting information found elsewhere" definition="Links to other relevant information, including pathology reports.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Condition.Stage" retrievable="false" xsi:type="ClassInfo">
      <element name="summary" elementType="FHIR.CodeableConcept" description="Simple summary (disease specific)" definition="A simple summary of the stage such as &quot;Stage 3&quot;. The determination of the stage is disease-specific.">
         <binding name="ConditionStage" description="Codes describing condition stages (e.g. Cancer stages)." strength="Example"/>
      </element>
      <element name="assessment" description="Formal record of assessment" definition="Reference to a formal record of the evidence on which the staging assessment is based.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Kind of staging" definition="The kind of staging, such as pathological or clinical staging.">
         <binding name="ConditionStageType" description="Codes describing the kind of condition staging (e.g. clinical or pathological)." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ConditionalDeleteStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ConditionalReadStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Consent" identifier="http://hl7.org/fhir/StructureDefinition/Consent" label="Consent" retrievable="true" primaryCodePath="category" xsi:type="ClassInfo">
      <element name="identifier" description="Identifier for this record (external references)" definition="Unique identifier for this copy of the Consent Statement." comment="This identifier identifies this copy of the consent. Where this identifier is also used elsewhere as the identifier for a consent record (e.g. a CDA consent document) then the consent details are expected to be the same.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ConsentState" description="draft | proposed | active | rejected | inactive | entered-in-error" definition="Indicates the current state of this consent." comment="This element is labeled as a modifier because the status contains the codes rejected and entered-in-error that mark the Consent as not currently valid.">
         <binding name="ConsentState" description="Indicates the state of the consent." strength="Required"/>
      </element>
      <element name="scope" elementType="FHIR.CodeableConcept" description="Which of the four areas this resource covers (extensible)" definition="A selector of the type of consent being presented: ADR, Privacy, Treatment, Research.  This list is now extensible.">
         <binding name="ConsentScope" description="The four anticipated uses for the Consent Resource." strength="Extensible"/>
      </element>
      <element name="category" description="Classification of the consent statement - for indexing/retrieval" definition="A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ConsentCategory" description="A classification of the type of consents found in a consent statement." strength="Extensible"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="Who the consent applies to" definition="The patient/healthcare consumer to whom this consent applies." comment="Commonly, the patient the consent pertains to is the author, but for young and old people, it may be some other person."/>
      <element name="dateTime" elementType="FHIR.dateTime" description="When this Consent was created or indexed" definition="When this  Consent was issued / created / indexed." comment="This is not the time of the original consent, but the time that this statement was made or derived."/>
      <element name="performer" description="Who is agreeing to the policy and rules" definition="Either the Grantor, which is the entity responsible for granting the rights listed in a Consent Directive or the Grantee, which is the entity responsible for complying with the Consent Directive, including any obligations or limitations on authorizations and enforcement of prohibitions." comment="Commonly, the patient the consent pertains to is the consentor, but particularly for young and old people, it may be some other person - e.g. a legal guardian.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="organization" description="Custodian of the consent" definition="The organization that manages the consent, and the framework within which it is executed.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="source" description="Source from which this consent is taken" definition="The source on which this consent statement is based. The source might be a scanned original paper form, or a reference to a consent that links back to such a source, a reference to a document repository (e.g. XDS) that stores the original consent document." comment="The source can be contained inline (Attachment), referenced directly (Consent), referenced in a consent repository (DocumentReference), or simply by an identifier (Identifier), e.g. a CDA document id.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="policy" description="Policies covered by this consent" definition="The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law.">
         <elementTypeSpecifier elementType="FHIR.Consent.Policy" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="policyRule" elementType="FHIR.CodeableConcept" description="Regulation that this consents to" definition="A reference to the specific base computable regulation or policy." comment="If the policyRule is absent, computable consent would need to be constructed from the elements of the Consent resource.">
         <binding name="ConsentPolicyRule" description="Regulatory policy examples." strength="Extensible"/>
      </element>
      <element name="verification" description="Consent Verified by patient or family" definition="Whether a treatment instruction (e.g. artificial respiration yes or no) was verified with the patient, his/her family or another authorized person.">
         <elementTypeSpecifier elementType="FHIR.Consent.Verification" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="provision" elementType="FHIR.Consent.Provision" description="Constraints to the base Consent.policyRule" definition="An exception to the base policy of this consent. An exception can be an addition or removal of access permissions."/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="scope" path="scope" type="System.Code"/>
      <search name="period" path="provision.period" type="System.DateTime"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="source-reference" path="source">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="purpose" path="provision.purpose" type="System.Code"/>
      <search name="date" path="dateTime" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="data" path="provision.data.reference">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="patient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="action" path="provision.action" type="System.Code"/>
      <search name="consentor" path="performer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="organization" path="organization" type="FHIR.Organization"/>
      <search name="actor" path="provision.actor.reference">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="security-label" path="provision.securityLabel" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Consent.Policy" retrievable="false" xsi:type="ClassInfo">
      <element name="authority" elementType="FHIR.uri" description="Enforcement source for policy" definition="Entity or Organization having regulatory jurisdiction or accountability for  enforcing policies pertaining to Consent Directives."/>
      <element name="uri" elementType="FHIR.uri" description="Specific policy covered by this consent" definition="The references to the policies that are included in this consent scope. Policies may be organizational, but are often defined jurisdictionally, or in law." comment="This element is for discoverability / documentation and does not modify or qualify the policy rules."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Consent.Provision" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.ConsentProvisionType" description="deny | permit" definition="Action  to take - permit or deny - when the rule conditions are met.  Not permitted in root rule, required in all nested rules.">
         <binding name="ConsentProvisionType" description="How a rule statement is applied, such as adding additional consent or removing consent." strength="Required"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Timeframe for this rule" definition="The timeframe in this rule is valid."/>
      <element name="actor" description="Who|what controlled by this rule (or group, by role)" definition="Who or what is controlled by this rule. Use group to identify a set of actors by some property they share (e.g. 'admitting officers').">
         <elementTypeSpecifier elementType="FHIR.Consent.Provision.Actor" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="action" description="Actions controlled by this rule" definition="Actions controlled by this Rule." comment="Note that this is the direct action (not the grounds for the action covered in the purpose element). At present, the only action in the understood and tested scope of this resource is 'read'.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ConsentAction" description="Detailed codes for the consent action." strength="Example"/>
      </element>
      <element name="securityLabel" description="Security Labels that define affected resources" definition="A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception." comment="If the consent specifies a security label of &quot;R&quot; then it applies to all resources that are labeled &quot;R&quot; or lower. E.g. for Confidentiality, it's a high water mark. For other kinds of security labels, subsumption logic applies. When the purpose of use tag is on the data, access request purpose of use shall not conflict.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="SecurityLabels" description="Security Labels from the Healthcare Privacy and Security Classification System." strength="Extensible"/>
      </element>
      <element name="purpose" description="Context of activities covered by this rule" definition="The context of the activities a user is taking - why the user is accessing the data - that are controlled by this rule." comment="When the purpose of use tag is on the data, access request purpose of use shall not conflict.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="PurposeOfUse" description="What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels." strength="Extensible"/>
      </element>
      <element name="class" description="e.g. Resource Type, Profile, CDA, etc." definition="The class of information covered by this rule. The type can be a FHIR resource type, a profile on a type, or a CDA document, or some other type that indicates what sort of information the consent relates to." comment="Multiple types are or'ed together. The intention of the contentType element is that the codes refer to profiles or document types defined in a standard or an implementation guide somewhere.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="ConsentContentClass" description="The class (type) of information a consent rule covers." strength="Extensible"/>
      </element>
      <element name="code" description="e.g. LOINC or SNOMED CT code, etc. in the content" definition="If this code is found in an instance, then the rule applies." comment="Typical use of this is a Document code with class = CDA.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ConsentContentCode" description="If this code is found in an instance, then the exception applies." strength="Example"/>
      </element>
      <element name="dataPeriod" elementType="FHIR.Period" description="Timeframe for data controlled by this rule" definition="Clinical or Operational Relevant period of time that bounds the data controlled by this rule." comment="This has a different sense to the Consent.period - that is when the consent agreement holds. This is the time period of the data that is controlled by the agreement."/>
      <element name="data" description="Data controlled by this rule" definition="The resources controlled by this rule if specific resources are referenced.">
         <elementTypeSpecifier elementType="FHIR.Consent.Provision.Data" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="provision" description="Nested Exception Rules" definition="Rules which provide exceptions to the base rule or subrules.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="Consent.Provision" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Consent.Provision.Actor" retrievable="false" xsi:type="ClassInfo">
      <element name="role" elementType="FHIR.CodeableConcept" description="How the actor is involved" definition="How the individual is involved in the resources content that is described in the exception.">
         <binding name="ConsentActorRole" description="How an actor is involved in the consent considerations." strength="Extensible"/>
      </element>
      <element name="reference" elementType="FHIR.Reference" description="Resource for the actor (or group, by role)" definition="The resource that identifies the actor. To identify actors by type, use group to identify a set of actors by some property they share (e.g. 'admitting officers')."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Consent.Provision.Data" retrievable="false" xsi:type="ClassInfo">
      <element name="meaning" elementType="FHIR.ConsentDataMeaning" description="instance | related | dependents | authoredby" definition="How the resource reference is interpreted when testing consent restrictions.">
         <binding name="ConsentDataMeaning" description="How a resource reference is interpreted when testing consent restrictions." strength="Required"/>
      </element>
      <element name="reference" elementType="FHIR.Reference" description="The actual data reference" definition="A reference to a specific resource that defines which resources are covered by this consent."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Consent.Verification" retrievable="false" xsi:type="ClassInfo">
      <element name="verified" elementType="FHIR.boolean" description="Has been verified" definition="Has the instruction been verified."/>
      <element name="verifiedWith" elementType="FHIR.Reference" description="Person who verified" definition="Who verified the instruction (Patient, Relative or other Authorized Person)."/>
      <element name="verificationDate" elementType="FHIR.dateTime" description="When consent verified" definition="Date verification was collected."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ConsentDataMeaning" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ConsentProvisionType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ConsentState" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ConstraintSeverity" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ContactDetail" identifier="http://hl7.org/fhir/StructureDefinition/ContactDetail" label="ContactDetail" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Name of an individual to contact" definition="The name of an individual to contact." comment="If there is no named individual, the telecom information is for the organization as a whole."/>
      <element name="telecom" description="Contact details for individual or organization" definition="The contact details for the individual (if a name was provided) or the organization.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ContactPoint" identifier="http://hl7.org/fhir/StructureDefinition/ContactPoint" label="ContactPoint" retrievable="false" xsi:type="ClassInfo">
      <element name="system" elementType="FHIR.ContactPointSystem" description="phone | fax | email | pager | url | sms | other" definition="Telecommunications form for contact point - what communications system is required to make use of the contact.">
         <binding name="ContactPointSystem" description="Telecommunications form for contact point." strength="Required"/>
      </element>
      <element name="value" elementType="FHIR.string" description="The actual contact point details" definition="The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address)." comment="Additional text data such as phone extension numbers, or notes about use of the contact are sometimes included in the value."/>
      <element name="use" elementType="FHIR.ContactPointUse" description="home | work | temp | old | mobile - purpose of this contact point" definition="Identifies the purpose for the contact point." comment="Applications can assume that a contact is current unless it explicitly says that it is temporary or old.">
         <binding name="ContactPointUse" description="Use of contact point." strength="Required"/>
      </element>
      <element name="rank" elementType="FHIR.positiveInt" description="Specify preferred order of use (1 = highest)" definition="Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values." comment="Note that rank does not necessarily follow the order in which the contacts are represented in the instance."/>
      <element name="period" elementType="FHIR.Period" description="Time period when the contact point was/is in use" definition="Time period when the contact point was/is in use."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ContactPointSystem" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ContactPointUse" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Contract" identifier="http://hl7.org/fhir/StructureDefinition/Contract" label="Contract" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Contract number" definition="Unique identifier for this Contract or a derivative that references a Source Contract.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="url" elementType="FHIR.uri" description="Basal definition" definition="Canonical identifier for this contract, represented as a URI (globally unique)." comment="Used in a domain that uses a supplied contract repository."/>
      <element name="version" elementType="FHIR.string" description="Business edition" definition="An edition identifier used for business purposes to label business significant variants." comment="Note -  This is a business versionId, not a resource version id (see discussion http://build.fhir.org/resource.html#versions) &#xd;Comments - There may be different contract 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 plan definition with the format [url]|[version]."/>
      <element name="status" elementType="FHIR.ContractStatus" description="amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated" definition="The status of the resource instance." comment="This element is labeled as a modifier because the status contains codes that mark the contract as not currently valid or active.">
         <binding name="ContractStatus" description="A code specifying the state of the resource instance." strength="Required"/>
      </element>
      <element name="legalState" elementType="FHIR.CodeableConcept" description="Negotiation status" definition="Legal states of the formation of a legal instrument, which is a formally executed written document that can be formally attributed to its author, records and formally expresses a legally enforceable act, process, or contractual duty, obligation, or right, and therefore evidences that act, process, or agreement.">
         <binding name="ContractLegalState" description="Detailed codes for the legal state of a contract." strength="Extensible"/>
      </element>
      <element name="instantiatesCanonical" elementType="FHIR.Reference" description="Source Contract Definition" definition="The URL pointing to a FHIR-defined Contract Definition that is adhered to in whole or part by this Contract."/>
      <element name="instantiatesUri" elementType="FHIR.uri" description="External Contract Definition" definition="The URL pointing to an externally maintained definition that is adhered to in whole or in part by this Contract."/>
      <element name="contentDerivative" elementType="FHIR.CodeableConcept" description="Content derived from the basal information" definition="The minimal content derived from the basal information source at a specific stage in its lifecycle.">
         <binding name="ContractContentDerivative" description="This is an example set of Content Derivative type codes, which represent the minimal content derived from the basal information source." strength="Example"/>
      </element>
      <element name="issued" elementType="FHIR.dateTime" description="When this Contract was issued" definition="When this  Contract was issued."/>
      <element name="applies" elementType="FHIR.Period" description="Effective time" definition="Relevant time or time-period when this Contract is applicable."/>
      <element name="expirationType" elementType="FHIR.CodeableConcept" description="Contract cessation cause" definition="Event resulting in discontinuation or termination of this Contract instance by one or more parties to the contract.">
         <binding name="ContractExpiration" description="Codes for the Cessation of Contracts." strength="Example"/>
      </element>
      <element name="subject" description="Contract Target Entity" definition="The target entity impacted by or of interest to parties to the agreement." comment="The Contract.subject is an entity that has some role with respect to the Contract.topic and Contract.topic.term, which is of focal interest to the parties to the contract and likely impacted in a significant way by the Contract.action/Contract.action.reason and the Contract.term.action/Contract.action.reason. &#xd;In many cases, the Contract.subject is a Contract.signer if the subject is an adult; has a legal interest in the contract; and incompetent to participate in the contract agreement.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="authority" description="Authority under which this Contract has standing" definition="A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="domain" description="A sphere of control governed by an authoritative jurisdiction, organization, or person" definition="Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="site" description="Specific Location" definition="Sites in which the contract is complied with,  exercised, or in force.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="name" elementType="FHIR.string" description="Computer friendly designation" definition="A natural language name identifying this Contract definition, derivative, or instance in any legal state. Provides additional information about its content. 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."/>
      <element name="title" elementType="FHIR.string" description="Human Friendly name" definition="A short, descriptive, user-friendly title for this Contract definition, derivative, or instance in any legal state.t giving additional information about its content."/>
      <element name="subtitle" elementType="FHIR.string" description="Subordinate Friendly name" definition="An explanatory or alternate user-friendly title for this Contract definition, derivative, or instance in any legal state.t giving additional information about its content."/>
      <element name="alias" description="Acronym or short name" definition="Alternative representation of the title for this Contract definition, derivative, or instance in any legal state., e.g., a domain specific contract number related to legislation.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="author" elementType="FHIR.Reference" description="Source of Contract" definition="The individual or organization that authored the Contract definition, derivative, or instance in any legal state."/>
      <element name="scope" elementType="FHIR.CodeableConcept" description="Range of Legal Concerns" definition="A selector of legal concerns for this Contract definition, derivative, or instance in any legal state.">
         <binding name="ContractScope" description="Codes for the range of legal concerns." strength="Example"/>
      </element>
      <element name="topic" description="Focus of contract interest" definition="Narrows the range of legal concerns to focus on the achievement of specific contractual objectives.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Legal instrument category" definition="A high-level category for the legal instrument, whether constructed as a Contract definition, derivative, or instance in any legal state.  Provides additional information about its content within the context of the Contract's scope to distinguish the kinds of systems that would be interested in the contract.">
         <binding name="ContractType" description="List of overall contract codes." strength="Example"/>
      </element>
      <element name="subType" description="Subtype within the context of type" definition="Sub-category for the Contract that distinguishes the kinds of systems that would be interested in the Contract within the context of the Contract's scope.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ContractSubtype" description="Detailed codes within the above." strength="Example"/>
      </element>
      <element name="contentDefinition" elementType="FHIR.Contract.ContentDefinition" description="Contract precursor content" definition="Precusory content developed with a focus and intent of supporting the formation a Contract instance, which may be associated with and transformable into a Contract."/>
      <element name="term" description="Contract Term List" definition="One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.">
         <elementTypeSpecifier elementType="FHIR.Contract.Term" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="supportingInfo" description="Extra Information" definition="Information that may be needed by/relevant to the performer in their execution of this term action.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relevantHistory" description="Key event in Contract History" definition="Links to Provenance records for past versions of this Contract definition, derivative, or instance, which identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the Contract.  The Provence.entity indicates the target that was changed in the update. http://build.fhir.org/provenance-definitions.html#Provenance.entity.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="signer" description="Contract Signatory" definition="Parties with legal standing in the Contract, including the principal parties, the grantor(s) and grantee(s), which are any person or organization bound by the contract, and any ancillary parties, which facilitate the execution of the contract such as a notary or witness." comment="Signers who are principal parties to the contract are bound by the Contract.activity related to the Contract.topic, and the Contract.term(s), which either extend or restrict the overall action on the topic by, for example, stipulating specific policies or obligations constraining actions, action reason, or agents with respect to some or all of the topic.&#xd;For example, specifying how policies or obligations shall constrain actions and action reasons permitted or denied on all or a subset of the Contract.topic (e.g., all or a portion of property being transferred by the contract), agents (e.g., who can resell, assign interests, or alter the property being transferred by the contract), actions, and action reasons; or with respect to Contract.terms, stipulating, extending, or limiting the Contract.period of applicability or valuation of items under consideration.">
         <elementTypeSpecifier elementType="FHIR.Contract.Signer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="friendly" description="Contract Friendly Language" definition="The &quot;patient friendly language&quot; versionof the Contract in whole or in parts. &quot;Patient friendly language&quot; means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement.">
         <elementTypeSpecifier elementType="FHIR.Contract.Friendly" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="legal" description="Contract Legal Language" definition="List of Legal expressions or representations of this Contract.">
         <elementTypeSpecifier elementType="FHIR.Contract.Legal" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="rule" description="Computable Contract Language" definition="List of Computable Policy Rule Language Representations of this Contract.">
         <elementTypeSpecifier elementType="FHIR.Contract.Rule" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="legallyBinding" description="Binding Contract" definition="Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the &quot;source of truth&quot; and which would be the basis for legal action related to enforcement of this Contract.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <search name="url" path="url" type="System.String"/>
      <search name="signer" path="signer.party">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="domain" path="domain" type="FHIR.Location"/>
      <search name="issued" path="issued" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="instantiates" path="instantiatesUri" type="System.String"/>
      <search name="authority" path="authority" type="FHIR.Organization"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.ContentDefinition" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Content structure and use" definition="Precusory content structure and use, i.e., a boilerplate, template, application for a contract such as an insurance policy or benefits under a program, e.g., workers compensation.">
         <binding name="ContractDefinitionType" description="Detailed codes for the definition of contracts." strength="Example"/>
      </element>
      <element name="subType" elementType="FHIR.CodeableConcept" description="Detailed Content Type Definition" definition="Detailed Precusory content type.">
         <binding name="ContractDefinitionSubtype" description="Detailed codes for the additional definition of contracts." strength="Example"/>
      </element>
      <element name="publisher" elementType="FHIR.Reference" description="Publisher Entity" definition="The  individual or organization that published the Contract precursor content."/>
      <element name="publicationDate" elementType="FHIR.dateTime" description="When published" definition="The date (and optionally time) when the contract 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 contract changes."/>
      <element name="publicationStatus" elementType="FHIR.ContractPublicationStatus" description="amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated" definition="amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated.">
         <binding name="ContractPublicationStatus" description="Status of the publication of contract content." strength="Required"/>
      </element>
      <element name="copyright" elementType="FHIR.markdown" description="Publication Ownership" definition="A copyright statement relating to Contract precursor content. Copyright statements are generally legal restrictions on the use and publishing of the Contract precursor content."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Friendly" retrievable="false" xsi:type="ClassInfo">
      <element name="content" description="Easily comprehended representation of this Contract" definition="Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Legal" retrievable="false" xsi:type="ClassInfo">
      <element name="content" description="Contract Legal Text" definition="Contract legal text in human renderable form.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Rule" retrievable="false" xsi:type="ClassInfo">
      <element name="content" description="Computable Contract Rules" definition="Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Signer" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.Coding" description="Contract Signatory Role" definition="Role of this Contract signer, e.g. notary, grantee.">
         <binding name="ContractSignerType" description="List of parties who may be signing." strength="Preferred"/>
      </element>
      <element name="party" elementType="FHIR.Reference" description="Contract Signatory Party" definition="Party which is a signator to this Contract."/>
      <element name="signature" description="Contract Documentation Signature" definition="Legally binding Contract DSIG signature contents in Base64.">
         <elementTypeSpecifier elementType="FHIR.Signature" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Term" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Contract Term Number" definition="Unique identifier for this particular Contract Provision."/>
      <element name="issued" elementType="FHIR.dateTime" description="Contract Term Issue Date Time" definition="When this Contract Provision was issued."/>
      <element name="applies" elementType="FHIR.Period" description="Contract Term Effective Time" definition="Relevant time or time-period when this Contract Provision is applicable."/>
      <element name="topic" description="Term Concern" definition="The entity that the term applies to.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Contract Term Type or Form" definition="A legal clause or condition contained within a contract that requires one or both parties to perform a particular requirement by some specified time or prevents one or both parties from performing a particular requirement by some specified time.">
         <binding name="ContractTermType" description="Detailed codes for the types of contract provisions." strength="Example"/>
      </element>
      <element name="subType" elementType="FHIR.CodeableConcept" description="Contract Term Type specific classification" definition="A specialized legal clause or condition based on overarching contract type.">
         <binding name="ContractTermSubType" description="Detailed codes for the subtypes of contract provisions." strength="Example"/>
      </element>
      <element name="text" elementType="FHIR.string" description="Term Statement" definition="Statement of a provision in a policy or a contract."/>
      <element name="securityLabel" description="Protection for the Term" definition="Security labels that protect the handling of information about the term and its elements, which may be specifically identified..">
         <elementTypeSpecifier elementType="FHIR.Contract.Term.SecurityLabel" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="offer" elementType="FHIR.Contract.Term.Offer" description="Context of the Contract term" definition="The matter of concern in the context of this provision of the agrement."/>
      <element name="asset" description="Contract Term Asset List" definition="Contract Term Asset List.">
         <elementTypeSpecifier elementType="FHIR.Contract.Term.Asset" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="action" description="Entity being ascribed responsibility" definition="An actor taking a role in an activity for which it can be assigned some degree of responsibility for the activity taking place." comment="Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.&#xd;For example, in cases of actions initiated by one user for other users, or in events that involve more than one user, hardware device, software, or system process. However, only one user may be the initiator/requestor for the event.">
         <elementTypeSpecifier elementType="FHIR.Contract.Term.Action" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="group" description="Nested Contract Term Group" definition="Nested group of Contract Provisions.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="Contract.Term" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Term.Action" retrievable="false" xsi:type="ClassInfo">
      <element name="doNotPerform" elementType="FHIR.boolean" description="True if the term prohibits the  action" definition="True if the term prohibits the  action."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Type or form of the action" definition="Activity or service obligation to be done or not done, performed or not performed, effectuated or not by this Contract term.">
         <binding name="ContractAction" description="Detailed codes for the contract action." strength="Example"/>
      </element>
      <element name="subject" description="Entity of the action" definition="Entity of the action.">
         <elementTypeSpecifier elementType="FHIR.Contract.Term.Action.Subject" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="intent" elementType="FHIR.CodeableConcept" description="Purpose for the Contract Term Action" definition="Reason or purpose for the action stipulated by this Contract Provision.">
         <binding name="ContractActionReason" description="Detailed codes for the contract action reason." strength="Example"/>
      </element>
      <element name="linkId" description="Pointer to specific item" definition="Id [identifier??] of the clause or question text related to this action in the referenced form or QuestionnaireResponse.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.CodeableConcept" description="State of the action" definition="Current state of the term action.">
         <binding name="ContractActionStatus" description="Codes for the status of an term action." strength="Example"/>
      </element>
      <element name="context" elementType="FHIR.Reference" description="Episode associated with action" definition="Encounter or Episode with primary association to specified term activity."/>
      <element name="contextLinkId" description="Pointer to specific item" definition="Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="occurrence" description="When action happens" definition="When action happens.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="requester" description="Who asked for action" definition="Who or what initiated the action and has responsibility for its activation.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="requesterLinkId" description="Pointer to specific item" definition="Id [identifier??] of the clause or question text related to the requester of this action in the referenced form or QuestionnaireResponse.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="performerType" description="Kind of service performer" definition="The type of individual that is desired or required to perform or not perform the action.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ContractActionPerformerType" description="Codes for the types of action perfomer." strength="Example"/>
      </element>
      <element name="performerRole" elementType="FHIR.CodeableConcept" description="Competency of the performer" definition="The type of role or competency of an individual desired or required to perform or not perform the action.">
         <binding name="ContractActionPerformerRole" description="Codes for the role of the action performer." strength="Example"/>
      </element>
      <element name="performer" elementType="FHIR.Reference" description="Actor that wil execute (or not) the action" definition="Indicates who or what is being asked to perform (or not perform) the ction."/>
      <element name="performerLinkId" description="Pointer to specific item" definition="Id [identifier??] of the clause or question text related to the reason type or reference of this  action in the referenced form or QuestionnaireResponse.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reasonCode" description="Why is action (not) needed?" definition="Rationale for the action to be performed or not performed. Describes why the action is permitted or prohibited.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ContractActionReason" description="Detailed codes for the contract action reason." strength="Example"/>
      </element>
      <element name="reasonReference" description="Why is action (not) needed?" definition="Indicates another resource whose existence justifies permitting or not permitting this action.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reason" description="Why action is to be performed" definition="Describes why the action is to be performed or not performed in textual form.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reasonLinkId" description="Pointer to specific item" definition="Id [identifier??] of the clause or question text related to the reason type or reference of this  action in the referenced form or QuestionnaireResponse.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Comments about the action" definition="Comments made about the term action made by the requester, performer, subject or other participants.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="securityLabelNumber" description="Action restriction numbers" definition="Security labels that protects the action.">
         <elementTypeSpecifier elementType="FHIR.unsignedInt" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Term.Action.Subject" retrievable="false" xsi:type="ClassInfo">
      <element name="reference" description="Entity of the action" definition="The entity the action is performed or not performed on or for.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="role" elementType="FHIR.CodeableConcept" description="Role type of the agent" definition="Role type of agent assigned roles in this Contract.">
         <binding name="ContractActorRole" description="Detailed codes for the contract actor role." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Term.Asset" retrievable="false" xsi:type="ClassInfo">
      <element name="scope" elementType="FHIR.CodeableConcept" description="Range of asset" definition="Differentiates the kind of the asset .">
         <binding name="ContractAssetScope" description="Codes for scoping an asset." strength="Example"/>
      </element>
      <element name="type" description="Asset category" definition="Target entity type about which the term may be concerned.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ContractAssetType" description="Condes for the type of an asset." strength="Example"/>
      </element>
      <element name="typeReference" description="Associated entities" definition="Associated entities.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subtype" description="Asset sub-category" definition="May be a subtype or part of an offered asset.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ContractAssetSubtype" description="Condes for the sub-type of an asset." strength="Example"/>
      </element>
      <element name="relationship" elementType="FHIR.Coding" description="Kinship of the asset" definition="Specifies the applicability of the term to an asset resource instance, and instances it refers to orinstances that refer to it, and/or are owned by the offeree.">
         <binding name="ConsentContentClass" description="The class (type) of information a consent rule covers." strength="Extensible"/>
      </element>
      <element name="context" description="Circumstance of the asset" definition="Circumstance of the asset.">
         <elementTypeSpecifier elementType="FHIR.Contract.Term.Asset.Context" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="condition" elementType="FHIR.string" description="Quality desctiption of asset" definition="Description of the quality and completeness of the asset that imay be a factor in its valuation."/>
      <element name="periodType" description="Asset availability types" definition="Type of Asset availability for use or ownership.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="AssetAvailabilityType" description="Codes for asset availability." strength="Example"/>
      </element>
      <element name="period" description="Time period of the asset" definition="Asset relevant contractual time period.">
         <elementTypeSpecifier elementType="FHIR.Period" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="usePeriod" description="Time period" definition="Time period of asset use.">
         <elementTypeSpecifier elementType="FHIR.Period" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="text" elementType="FHIR.string" description="Asset clause or question text" definition="Clause or question text (Prose Object) concerning the asset in a linked form, such as a QuestionnaireResponse used in the formation of the contract."/>
      <element name="linkId" description="Pointer to asset text" definition="Id [identifier??] of the clause or question text about the asset in the referenced form or QuestionnaireResponse.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="answer" description="Response to assets" definition="Response to assets.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="Contract.Term.Offer.Answer" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="securityLabelNumber" description="Asset restriction numbers" definition="Security labels that protects the asset.">
         <elementTypeSpecifier elementType="FHIR.unsignedInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="valuedItem" description="Contract Valued Item List" definition="Contract Valued Item List.">
         <elementTypeSpecifier elementType="FHIR.Contract.Term.Asset.ValuedItem" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Term.Asset.Context" retrievable="false" xsi:type="ClassInfo">
      <element name="reference" elementType="FHIR.Reference" description="Creator,custodian or owner" definition="Asset context reference may include the creator, custodian, or owning Person or Organization (e.g., bank, repository),  location held, e.g., building,  jurisdiction."/>
      <element name="code" description="Codeable asset context" definition="Coded representation of the context generally or of the Referenced entity, such as the asset holder type or location.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ContractAssetContext" description="Codes for the context of the asset." strength="Example"/>
      </element>
      <element name="text" elementType="FHIR.string" description="Context description" definition="Context description."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Term.Asset.ValuedItem" retrievable="false" xsi:type="ClassInfo">
      <element name="entity" description="Contract Valued Item Type" definition="Specific type of Contract Valued Item that may be priced.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="identifier" elementType="FHIR.Identifier" description="Contract Valued Item Number" definition="Identifies a Contract Valued Item instance."/>
      <element name="effectiveTime" elementType="FHIR.dateTime" description="Contract Valued Item Effective Tiem" definition="Indicates the time during which this Contract ValuedItem information is effective."/>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of Contract Valued Items" definition="Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Contract Valued Item fee, charge, or cost" definition="A Contract Valued Item unit valuation measure."/>
      <element name="factor" elementType="FHIR.decimal" description="Contract Valued Item Price Scaling Factor" definition="A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount."/>
      <element name="points" elementType="FHIR.decimal" description="Contract Valued Item Difficulty Scaling Factor" definition="An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point."/>
      <element name="net" elementType="FHIR.Money" description="Total Contract Valued Item Value" definition="Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number  * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied."/>
      <element name="payment" elementType="FHIR.string" description="Terms of valuation" definition="Terms of valuation."/>
      <element name="paymentDate" elementType="FHIR.dateTime" description="When payment is due" definition="When payment is due."/>
      <element name="responsible" elementType="FHIR.Reference" description="Who will make payment" definition="Who will make payment."/>
      <element name="recipient" elementType="FHIR.Reference" description="Who will receive payment" definition="Who will receive payment."/>
      <element name="linkId" description="Pointer to specific item" definition="Id  of the clause or question text related to the context of this valuedItem in the referenced form or QuestionnaireResponse.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="securityLabelNumber" description="Security Labels that define affected terms" definition="A set of security labels that define which terms are controlled by this condition.">
         <elementTypeSpecifier elementType="FHIR.unsignedInt" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Term.Offer" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" description="Offer business ID" definition="Unique identifier for this particular Contract Provision.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="party" description="Offer Recipient" definition="Offer Recipient.">
         <elementTypeSpecifier elementType="FHIR.Contract.Term.Offer.Party" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="topic" elementType="FHIR.Reference" description="Negotiable offer asset" definition="The owner of an asset has the residual control rights over the asset: the right to decide all usages of the asset in any way not inconsistent with a prior contract, custom, or law (Hart, 1995, p. 30)." comment="The Contract.topic may be an application for or offer of a policy or service (e.g., uri to a consent directive form or a health insurance policy), which becomes the Contract once accepted by both the grantor and grantee. &#xd;The Contract Resource may function simply as the computable representation of the executed contract, which may be the attached to the Contract Resource as the “binding” or as the “friendly” electronic form.  For example, a Contract Resource may be automatically populated with the values expressed in a related QuestionnaireResponse. &#xd;However, the Contract Resource may be considered the legally binding contract if it is the only “executed” form of this contract, and includes the signatures as *The Contract Resource may function as the computable representation of an application or offer in a pre-executed Contract if the grantor has not entered any values.  In this case, it is populated with values in a “legal” form of the application or offer or by the values in an associated Questionnaire.  If the grantor has filled in the legal form or the associated Questionnaire Response, then these values are used to populate a pre-executed Contract Resource.&#xd;If the Contract.topic is considered an application or offer, then the policy is often required to be attached as the “legal” basis for the application to ensure “informed consent” to the contract, and that any discrepancy between the application and the policy are interpreted against the policy.  Implementers should check organizational and jurisdictional policies to determine the relationship among multiple representations of a contract pre- and post-execution."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Contract Offer Type or Form" definition="Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.">
         <binding name="ContractTermType" description="Detailed codes for the types of contract provisions." strength="Example"/>
      </element>
      <element name="decision" elementType="FHIR.CodeableConcept" description="Accepting party choice" definition="Type of choice made by accepting party with respect to an offer made by an offeror/ grantee.">
         <binding name="ContractDecisionType" description="The type of decision made by a grantor with respect to an offer made by a grantee." strength="Extensible"/>
      </element>
      <element name="decisionMode" description="How decision is conveyed" definition="How the decision about a Contract was conveyed.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ContractDecisionMode" description="Codes for conveying a decision." strength="Example"/>
      </element>
      <element name="answer" description="Response to offer text" definition="Response to offer text.">
         <elementTypeSpecifier elementType="FHIR.Contract.Term.Offer.Answer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="text" elementType="FHIR.string" description="Human readable offer text" definition="Human readable form of this Contract Offer."/>
      <element name="linkId" description="Pointer to text" definition="The id of the clause or question text of the offer in the referenced questionnaire/response.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="securityLabelNumber" description="Offer restriction numbers" definition="Security labels that protects the offer.">
         <elementTypeSpecifier elementType="FHIR.unsignedInt" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Term.Offer.Answer" retrievable="false" xsi:type="ClassInfo">
      <element name="value" description="The actual answer response" definition="Response to an offer clause or question text,  which enables selection of values to be agreed to, e.g., the period of participation, the date of occupancy of a rental, warrently duration, or whether biospecimen may be used for further research.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Term.Offer.Party" retrievable="false" xsi:type="ClassInfo">
      <element name="reference" description="Referenced entity" definition="Participant in the offer.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="role" elementType="FHIR.CodeableConcept" description="Participant engagement type" definition="How the party participates in the offer.">
         <binding name="ContractPartyRole" description="Codes for offer participant roles." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Contract.Term.SecurityLabel" retrievable="false" xsi:type="ClassInfo">
      <element name="number" description="Link to Security Labels" definition="Number used to link this term or term element to the applicable Security Label.">
         <elementTypeSpecifier elementType="FHIR.unsignedInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="classification" elementType="FHIR.Coding" description="Confidentiality Protection" definition="Security label privacy tag that species the level of confidentiality protection required for this term and/or term elements.">
         <binding name="ContractSecurityClassification" description="Codes for confidentiality protection." strength="Example"/>
      </element>
      <element name="category" description="Applicable Policy" definition="Security label privacy tag that species the applicable privacy and security policies governing this term and/or term elements.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="ContractSecurityCategory" description="Codes for policy category." strength="Example"/>
      </element>
      <element name="control" description="Handling Instructions" definition="Security label privacy tag that species the manner in which term and/or term elements are to be protected.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="ContractSecurityControl" description="Codes for handling instructions." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ContractPublicationStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ContractStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Contributor" identifier="http://hl7.org/fhir/StructureDefinition/Contributor" label="Contributor" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.ContributorType" description="author | editor | reviewer | endorser" definition="The type of contributor.">
         <binding name="ContributorType" description="The type of contributor." strength="Required"/>
      </element>
      <element name="name" elementType="FHIR.string" description="Who contributed the content" definition="The name of the individual or organization responsible for the contribution."/>
      <element name="contact" description="Contact details of the contributor" definition="Contact details to assist a user in finding and communicating with the contributor.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ContributorType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Quantity" namespace="FHIR" name="Count" identifier="http://hl7.org/fhir/StructureDefinition/Count" label="Count" retrievable="false" xsi:type="ClassInfo"/>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Coverage" identifier="http://hl7.org/fhir/StructureDefinition/Coverage" label="Coverage" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for the coverage" definition="A unique identifier assigned to this coverage." comment="The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Certificate number, Personal Health Number or Case ID. May be constructed as the concatenation of the Coverage.SubscriberID and the Coverage.dependant.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.CoverageStatus" description="active | cancelled | draft | entered-in-error" definition="The status of the resource instance." comment="This element is labeled as a modifier because the status contains the code entered-in-error that marks the coverage as not currently valid.">
         <binding name="CoverageStatus" description="A code specifying the state of the resource instance." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Coverage category such as medical or accident" definition="The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health or payment by an individual or organization.">
         <binding name="CoverageType" description="The type of insurance: public health, worker compensation; private accident, auto, private health, etc.) or a direct payment by an individual or organization." strength="Preferred"/>
      </element>
      <element name="policyHolder" elementType="FHIR.Reference" description="Owner of the policy" definition="The party who 'owns' the insurance policy." comment="For example: may be an individual, corporation or the subscriber's employer."/>
      <element name="subscriber" elementType="FHIR.Reference" description="Subscriber to the policy" definition="The party who has signed-up for or 'owns' the contractual relationship to the policy or to whom the benefit of the policy for services rendered to them or their family is due." comment="May be self or a parent in the case of dependants."/>
      <element name="subscriberId" elementType="FHIR.string" description="ID assigned to the subscriber" definition="The insurer assigned ID for the Subscriber."/>
      <element name="beneficiary" elementType="FHIR.Reference" description="Plan beneficiary" definition="The party who benefits from the insurance coverage; the patient when products and/or services are provided."/>
      <element name="dependent" elementType="FHIR.string" description="Dependent number" definition="A unique identifier for a dependent under the coverage." comment="Periodically the member number is constructed from the subscriberId and the dependant number."/>
      <element name="relationship" elementType="FHIR.CodeableConcept" description="Beneficiary relationship to the subscriber" definition="The relationship of beneficiary (patient) to the subscriber." comment="Typically, an individual uses policies which are theirs (relationship='self') before policies owned by others.">
         <binding name="Relationship" description="The relationship between the Subscriber and the Beneficiary (insured/covered party/patient)." strength="Extensible"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Coverage start and end dates" definition="Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force."/>
      <element name="payor" description="Issuer of the policy" definition="The program or plan underwriter or payor including both insurance and non-insurance agreements, such as patient-pay agreements." comment="May provide multiple identifiers such as insurance company identifier or business identifier (BIN number).&#xa;For selfpay it may provide multiple paying persons and/or organizations.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="class" description="Additional coverage classifications" definition="A suite of underwriter specific classifiers." comment="For example may be used to identify a class of coverage or employer group, Policy, Plan.">
         <elementTypeSpecifier elementType="FHIR.Coverage.Class" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="order" elementType="FHIR.positiveInt" description="Relative order of the coverage" definition="The order of applicability of this coverage relative to other coverages which are currently in force. Note, there may be gaps in the numbering and this does not imply primary, secondary etc. as the specific positioning of coverages depends upon the episode of care."/>
      <element name="network" elementType="FHIR.string" description="Insurer network" definition="The insurer-specific identifier for the insurer-defined network of providers to which the beneficiary may seek treatment which will be covered at the 'in-network' rate, otherwise 'out of network' terms and conditions apply."/>
      <element name="costToBeneficiary" description="Patient payments for services/products" definition="A suite of codes indicating the cost category and associated amount which have been detailed in the policy and may have been  included on the health card." comment="For example by knowing the patient visit co-pay, the provider can collect the amount prior to undertaking treatment.">
         <elementTypeSpecifier elementType="FHIR.Coverage.CostToBeneficiary" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subrogation" elementType="FHIR.boolean" description="Reimbursement to insurer" definition="When 'subrogation=true' this insurance instance has been included not for adjudication but to provide insurers with the details to recover costs." comment="Typically, automotive and worker's compensation policies would be flagged with 'subrogation=true' to enable healthcare payors to collect against accident claims."/>
      <element name="contract" description="Contract details" definition="The policy(s) which constitute this insurance coverage.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Patient" relatedKeyElement="policyHolder"/>
      <contextRelationship context="Patient" relatedKeyElement="subscriber"/>
      <contextRelationship context="Patient" relatedKeyElement="beneficiary"/>
      <contextRelationship context="Patient" relatedKeyElement="payor"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="policyHolder"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="subscriber"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="payor"/>
      <search name="patient" path="beneficiary" type="FHIR.Patient"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="payor" path="payor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="beneficiary" path="beneficiary" type="FHIR.Patient"/>
      <search name="class-type" path="class.type" type="System.Code"/>
      <search name="class-value" path="class.value" type="System.String"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="subscriber" path="subscriber">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="policy-holder" path="policyHolder">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="dependent" path="dependent" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Coverage.Class" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of class such as 'group' or 'plan'" definition="The type of classification for which an insurer-specific class label or number and optional name is provided, for example may be used to identify a class of coverage or employer group, Policy, Plan.">
         <binding name="CoverageClass" description="The policy classifications, eg. Group, Plan, Class, etc." strength="Extensible"/>
      </element>
      <element name="value" elementType="FHIR.string" description="Value associated with the type" definition="The alphanumeric string value associated with the insurer issued label." comment="For example, the Group or Plan number."/>
      <element name="name" elementType="FHIR.string" description="Human readable description of the type and value" definition="A short description for the class."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Coverage.CostToBeneficiary" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Cost category" definition="The category of patient centric costs associated with treatment." comment="For example visit, specialist visits, emergency, inpatient care, etc.">
         <binding name="CopayTypes" description="The types of services to which patient copayments are specified." strength="Extensible"/>
      </element>
      <element name="value" description="The amount or percentage due from the beneficiary" definition="The amount due from the patient for the cost category." comment="Amount may be expressed as a percentage of the service/product cost or a fixed amount of currency.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="SimpleQuantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="exception" description="Exceptions for patient payments" definition="A suite of codes indicating exceptions or reductions to patient costs and their effective periods.">
         <elementTypeSpecifier elementType="FHIR.Coverage.CostToBeneficiary.Exception" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Coverage.CostToBeneficiary.Exception" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Exception category" definition="The code for the specific exception.">
         <binding name="CoverageFinancialException" description="The types of exceptions from the part or full value of financial obligations such as copays." strength="Example"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="The effective period of the exception" definition="The timeframe during when the exception is in force."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="CoverageEligibilityRequest" identifier="http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest" label="CoverageEligibilityRequest" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for coverage eligiblity request" definition="A unique identifier assigned to this coverage eligiblity request.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.EligibilityRequestStatus" description="active | cancelled | draft | entered-in-error" definition="The status of the resource instance." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="EligibilityRequestStatus" description="A code specifying the state of the resource instance." strength="Required"/>
      </element>
      <element name="priority" elementType="FHIR.CodeableConcept" description="Desired processing priority" definition="When the requestor expects the processor to complete processing.">
         <binding name="ProcessPriority" description="The timeliness with which processing is required: STAT, normal, Deferred." strength="Example"/>
      </element>
      <element name="purpose" description="auth-requirements | benefits | discovery | validation" definition="Code to specify whether requesting: prior authorization requirements for some service categories or billing codes; benefits for coverages specified or discovered; discovery and return of coverages for the patient; and/or validation that the specified coverage is in-force at the date/period specified or 'now' if not specified.">
         <elementTypeSpecifier elementType="FHIR.EligibilityRequestPurpose" xsi:type="ListTypeSpecifier"/>
         <binding name="EligibilityRequestPurpose" description="A code specifying the types of information being requested." strength="Required"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="Intended recipient of products and services" definition="The party who is the beneficiary of the supplied coverage and for whom eligibility is sought." comment="1..1."/>
      <element name="serviced" description="Estimated date or dates of service" definition="The date or dates when the enclosed suite of services were performed or completed.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="created" elementType="FHIR.dateTime" description="Creation date" definition="The date when this resource was created."/>
      <element name="enterer" elementType="FHIR.Reference" description="Author" definition="Person who created the request."/>
      <element name="provider" elementType="FHIR.Reference" description="Party responsible for the request" definition="The provider which is responsible for the request." comment="Typically this field would be 1..1 where this party is responsible for the eligibility request but not necessarily professionally responsible for the provision of the individual products and services listed below."/>
      <element name="insurer" elementType="FHIR.Reference" description="Coverage issuer" definition="The Insurer who issued the coverage in question and is the recipient of the request."/>
      <element name="facility" elementType="FHIR.Reference" description="Servicing facility" definition="Facility where the services are intended to be provided."/>
      <element name="supportingInfo" description="Supporting information" definition="Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues." comment="Often there are multiple jurisdiction specific valuesets which are required.">
         <elementTypeSpecifier elementType="FHIR.CoverageEligibilityRequest.SupportingInfo" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="insurance" description="Patient insurance information" definition="Financial instruments for reimbursement for the health care products and services." comment="All insurance coverages for the patient which may be applicable for reimbursement, of the products and services listed in the claim, are typically provided in the claim to allow insurers to confirm the ordering of the insurance coverages relative to local 'coordination of benefit' rules. One coverage (and only one) with 'focal=true' is to be used in the adjudication of this claim. Coverages appearing before the focal Coverage in the list, and where 'subrogation=false', should provide a reference to the ClaimResponse containing the adjudication results of the prior claim.">
         <elementTypeSpecifier elementType="FHIR.CoverageEligibilityRequest.Insurance" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="item" description="Item to be evaluated for eligibiity" definition="Service categories or billable services for which benefit details and/or an authorization prior to service delivery may be required by the payor.">
         <elementTypeSpecifier elementType="FHIR.CoverageEligibilityRequest.Item" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="enterer"/>
      <contextRelationship context="Practitioner" relatedKeyElement="provider"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="created" path="created" type="System.DateTime"/>
      <search name="enterer" path="enterer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="facility" path="facility" type="FHIR.Location"/>
      <search name="patient" path="patient" type="FHIR.Patient"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="provider" path="provider">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CoverageEligibilityRequest.Insurance" retrievable="false" xsi:type="ClassInfo">
      <element name="focal" elementType="FHIR.boolean" description="Applicable coverage" definition="A flag to indicate that this Coverage is to be used for evaluation of this request when set to true." comment="A patient may (will) have multiple insurance policies which provide reimburement for healthcare services and products. For example a person may also be covered by their spouse's policy and both appear in the list (and may be from the same insurer). This flag will be set to true for only one of the listed policies and that policy will be used for evaluating this request. Other requests would be created to request evaluation against the other listed policies."/>
      <element name="coverage" elementType="FHIR.Reference" description="Insurance information" definition="Reference to the insurance card level information contained in the Coverage resource. The coverage issuing insurer will use these details to locate the patient's actual coverage within the insurer's information system."/>
      <element name="businessArrangement" elementType="FHIR.string" description="Additional provider contract number" definition="A business agreement number established between the provider and the insurer for special business processing purposes."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CoverageEligibilityRequest.Item" retrievable="false" xsi:type="ClassInfo">
      <element name="supportingInfoSequence" description="Applicable exception or supporting information" definition="Exceptions, special conditions and supporting information applicable for this service or product line.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="category" elementType="FHIR.CodeableConcept" description="Benefit classification" definition="Code to identify the general type of benefits under which products and services are provided." comment="Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.">
         <binding name="BenefitCategory" description="Benefit categories such as: oral, medical, vision etc." strength="Example"/>
      </element>
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="This contains the product, service, drug or other billing code for the item." comment="Code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI).">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Product or service billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="provider" elementType="FHIR.Reference" description="Perfoming practitioner" definition="The practitioner who is responsible for the product or service to be rendered to the patient."/>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="The amount charged to the patient by the provider for a single unit."/>
      <element name="facility" elementType="FHIR.Reference" description="Servicing facility" definition="Facility where the services will be provided."/>
      <element name="diagnosis" description="Applicable diagnosis" definition="Patient diagnosis for which care is sought.">
         <elementTypeSpecifier elementType="FHIR.CoverageEligibilityRequest.Item.Diagnosis" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="detail" description="Product or service details" definition="The plan/proposal/order describing the proposed service in detail.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CoverageEligibilityRequest.Item.Diagnosis" retrievable="false" xsi:type="ClassInfo">
      <element name="diagnosis" description="Nature of illness or problem" definition="The nature of illness or problem in a coded form or as a reference to an external defined Condition.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ICD10" description="ICD10 Diagnostic codes." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CoverageEligibilityRequest.SupportingInfo" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Information instance identifier" definition="A number to uniquely identify supporting information entries."/>
      <element name="information" elementType="FHIR.Reference" description="Data to be provided" definition="Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data." comment="Could be used to provide references to other resources, document. For example could contain a PDF in an Attachment of the Police Report for an Accident."/>
      <element name="appliesToAll" elementType="FHIR.boolean" description="Applies to all items" definition="The supporting materials are applicable for all detail items, product/servce categories and specific billing codes."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="CoverageEligibilityResponse" identifier="http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse" label="CoverageEligibilityResponse" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for coverage eligiblity request" definition="A unique identifier assigned to this coverage eligiblity request.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.EligibilityResponseStatus" description="active | cancelled | draft | entered-in-error" definition="The status of the resource instance." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="EligibilityResponseStatus" description="A code specifying the state of the resource instance." strength="Required"/>
      </element>
      <element name="purpose" description="auth-requirements | benefits | discovery | validation" definition="Code to specify whether requesting: prior authorization requirements for some service categories or billing codes; benefits for coverages specified or discovered; discovery and return of coverages for the patient; and/or validation that the specified coverage is in-force at the date/period specified or 'now' if not specified.">
         <elementTypeSpecifier elementType="FHIR.EligibilityResponsePurpose" xsi:type="ListTypeSpecifier"/>
         <binding name="EligibilityResponsePurpose" description="A code specifying the types of information being requested." strength="Required"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="Intended recipient of products and services" definition="The party who is the beneficiary of the supplied coverage and for whom eligibility is sought."/>
      <element name="serviced" description="Estimated date or dates of service" definition="The date or dates when the enclosed suite of services were performed or completed.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="created" elementType="FHIR.dateTime" description="Response creation date" definition="The date this resource was created."/>
      <element name="requestor" elementType="FHIR.Reference" description="Party responsible for the request" definition="The provider which is responsible for the request." comment="Typically this field would be 1..1 where this party is responsible for the claim but not necessarily professionally responsible for the provision of the individual products and services listed below."/>
      <element name="request" elementType="FHIR.Reference" description="Eligibility request reference" definition="Reference to the original request resource."/>
      <element name="outcome" elementType="FHIR.RemittanceOutcome" description="queued | complete | error | partial" definition="The outcome of the request processing." comment="The resource may be used to indicate that: the request has been held (queued) for processing; that it has been processed and errors found (error); that no errors were found and that some of the adjudication has been undertaken (partial) or that all of the adjudication has been undertaken (complete).">
         <binding name="RemittanceOutcome" description="The outcome of the processing." strength="Required"/>
      </element>
      <element name="disposition" elementType="FHIR.string" description="Disposition Message" definition="A human readable description of the status of the adjudication."/>
      <element name="insurer" elementType="FHIR.Reference" description="Coverage issuer" definition="The Insurer who issued the coverage in question and is the author of the response."/>
      <element name="insurance" description="Patient insurance information" definition="Financial instruments for reimbursement for the health care products and services." comment="All insurance coverages for the patient which may be applicable for reimbursement, of the products and services listed in the claim, are typically provided in the claim to allow insurers to confirm the ordering of the insurance coverages relative to local 'coordination of benefit' rules. One coverage (and only one) with 'focal=true' is to be used in the adjudication of this claim. Coverages appearing before the focal Coverage in the list, and where 'subrogation=false', should provide a reference to the ClaimResponse containing the adjudication results of the prior claim.">
         <elementTypeSpecifier elementType="FHIR.CoverageEligibilityResponse.Insurance" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="preAuthRef" elementType="FHIR.string" description="Preauthorization reference" definition="A reference from the Insurer to which these services pertain to be used on further communication and as proof that the request occurred."/>
      <element name="form" elementType="FHIR.CodeableConcept" description="Printed form identifier" definition="A code for the form to be used for printing the content." comment="May be needed to identify specific jurisdictional forms.">
         <binding name="Forms" description="The forms codes." strength="Example"/>
      </element>
      <element name="error" description="Processing errors" definition="Errors encountered during the processing of the request.">
         <elementTypeSpecifier elementType="FHIR.CoverageEligibilityResponse.Error" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="requestor"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="requestor" path="requestor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="insurer" path="insurer" type="FHIR.Organization"/>
      <search name="disposition" path="disposition" type="System.String"/>
      <search name="created" path="created" type="System.DateTime"/>
      <search name="request" path="request" type="FHIR.CoverageEligibilityRequest"/>
      <search name="patient" path="patient" type="FHIR.Patient"/>
      <search name="outcome" path="outcome" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CoverageEligibilityResponse.Error" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Error code detailing processing issues" definition="An error code,from a specified code system, which details why the eligibility check could not be performed.">
         <binding name="AdjudicationError" description="The error codes for adjudication processing." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CoverageEligibilityResponse.Insurance" retrievable="false" xsi:type="ClassInfo">
      <element name="coverage" elementType="FHIR.Reference" description="Insurance information" definition="Reference to the insurance card level information contained in the Coverage resource. The coverage issuing insurer will use these details to locate the patient's actual coverage within the insurer's information system."/>
      <element name="inforce" elementType="FHIR.boolean" description="Coverage inforce indicator" definition="Flag indicating if the coverage provided is inforce currently if no service date(s) specified or for the whole duration of the service dates."/>
      <element name="benefitPeriod" elementType="FHIR.Period" description="When the benefits are applicable" definition="The term of the benefits documented in this response."/>
      <element name="item" description="Benefits and authorization details" definition="Benefits and optionally current balances, and authorization details by category or service.">
         <elementTypeSpecifier elementType="FHIR.CoverageEligibilityResponse.Insurance.Item" xsi:type="ListTypeSpecifier"/>
         <constraint name="ces-1" severity="ERROR" message="SHALL contain a category or a billcode but not both.">
            <expression language="text/fhirpath" expression="category.exists() xor productOrService.exists()"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CoverageEligibilityResponse.Insurance.Item" retrievable="false" xsi:type="ClassInfo">
      <element name="category" elementType="FHIR.CodeableConcept" description="Benefit classification" definition="Code to identify the general type of benefits under which products and services are provided." comment="Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.">
         <binding name="BenefitCategory" description="Benefit categories such as: oral, medical, vision etc." strength="Example"/>
      </element>
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="This contains the product, service, drug or other billing code for the item." comment="Code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI).">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Product or service billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="provider" elementType="FHIR.Reference" description="Performing practitioner" definition="The practitioner who is eligible for the provision of the product or service."/>
      <element name="excluded" elementType="FHIR.boolean" description="Excluded from the plan" definition="True if the indicated class of service is excluded from the plan, missing or False indicates the product or service is included in the coverage."/>
      <element name="name" elementType="FHIR.string" description="Short name for the benefit" definition="A short name or tag for the benefit." comment="For example: MED01, or DENT2."/>
      <element name="description" elementType="FHIR.string" description="Description of the benefit or services covered" definition="A richer description of the benefit or services covered." comment="For example 'DENT2 covers 100% of basic, 50% of major but excludes Ortho, Implants and Cosmetic services'."/>
      <element name="network" elementType="FHIR.CodeableConcept" description="In or out of network" definition="Is a flag to indicate whether the benefits refer to in-network providers or out-of-network providers.">
         <binding name="BenefitNetwork" description="Code to classify in or out of network services." strength="Example"/>
      </element>
      <element name="unit" elementType="FHIR.CodeableConcept" description="Individual or family" definition="Indicates if the benefits apply to an individual or to the family.">
         <binding name="BenefitUnit" description="Unit covered/serviced - individual or family." strength="Example"/>
      </element>
      <element name="term" elementType="FHIR.CodeableConcept" description="Annual or lifetime" definition="The term or period of the values such as 'maximum lifetime benefit' or 'maximum annual visits'.">
         <binding name="BenefitTerm" description="Coverage unit - annual, lifetime." strength="Example"/>
      </element>
      <element name="benefit" description="Benefit Summary" definition="Benefits used to date.">
         <elementTypeSpecifier elementType="FHIR.CoverageEligibilityResponse.Insurance.Item.Benefit" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="authorizationRequired" elementType="FHIR.boolean" description="Authorization required flag" definition="A boolean flag indicating whether a preauthorization is required prior to actual service delivery."/>
      <element name="authorizationSupporting" description="Type of required supporting materials" definition="Codes or comments regarding information or actions associated with the preauthorization.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="AuthSupporting" description="Type of supporting information to provide with a preauthorization." strength="Example"/>
      </element>
      <element name="authorizationUrl" elementType="FHIR.uri" description="Preauthorization requirements endpoint" definition="A web location for obtaining requirements or descriptive information regarding the preauthorization."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="CoverageEligibilityResponse.Insurance.Item.Benefit" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Benefit classification" definition="Classification of benefit being provided." comment="For example: deductible, visits, benefit amount.">
         <binding name="BenefitType" description="Deductable, visits, co-pay, etc." strength="Example"/>
      </element>
      <element name="allowed" description="Benefits allowed" definition="The quantity of the benefit which is permitted under the coverage.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="used" description="Benefits used" definition="The quantity of the benefit which have been consumed to date.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CoverageStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="CurrencyCode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DataRequirement" identifier="http://hl7.org/fhir/StructureDefinition/DataRequirement" label="DataRequirement" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.FHIRAllTypes" description="The type of the required data" definition="The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.">
         <binding name="FHIRAllTypes" description="A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types." strength="Required"/>
      </element>
      <element name="profile" description="The profile of the required data" definition="The profile of the required data, specified as the uri of the profile definition.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subject" description="E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device" definition="The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed." comment="The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SubjectType" description="The possible types of subjects for a data requirement (E.g., Patient, Practitioner, Organization, Location, etc.)." strength="Extensible"/>
      </element>
      <element name="mustSupport" description="Indicates specific structure elements that are referenced by the knowledge module" definition="Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. &#xa;&#xa;The value of mustSupport SHALL be a FHIRPath resolveable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details).">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="codeFilter" description="What codes are expected" definition="Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.">
         <elementTypeSpecifier elementType="FHIR.DataRequirement.CodeFilter" xsi:type="ListTypeSpecifier"/>
         <constraint name="drq-1" severity="ERROR" message="Either a path or a searchParam must be provided, but not both">
            <expression language="text/fhirpath" expression="path.exists() xor searchParam.exists()"/>
         </constraint>
      </element>
      <element name="dateFilter" description="What dates/date ranges are expected" definition="Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.">
         <elementTypeSpecifier elementType="FHIR.DataRequirement.DateFilter" xsi:type="ListTypeSpecifier"/>
         <constraint name="drq-2" severity="ERROR" message="Either a path or a searchParam must be provided, but not both">
            <expression language="text/fhirpath" expression="path.exists() xor searchParam.exists()"/>
         </constraint>
      </element>
      <element name="limit" elementType="FHIR.positiveInt" description="Number of results" definition="Specifies a maximum number of results that are required (uses the _count search parameter)." comment="This element can be used in combination with the sort element to specify quota requirements such as &quot;the most recent 5&quot; or &quot;the highest 5&quot;."/>
      <element name="sort" description="Order of the results" definition="Specifies the order of the results to be returned." comment="This element can be used in combination with the sort element to specify quota requirements such as &quot;the most recent 5&quot; or &quot;the highest 5&quot;. When multiple sorts are specified, they are applied in the order they appear in the resource.">
         <elementTypeSpecifier elementType="FHIR.DataRequirement.Sort" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DataRequirement.CodeFilter" retrievable="false" xsi:type="ClassInfo">
      <element name="path" elementType="FHIR.string" description="A code-valued attribute to filter on" definition="The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept." comment="The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation."/>
      <element name="searchParam" elementType="FHIR.string" description="A coded (token) parameter to search on" definition="A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept."/>
      <element name="valueSet" elementType="FHIR.canonical" description="Valueset for the filter" definition="The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset."/>
      <element name="code" description="What code is expected" definition="The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DataRequirement.DateFilter" retrievable="false" xsi:type="ClassInfo">
      <element name="path" elementType="FHIR.string" description="A date-valued attribute to filter on" definition="The date-valued attribute of the filter. The specified path SHALL be a FHIRPath resolveable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details). Note that the index must be an integer constant. The path must resolve to an element of type date, dateTime, Period, Schedule, or Timing." comment="The path attribute contains a [Simple FHIR Subset](fhirpath.html#simple) that allows path traversal, but not calculation."/>
      <element name="searchParam" elementType="FHIR.string" description="A date valued parameter to search on" definition="A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing."/>
      <element name="value" description="The value of the filter, as a Period, DateTime, or Duration value" definition="The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DataRequirement.Sort" retrievable="false" xsi:type="ClassInfo">
      <element name="path" elementType="FHIR.string" description="The name of the attribute to perform the sort" definition="The attribute of the sort. The specified path must be resolvable from the type of the required data. 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."/>
      <element name="direction" elementType="FHIR.SortDirection" description="ascending | descending" definition="The direction of the sort, ascending or descending.">
         <binding name="SortDirection" description="The possible sort directions, ascending or descending." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DayOfWeek" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DaysOfWeek" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="DetectedIssue" identifier="http://hl7.org/fhir/StructureDefinition/DetectedIssue" label="DetectedIssue" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Unique id for the detected issue" definition="Business identifier associated with the detected issue record.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.DetectedIssueStatus" description="registered | preliminary | final | amended +" definition="Indicates the status of the detected issue." comment="This element is labeled as a modifier because the status contains the codes cancelled and entered-in-error that mark the issue as not currently valid.">
         <binding name="DetectedIssueStatus" description="Indicates the status of the identified issue." strength="Required"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Issue Category, e.g. drug-drug, duplicate therapy, etc." definition="Identifies the general type of issue identified.">
         <binding name="DetectedIssueCategory" description="Codes identifying the general type of detected issue; e.g. Drug-drug interaction, Timing issue, Duplicate therapy, etc." strength="Preferred"/>
      </element>
      <element name="severity" elementType="FHIR.DetectedIssueSeverity" description="high | moderate | low" definition="Indicates the degree of importance associated with the identified issue based on the potential impact on the patient.">
         <binding name="DetectedIssueSeverity" description="Indicates the potential degree of impact of the identified issue on the patient." strength="Required"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="Associated patient" definition="Indicates the patient whose record the detected issue is associated with."/>
      <element name="identified" description="When identified" definition="The date or period when the detected issue was initially identified.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="author" elementType="FHIR.Reference" description="The provider or device that identified the issue" definition="Individual or device responsible for the issue being raised.  For example, a decision support application or a pharmacist conducting a medication review."/>
      <element name="implicated" description="Problem resource" definition="Indicates the resource representing the current activity or proposed activity that is potentially problematic." comment="There's an implicit constraint on the number of implicated resources based on DetectedIssue.type; e.g. For drug-drug, there would be more than one.  For timing, there would typically only be one.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="evidence" description="Supporting evidence" definition="Supporting evidence or manifestations that provide the basis for identifying the detected issue such as a GuidanceResponse or MeasureReport.">
         <elementTypeSpecifier elementType="FHIR.DetectedIssue.Evidence" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="detail" elementType="FHIR.string" description="Description and context" definition="A textual explanation of the detected issue." comment="Should focus on information not covered elsewhere as discrete data - no need to duplicate the narrative."/>
      <element name="reference" elementType="FHIR.uri" description="Authority for issue" definition="The literature, knowledge-base or similar reference that describes the propensity for the detected issue identified."/>
      <element name="mitigation" description="Step taken to address" definition="Indicates an action that has been taken or is committed to reduce or eliminate the likelihood of the risk identified by the detected issue from manifesting.  Can also reflect an observation of known mitigating factors that may reduce/eliminate the need for any action.">
         <elementTypeSpecifier elementType="FHIR.DetectedIssue.Mitigation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="author"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Device" relatedKeyElement="author"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="patient" path="patient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="author" path="author">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="implicated" path="implicated">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identified" path="identified" type="System.DateTime"/>
      <search name="code" path="code" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DetectedIssue.Evidence" retrievable="false" xsi:type="ClassInfo">
      <element name="code" description="Manifestation" definition="A manifestation that led to the recording of this detected issue.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DetectedIssueEvidenceCode" description="Codes that describes the types of evidence for a detected issue." strength="Example"/>
      </element>
      <element name="detail" description="Supporting information" definition="Links to resources that constitute evidence for the detected issue such as a GuidanceResponse or MeasureReport.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DetectedIssue.Mitigation" retrievable="false" xsi:type="ClassInfo">
      <element name="action" elementType="FHIR.CodeableConcept" description="What mitigation?" definition="Describes the action that was taken or the observation that was made that reduces/eliminates the risk associated with the identified issue." comment="The &quot;text&quot; component can be used for detail or when no appropriate code exists.">
         <binding name="DetectedIssueMitigationAction" description="Codes describing steps taken to resolve the issue or other circumstances that mitigate the risk associated with the issue; e.g. 'added concurrent therapy', 'prior therapy documented', etc." strength="Preferred"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date committed" definition="Indicates when the mitigating action was documented." comment="This might not be the same as when the mitigating step was actually taken."/>
      <element name="author" elementType="FHIR.Reference" description="Who is committing?" definition="Identifies the practitioner who determined the mitigation and takes responsibility for the mitigation step occurring."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DetectedIssueSeverity" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DetectedIssueStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Device" identifier="http://hl7.org/fhir/StructureDefinition/Device" label="Device" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" description="Instance identifier" definition="Unique instance identifiers assigned to a device by manufacturers other organizations or owners." comment="The barcode string from a barcode present on a device label or package may identify the instance, include names given to the device in local usage, or may identify the type of device. If the identifier identifies the type of device, Device.type element should be used.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="definition" elementType="FHIR.Reference" description="The reference to the definition for the device" definition="The reference to the definition for the device."/>
      <element name="udiCarrier" description="Unique Device Identifier (UDI) Barcode string" definition="Unique device identifier (UDI) assigned to device label or package.  Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold." comment="UDI may identify an unique instance of a device, or it may only identify the type of the device.  See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.">
         <elementTypeSpecifier elementType="FHIR.Device.UdiCarrier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.FHIRDeviceStatus" description="active | inactive | entered-in-error | unknown" definition="Status of the Device availability." comment="This element is labeled as a modifier because the status contains the codes inactive and entered-in-error that mark the device (record)as not currently valid.">
         <binding name="FHIRDeviceStatus" description="The availability status of the device." strength="Required"/>
      </element>
      <element name="statusReason" description="online | paused | standby | offline | not-ready | transduc-discon | hw-discon | off" definition="Reason for the dtatus of the Device availability.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="FHIRDeviceStatusReason" description="The availability status reason of the device." strength="Extensible"/>
      </element>
      <element name="distinctIdentifier" elementType="FHIR.string" description="The distinct identification string" definition="The distinct identification string as required by regulation for a human cell, tissue, or cellular and tissue-based product." comment="For example, this applies to devices in the United States regulated under *Code of Federal Regulation 21CFR§1271.290(c)*."/>
      <element name="manufacturer" elementType="FHIR.string" description="Name of device manufacturer" definition="A name of the manufacturer."/>
      <element name="manufactureDate" elementType="FHIR.dateTime" description="Date when the device was made" definition="The date and time when the device was manufactured."/>
      <element name="expirationDate" elementType="FHIR.dateTime" description="Date and time of expiry of this device (if applicable)" definition="The date and time beyond which this device is no longer valid or should not be used (if applicable)."/>
      <element name="lotNumber" elementType="FHIR.string" description="Lot number of manufacture" definition="Lot number assigned by the manufacturer."/>
      <element name="serialNumber" elementType="FHIR.string" description="Serial number assigned by the manufacturer" definition="The serial number assigned by the organization when the device was manufactured." comment="Alphanumeric Maximum 20."/>
      <element name="deviceName" description="The name of the device as given by the manufacturer" definition="This represents the manufacturer's name of the device as provided by the device, from a UDI label, or by a person describing the Device.  This typically would be used when a person provides the name(s) or when the device represents one of the names available from DeviceDefinition.">
         <elementTypeSpecifier elementType="FHIR.Device.DeviceName" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="modelNumber" elementType="FHIR.string" description="The model number for the device" definition="The model number for the device."/>
      <element name="partNumber" elementType="FHIR.string" description="The part number of the device" definition="The part number of the device." comment="Alphanumeric Maximum 20."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="The kind or type of device" definition="The kind or type of device.">
         <binding name="DeviceType" description="Codes to identify medical devices." strength="Example"/>
      </element>
      <element name="specialization" description="The capabilities supported on a  device, the standards to which the device conforms for a particular purpose, and used for the communication" definition="The capabilities supported on a  device, the standards to which the device conforms for a particular purpose, and used for the communication.">
         <elementTypeSpecifier elementType="FHIR.Device.Specialization" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" description="The actual design of the device or software version running on the device" definition="The actual design of the device or software version running on the device.">
         <elementTypeSpecifier elementType="FHIR.Device.Version" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="property" description="The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties" definition="The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.">
         <elementTypeSpecifier elementType="FHIR.Device.Property" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="Patient to whom Device is affixed" definition="Patient information, If the device is affixed to a person."/>
      <element name="owner" elementType="FHIR.Reference" description="Organization responsible for device" definition="An organization that is responsible for the provision and ongoing maintenance of the device."/>
      <element name="contact" description="Details for human/organization for support" definition="Contact details for an organization or a particular human that is responsible for the device." comment="used for troubleshooting etc.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="location" elementType="FHIR.Reference" description="Where the device is found" definition="The place where the device can be found."/>
      <element name="url" elementType="FHIR.uri" description="Network address to contact device" definition="A network address on which the device may be contacted directly." comment="If the device is running a FHIR server, the network address should  be the Base URL from which a conformance statement may be retrieved."/>
      <element name="note" description="Device notes and comments" definition="Descriptive information, usage information or implantation information that is not captured in an existing element.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="safety" description="Safety Characteristics of Device" definition="Provides additional safety characteristics about a medical device.  For example devices containing latex.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="parent" elementType="FHIR.Reference" description="The parent device" definition="The parent device."/>
      <search name="model" path="modelNumber" type="System.String"/>
      <search name="manufacturer" path="manufacturer" type="System.String"/>
      <search name="udi-carrier" path="udiCarrier.carrierHRF" type="System.String"/>
      <search name="patient" path="patient" type="FHIR.Patient"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
      <search name="location" path="location" type="FHIR.Location"/>
      <search name="udi-di" path="udiCarrier.deviceIdentifier" type="System.String"/>
      <search name="device-name" path="deviceName.name|type.coding.display|type.text" type="System.String"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="organization" path="owner" type="FHIR.Organization"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Device.DeviceName" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="The name of the device" definition="The name of the device."/>
      <element name="type" elementType="FHIR.DeviceNameType" description="udi-label-name | user-friendly-name | patient-reported-name | manufacturer-name | model-name | other" definition="The type of deviceName.&#xa;UDILabelName | UserFriendlyName | PatientReportedName | ManufactureDeviceName | ModelName.">
         <binding name="DeviceNameType" description="The type of name the device is referred by." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Device.Property" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Code that specifies the property DeviceDefinitionPropetyCode (Extensible)" definition="Code that specifies the property DeviceDefinitionPropetyCode (Extensible)."/>
      <element name="valueQuantity" description="Property value as a quantity" definition="Property value as a quantity.">
         <elementTypeSpecifier elementType="FHIR.Quantity" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="valueCode" description="Property value as a code, e.g., NTP4 (synced to NTP)" definition="Property value as a code, e.g., NTP4 (synced to NTP).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Device.Specialization" retrievable="false" xsi:type="ClassInfo">
      <element name="systemType" elementType="FHIR.CodeableConcept" description="The standard that is used to operate and communicate" definition="The standard that is used to operate and communicate."/>
      <element name="version" elementType="FHIR.string" description="The version of the standard that is used to operate and communicate" definition="The version of the standard that is used to operate and communicate."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Device.UdiCarrier" retrievable="false" xsi:type="ClassInfo">
      <element name="deviceIdentifier" elementType="FHIR.string" description="Mandatory fixed portion of UDI" definition="The device identifier (DI) is a mandatory, fixed portion of a UDI that identifies the labeler and the specific version or model of a device."/>
      <element name="issuer" elementType="FHIR.uri" description="UDI Issuing Organization" definition="Organization that is charged with issuing UDIs for devices.  For example, the US FDA issuers include :&#xa;1) GS1: &#xa;http://hl7.org/fhir/NamingSystem/gs1-di, &#xa;2) HIBCC:&#xa;http://hl7.org/fhir/NamingSystem/hibcc-dI, &#xa;3) ICCBBA for blood containers:&#xa;http://hl7.org/fhir/NamingSystem/iccbba-blood-di, &#xa;4) ICCBA for other devices:&#xa;http://hl7.org/fhir/NamingSystem/iccbba-other-di."/>
      <element name="jurisdiction" elementType="FHIR.uri" description="Regional UDI authority" definition="The identity of the authoritative source for UDI generation within a  jurisdiction.  All UDIs are globally unique within a single namespace with the appropriate repository uri as the system.  For example,  UDIs of devices managed in the U.S. by the FDA, the value is  http://hl7.org/fhir/NamingSystem/fda-udi."/>
      <element name="carrierAIDC" elementType="FHIR.base64Binary" description="UDI Machine Readable Barcode String" definition="The full UDI carrier of the Automatic Identification and Data Capture (AIDC) technology representation of the barcode string as printed on the packaging of the device - e.g., a barcode or RFID.   Because of limitations on character sets in XML and the need to round-trip JSON data through XML, AIDC Formats *SHALL* be base64 encoded." comment="The AIDC form of UDIs should be scanned or otherwise used for the identification of the device whenever possible to minimize errors in records resulting from manual transcriptions. If separate barcodes for DI and PI are present, concatenate the string with DI first and in order of human readable expression on label."/>
      <element name="carrierHRF" elementType="FHIR.string" description="UDI Human Readable Barcode String" definition="The full UDI carrier as the human readable form (HRF) representation of the barcode string as printed on the packaging of the device." comment="If separate barcodes for DI and PI are present, concatenate the string with DI first and in order of human readable expression on label."/>
      <element name="entryType" elementType="FHIR.UDIEntryType" description="barcode | rfid | manual +" definition="A coded entry to indicate how the data was entered.">
         <binding name="UDIEntryType" description="Codes to identify how UDI data was entered." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Device.Version" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="The type of the device version" definition="The type of the device version."/>
      <element name="component" elementType="FHIR.Identifier" description="A single component of the device version" definition="A single component of the device version."/>
      <element name="value" elementType="FHIR.string" description="The version text" definition="The version text."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="DeviceDefinition" identifier="http://hl7.org/fhir/StructureDefinition/DeviceDefinition" label="DeviceDefinition" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Instance identifier" definition="Unique instance identifiers assigned to a device by the software, manufacturers, other organizations or owners. For example: handle ID.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="udiDeviceIdentifier" description="Unique Device Identifier (UDI) Barcode string" definition="Unique device identifier (UDI) assigned to device label or package.  Note that the Device may include multiple udiCarriers as it either may include just the udiCarrier for the jurisdiction it is sold, or for multiple jurisdictions it could have been sold.">
         <elementTypeSpecifier elementType="FHIR.DeviceDefinition.UdiDeviceIdentifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="manufacturer" description="Name of device manufacturer" definition="A name of the manufacturer.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="deviceName" description="A name given to the device to identify it" definition="A name given to the device to identify it.">
         <elementTypeSpecifier elementType="FHIR.DeviceDefinition.DeviceName" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="modelNumber" elementType="FHIR.string" description="The model number for the device" definition="The model number for the device."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="What kind of device or device system this is" definition="What kind of device or device system this is.">
         <binding name="DeviceKind" description="Type of device e.g. according to official classification." strength="Example"/>
      </element>
      <element name="specialization" description="The capabilities supported on a  device, the standards to which the device conforms for a particular purpose, and used for the communication" definition="The capabilities supported on a  device, the standards to which the device conforms for a particular purpose, and used for the communication.">
         <elementTypeSpecifier elementType="FHIR.DeviceDefinition.Specialization" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" description="Available versions" definition="The available versions of the device, e.g., software versions.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="safety" description="Safety characteristics of the device" definition="Safety characteristics of the device.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Safety" strength="Example"/>
      </element>
      <element name="shelfLifeStorage" description="Shelf Life and storage information" definition="Shelf Life and storage information.">
         <elementTypeSpecifier elementType="FHIR.ProductShelfLife" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="physicalCharacteristics" elementType="FHIR.ProdCharacteristic" description="Dimensions, color etc." definition="Dimensions, color etc."/>
      <element name="languageCode" description="Language code for the human-readable text strings produced by the device (all supported)" definition="Language code for the human-readable text strings produced by the device (all supported).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="capability" description="Device capabilities" definition="Device capabilities.">
         <elementTypeSpecifier elementType="FHIR.DeviceDefinition.Capability" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="property" description="The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties" definition="The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties.">
         <elementTypeSpecifier elementType="FHIR.DeviceDefinition.Property" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="owner" elementType="FHIR.Reference" description="Organization responsible for device" definition="An organization that is responsible for the provision and ongoing maintenance of the device."/>
      <element name="contact" description="Details for human/organization for support" definition="Contact details for an organization or a particular human that is responsible for the device." comment="used for troubleshooting etc.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="url" elementType="FHIR.uri" description="Network address to contact device" definition="A network address on which the device may be contacted directly." comment="If the device is running a FHIR server, the network address should  be the Base URL from which a conformance statement may be retrieved."/>
      <element name="onlineInformation" elementType="FHIR.uri" description="Access to on-line information" definition="Access to on-line information about the device."/>
      <element name="note" description="Device notes and comments" definition="Descriptive information, usage information or implantation information that is not captured in an existing element.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="quantity" elementType="FHIR.Quantity" description="The quantity of the device present in the packaging (e.g. the number of devices present in a pack, or the number of devices in the same package of the medicinal product)" definition="The quantity of the device present in the packaging (e.g. the number of devices present in a pack, or the number of devices in the same package of the medicinal product)."/>
      <element name="parentDevice" elementType="FHIR.Reference" description="The parent device it can be part of" definition="The parent device it can be part of."/>
      <element name="material" description="A substance used to create the material(s) of which the device is made" definition="A substance used to create the material(s) of which the device is made.">
         <elementTypeSpecifier elementType="FHIR.DeviceDefinition.Material" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="parent" path="parentDevice" type="FHIR.DeviceDefinition"/>
      <search name="type" path="type" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DeviceDefinition.Capability" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of capability" definition="Type of capability."/>
      <element name="description" description="Description of capability" definition="Description of capability.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DeviceDefinition.DeviceName" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="The name of the device" definition="The name of the device."/>
      <element name="type" elementType="FHIR.DeviceNameType" description="udi-label-name | user-friendly-name | patient-reported-name | manufacturer-name | model-name | other" definition="The type of deviceName.&#xa;UDILabelName | UserFriendlyName | PatientReportedName | ManufactureDeviceName | ModelName.">
         <binding name="DeviceNameType" description="The type of name the device is referred by." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DeviceDefinition.Material" retrievable="false" xsi:type="ClassInfo">
      <element name="substance" elementType="FHIR.CodeableConcept" description="The substance" definition="The substance."/>
      <element name="alternate" elementType="FHIR.boolean" description="Indicates an alternative material of the device" definition="Indicates an alternative material of the device."/>
      <element name="allergenicIndicator" elementType="FHIR.boolean" description="Whether the substance is a known or suspected allergen" definition="Whether the substance is a known or suspected allergen."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DeviceDefinition.Property" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Code that specifies the property DeviceDefinitionPropetyCode (Extensible)" definition="Code that specifies the property DeviceDefinitionPropetyCode (Extensible)."/>
      <element name="valueQuantity" description="Property value as a quantity" definition="Property value as a quantity.">
         <elementTypeSpecifier elementType="FHIR.Quantity" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="valueCode" description="Property value as a code, e.g., NTP4 (synced to NTP)" definition="Property value as a code, e.g., NTP4 (synced to NTP).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DeviceDefinition.Specialization" retrievable="false" xsi:type="ClassInfo">
      <element name="systemType" elementType="FHIR.string" description="The standard that is used to operate and communicate" definition="The standard that is used to operate and communicate."/>
      <element name="version" elementType="FHIR.string" description="The version of the standard that is used to operate and communicate" definition="The version of the standard that is used to operate and communicate."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DeviceDefinition.UdiDeviceIdentifier" retrievable="false" xsi:type="ClassInfo">
      <element name="deviceIdentifier" elementType="FHIR.string" description="The identifier that is to be associated with every Device that references this DeviceDefintiion for the issuer and jurisdication porvided in the DeviceDefinition.udiDeviceIdentifier" definition="The identifier that is to be associated with every Device that references this DeviceDefintiion for the issuer and jurisdication porvided in the DeviceDefinition.udiDeviceIdentifier."/>
      <element name="issuer" elementType="FHIR.uri" description="The organization that assigns the identifier algorithm" definition="The organization that assigns the identifier algorithm."/>
      <element name="jurisdiction" elementType="FHIR.uri" description="The jurisdiction to which the deviceIdentifier applies" definition="The jurisdiction to which the deviceIdentifier applies."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="DeviceMetric" identifier="http://hl7.org/fhir/StructureDefinition/DeviceMetric" label="DeviceMetric" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" description="Instance identifier" definition="Unique instance identifiers assigned to a device by the device or gateway software, manufacturers, other organizations or owners. For example: handle ID." comment="For identifiers assigned to a device by the device or gateway software, the `system` element of the identifier should be set to the unique identifier of the device.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Identity of metric, for example Heart Rate or PEEP Setting" definition="Describes the type of the metric. For example: Heart Rate, PEEP Setting, etc." comment="DeviceMetric.type can be referred to either IEEE 11073-10101 or LOINC.">
         <binding name="MetricType" description="Describes the metric type." strength="Preferred"/>
      </element>
      <element name="unit" elementType="FHIR.CodeableConcept" description="Unit of Measure for the Metric" definition="Describes the unit that an observed value determined for this metric will have. For example: Percent, Seconds, etc." comment="DeviceMetric.unit can refer to either UCUM or preferable a RTMMS coding system.">
         <binding name="MetricUnit" description="Describes the unit of the metric." strength="Preferred"/>
      </element>
      <element name="source" elementType="FHIR.Reference" description="Describes the link to the source Device" definition="Describes the link to the  Device that this DeviceMetric belongs to and that contains administrative device information such as manufacturer, serial number, etc."/>
      <element name="parent" elementType="FHIR.Reference" description="Describes the link to the parent Device" definition="Describes the link to the  Device that this DeviceMetric belongs to and that provide information about the location of this DeviceMetric in the containment structure of the parent Device. An example would be a Device that represents a Channel. This reference can be used by a client application to distinguish DeviceMetrics that have the same type, but should be interpreted based on their containment location."/>
      <element name="operationalStatus" elementType="FHIR.DeviceMetricOperationalStatus" description="on | off | standby | entered-in-error" definition="Indicates current operational state of the device. For example: On, Off, Standby, etc.">
         <binding name="DeviceMetricOperationalStatus" description="Describes the operational status of the DeviceMetric." strength="Required"/>
      </element>
      <element name="color" elementType="FHIR.DeviceMetricColor" description="black | red | green | yellow | blue | magenta | cyan | white" definition="Describes the color representation for the metric. This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth for example; the parameters are displayed in different characteristic colors, such as HR-blue, BP-green, and PR and SpO2- magenta.">
         <binding name="DeviceMetricColor" description="Describes the typical color of representation." strength="Required"/>
      </element>
      <element name="category" elementType="FHIR.DeviceMetricCategory" description="measurement | setting | calculation | unspecified" definition="Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation.">
         <binding name="DeviceMetricCategory" description="Describes the category of the metric." strength="Required"/>
      </element>
      <element name="measurementPeriod" elementType="FHIR.Timing" description="Describes the measurement repetition time" definition="Describes the measurement repetition time. This is not necessarily the same as the update period. The measurement repetition time can range from milliseconds up to hours. An example for a measurement repetition time in the range of milliseconds is the sampling rate of an ECG. An example for a measurement repetition time in the range of hours is a NIBP that is triggered automatically every hour. The update period may be different than the measurement repetition time, if the device does not update the published observed value with the same frequency as it was measured."/>
      <element name="calibration" description="Describes the calibrations that have been performed or that are required to be performed" definition="Describes the calibrations that have been performed or that are required to be performed.">
         <elementTypeSpecifier elementType="FHIR.DeviceMetric.Calibration" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="source" path="source" type="FHIR.Device"/>
      <search name="parent" path="parent" type="FHIR.Device"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DeviceMetric.Calibration" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.DeviceMetricCalibrationType" description="unspecified | offset | gain | two-point" definition="Describes the type of the calibration method.">
         <binding name="DeviceMetricCalibrationType" description="Describes the type of a metric calibration." strength="Required"/>
      </element>
      <element name="state" elementType="FHIR.DeviceMetricCalibrationState" description="not-calibrated | calibration-required | calibrated | unspecified" definition="Describes the state of the calibration.">
         <binding name="DeviceMetricCalibrationState" description="Describes the state of a metric calibration." strength="Required"/>
      </element>
      <element name="time" elementType="FHIR.instant" description="Describes the time last calibration has been performed" definition="Describes the time last calibration has been performed."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DeviceMetricCalibrationState" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DeviceMetricCalibrationType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DeviceMetricCategory" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DeviceMetricColor" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DeviceMetricOperationalStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DeviceNameType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="DeviceRequest" identifier="http://hl7.org/fhir/StructureDefinition/DeviceRequest" label="DeviceRequest" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="External Request identifier" definition="Identifiers assigned to this order by the orderer or by the receiver.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesCanonical" description="Instantiates 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 this DeviceRequest." comment="Note: This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesUri" description="Instantiates 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 this DeviceRequest." comment="This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="What request fulfills" definition="Plan/proposal/order fulfilled by this request.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="priorRequest" description="What request replaces" definition="The request takes the place of the referenced completed or terminated request(s).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="groupIdentifier" elementType="FHIR.Identifier" description="Identifier of composite request" definition="Composite request this is part of."/>
      <element name="status" elementType="FHIR.DeviceRequestStatus" description="draft | active | on-hold | revoked | completed | entered-in-error | unknown" definition="The status of the request." comment="This element is labeled as a modifier because the status contains the codes cancelled and entered-in-error that mark the request as not currently valid.">
         <binding name="DeviceRequestStatus" description="Codes representing the status of the request." strength="Required"/>
      </element>
      <element name="intent" elementType="FHIR.RequestIntent" description="proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option" definition="Whether the request is a proposal, plan, an original order or a reflex order.">
         <binding name="RequestIntent" description="The kind of diagnostic request." strength="Required"/>
      </element>
      <element name="priority" elementType="FHIR.RequestPriority" description="routine | urgent | asap | stat" definition="Indicates how quickly the {{title}} should be addressed with respect to other requests.">
         <binding name="RequestPriority" description="Identifies the level of importance to be assigned to actioning the request." strength="Required"/>
      </element>
      <element name="code" description="Device requested" definition="The details of the device to be used.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="DeviceRequestCode" description="Codes for devices that can be requested." strength="Example"/>
      </element>
      <element name="parameter" description="Device details" definition="Specific parameters for the ordered item.  For example, the prism value for lenses.">
         <elementTypeSpecifier elementType="FHIR.DeviceRequest.Parameter" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Focus of request" definition="The patient who will use the device."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter motivating request" definition="An encounter that provides additional context in which this request is made."/>
      <element name="occurrence" description="Desired time or schedule for use" definition="The timing schedule for the use of the device. The Schedule data type allows many different expressions, for example. &quot;Every 8 hours&quot;; &quot;Three times a day&quot;; &quot;1/2 an hour before breakfast for 10 days from 23-Dec 2011:&quot;; &quot;15 Oct 2013, 17 Oct 2013 and 1 Nov 2013&quot;.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="authoredOn" elementType="FHIR.dateTime" description="When recorded" definition="When the request transitioned to being actionable."/>
      <element name="requester" elementType="FHIR.Reference" description="Who/what is requesting diagnostics" definition="The individual who initiated the request and has responsibility for its activation."/>
      <element name="performerType" elementType="FHIR.CodeableConcept" description="Filler role" definition="Desired type of performer for doing the diagnostic testing.">
         <binding name="DeviceRequestParticipantRole" description="Indicates specific responsibility of an individual within the care team, such as &quot;Primary physician&quot;, &quot;Team coordinator&quot;, &quot;Caregiver&quot;, etc." strength="Example"/>
      </element>
      <element name="performer" elementType="FHIR.Reference" description="Requested Filler" definition="The desired performer for doing the diagnostic testing."/>
      <element name="reasonCode" description="Coded Reason for request" definition="Reason or justification for the use of this device.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DeviceRequestReason" description="Diagnosis or problem codes justifying the reason for requesting the device." strength="Example"/>
      </element>
      <element name="reasonReference" description="Linked Reason for request" definition="Reason or justification for the use of this device.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="insurance" description="Associated insurance coverage" definition="Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="supportingInfo" description="Additional clinical information" definition="Additional clinical information about the patient that may influence the request fulfilment.  For example, this may include where on the subject's body the device will be used (i.e. the target site).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Notes or comments" definition="Details about this request that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relevantHistory" description="Request provenance" definition="Key events in the history of the request." comment="This might not include provenances for all versions of the request - only those deemed &quot;relevant&quot; or important.&#xd;This SHALL NOT include the Provenance associated with this current version of the resource.  (If that provenance is deemed to be a &quot;relevant&quot; change, it will need to be added as part of a later update.  Until then, it can be queried directly as the Provenance that points to this version using _revinclude&#xd;All Provenances should have some historical version of this Request as their subject.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="requester"/>
      <contextRelationship context="Practitioner" relatedKeyElement="performer"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="performer"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="code as Reference)"/>
      <contextRelationship context="Device" relatedKeyElement="subject"/>
      <contextRelationship context="Device" relatedKeyElement="requester"/>
      <contextRelationship context="Device" relatedKeyElement="performer"/>
      <search name="instantiates-canonical" path="instantiatesCanonical">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="prior-request" path="priorRequest">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="requester" path="requester">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="instantiates-uri" path="instantiatesUri" type="System.String"/>
      <search name="encounter" path="encounter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="authored-on" path="authoredOn" type="System.DateTime"/>
      <search name="based-on" path="basedOn">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="intent" path="intent" type="System.Code"/>
      <search name="performer" path="performer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="group-identifier" path="groupIdentifier" type="System.Code"/>
      <search name="insurance" path="insurance">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DeviceRequest.Parameter" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Device detail" definition="A code or string that identifies the device detail being asserted.">
         <binding name="ParameterCode" description="A code that identifies the device detail." strength="Example"/>
      </element>
      <element name="value" description="Value of detail" definition="The value of the device detail." comment="Range means device should have a value that falls somewhere within the specified range.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DeviceRequestStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="DeviceUseStatement" identifier="http://hl7.org/fhir/StructureDefinition/DeviceUseStatement" label="DeviceUseStatement" retrievable="true" primaryCodePath="device.code" xsi:type="ClassInfo">
      <element name="identifier" description="External identifier for this record" definition="An external identifier for this statement such as an IRI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="Fulfills plan, proposal or order" definition="A plan, proposal or order that is fulfilled in whole or in part by this DeviceUseStatement.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.DeviceUseStatementStatus" description="active | completed | entered-in-error +" definition="A code representing the patient or other source's judgment about the state of the device used that this statement is about.  Generally this will be active or completed." comment="DeviceUseStatment is a statement at a point in time.  The status is only representative at the point when it was asserted.  The value set for contains codes that assert the status of the use  by the patient (for example, stopped or on hold) as well as codes that assert the status of the resource itself (for example, entered in error).&#xd;&#xd;This element is labeled as a modifier because the status contains the codes that mark the statement as not currently valid.">
         <binding name="DeviceUseStatementStatus" description="A coded concept indicating the current status of the Device Usage." strength="Required"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Patient using device" definition="The patient who used the device."/>
      <element name="derivedFrom" description="Supporting information" definition="Allows linking the DeviceUseStatement to the underlying Request, or to other information that supports or is used to derive the DeviceUseStatement." comment="The most common use cases for deriving a DeviceUseStatement comes from creating it from a request or from an observation or a claim. it should be noted that the amount of information that is available varies from the type resource that you derive the DeviceUseStatement from.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="timing" description="How often  the device was used" definition="How often the device was used.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="recordedOn" elementType="FHIR.dateTime" description="When statement was recorded" definition="The time at which the statement was made/recorded."/>
      <element name="source" elementType="FHIR.Reference" description="Who made the statement" definition="Who reported the device was being used by the patient."/>
      <element name="device" elementType="FHIR.Reference" description="Reference to device used" definition="The details of the device used."/>
      <element name="reasonCode" description="Why device was used" definition="Reason or justification for the use of the device.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reasonReference" description="Why was DeviceUseStatement performed?" definition="Indicates another resource whose existence justifies this DeviceUseStatement.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="bodySite" elementType="FHIR.CodeableConcept" description="Target body site" definition="Indicates the anotomic location on the subject's body where the device was used ( i.e. the target).">
         <binding name="BodySite" description="Codes describing anatomical locations. May include laterality." strength="Example"/>
      </element>
      <element name="note" description="Addition details (comments, instructions)" definition="Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Device" relatedKeyElement="device"/>
      <search name="patient" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="device" path="device" type="FHIR.Device"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DeviceUseStatementStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="DiagnosticReport" identifier="http://hl7.org/fhir/StructureDefinition/DiagnosticReport" label="DiagnosticReport" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifier for report" definition="Identifiers assigned to this report by the performer or other systems." comment="Usually assigned by the Information System of the diagnostic service provider (filler id).">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="What was requested" definition="Details concerning a service requested." comment="Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.DiagnosticReportStatus" description="registered | partial | preliminary | final +" definition="The status of the diagnostic report.">
         <binding name="DiagnosticReportStatus" description="The status of the diagnostic report." strength="Required"/>
      </element>
      <element name="category" description="Service category" definition="A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes." comment="Multiple categories are allowed using various categorization schemes.   The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DiagnosticServiceSection" description="Codes for diagnostic service sections." strength="Example"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Name/Code for this diagnostic report" definition="A code or name that describes this diagnostic report.">
         <binding name="DiagnosticReportCodes" description="Codes that describe Diagnostic Reports." strength="Preferred"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="The subject of the report - usually, but not always, the patient" definition="The subject of the report. Usually, but not always, this is a patient. However, diagnostic services also perform analyses on specimens collected from a variety of other sources."/>
      <element name="encounter" elementType="FHIR.Reference" description="Health care event when test ordered" definition="The healthcare event  (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about." comment="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter  but still be tied to the context of the encounter  (e.g. pre-admission laboratory tests)."/>
      <element name="effective" description="Clinically relevant time/time-period for report" definition="The time or time-period the observed values are related to. When the subject of the report is a patient, this is usually either the time of the procedure or of specimen collection(s), but very often the source of the date/time is not known, only the date/time itself." comment="If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="issued" elementType="FHIR.instant" description="DateTime this version was made" definition="The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified." comment="May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report."/>
      <element name="performer" description="Responsible Diagnostic Service" definition="The diagnostic service that is responsible for issuing the report." comment="This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="resultsInterpreter" description="Primary result interpreter" definition="The practitioner or organization that is responsible for the report's conclusions and interpretations." comment="Might not be the same entity that takes responsibility for the clinical report.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="specimen" description="Specimens this report is based on" definition="Details about the specimens on which this diagnostic report is based." comment="If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="result" description="Observations" definition="[Observations](observation.html)  that are part of this diagnostic report." comment="Observations can contain observations.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="imagingStudy" description="Reference to full details of imaging associated with the diagnostic report" definition="One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images." comment="ImagingStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="media" description="Key images associated with this report" definition="A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest).">
         <elementTypeSpecifier elementType="FHIR.DiagnosticReport.Media" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="conclusion" elementType="FHIR.string" description="Clinical conclusion (interpretation) of test results" definition="Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report."/>
      <element name="conclusionCode" description="Codes for the clinical conclusion of test results" definition="One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="AdjunctDiagnosis" description="Diagnosis codes provided as adjuncts to the report." strength="Example"/>
      </element>
      <element name="presentedForm" description="Entire report as issued" definition="Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent." comment="&quot;application/pdf&quot; is recommended as the most reliable and interoperable in this context.">
         <elementTypeSpecifier elementType="FHIR.Attachment" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="performer"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="subject"/>
      <search name="result" path="result" type="FHIR.Observation"/>
      <search name="issued" path="issued" type="System.DateTime"/>
      <search name="media" path="media.link" type="FHIR.Media"/>
      <search name="date" path="effective" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="based-on" path="basedOn">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="conclusion" path="conclusionCode" type="System.Code"/>
      <search name="encounter" path="encounter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="results-interpreter" path="resultsInterpreter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="code" path="code" type="System.Code"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="specimen" path="specimen" type="FHIR.Specimen"/>
      <search name="performer" path="performer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DiagnosticReport.Media" retrievable="false" xsi:type="ClassInfo">
      <element name="comment" elementType="FHIR.string" description="Comment about the image (e.g. explanation)" definition="A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features." comment="The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion."/>
      <element name="link" elementType="FHIR.Reference" description="Reference to the image source" definition="Reference to the image source."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DiagnosticReportStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DiscriminatorType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Quantity" namespace="FHIR" name="Distance" identifier="http://hl7.org/fhir/StructureDefinition/Distance" label="Distance" retrievable="false" xsi:type="ClassInfo"/>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DocumentConfidentiality" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="DocumentManifest" identifier="http://hl7.org/fhir/StructureDefinition/DocumentManifest" label="DocumentManifest" retrievable="true" xsi:type="ClassInfo">
      <element name="masterIdentifier" elementType="FHIR.Identifier" description="Unique Identifier for the set of documents" definition="A single identifier that uniquely identifies this manifest. Principally used to refer to the manifest in non-FHIR contexts."/>
      <element name="identifier" description="Other identifiers for the manifest" definition="Other identifiers associated with the document manifest, including version independent  identifiers.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.DocumentReferenceStatus" description="current | superseded | entered-in-error" definition="The status of this document manifest." comment="This element is labeled as a modifier because the status contains the codes that mark the manifest as not currently valid.">
         <binding name="DocumentReferenceStatus" description="The status of the document reference." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Kind of document set" definition="The code specifying the type of clinical activity that resulted in placing the associated content into the DocumentManifest." comment="Specifies the kind of this set of documents (e.g. Patient Summary, Discharge Summary, Prescription, etc.). The type of a set of documents may be the same as one of the documents in it - especially if there is only one - but it may be wider.">
         <binding name="v3Act" description="The activity that caused the DocumentManifest to be created." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="The subject of the set of documents" definition="Who or what the set of documents is about. The documents can be about a person, (patient or healthcare practitioner), a device (i.e. machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure). If the documents cross more than one subject, then more than one subject is allowed here (unusual use case)."/>
      <element name="created" elementType="FHIR.dateTime" description="When this document manifest created" definition="When the document manifest was created for submission to the server (not necessarily the same thing as the actual resource last modified time, since it may be modified, replicated, etc.)." comment="Creation time is used for tracking, organizing versions and searching. This is the creation time of the document set, not the documents on which it is based."/>
      <element name="author" description="Who and/or what authored the DocumentManifest" definition="Identifies who is the author of the manifest. Manifest author is not necessarly the author of the references included." comment="Not necessarily who did the actual data entry (i.e. typist) or who was the source (informant).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="recipient" description="Intended to get notified about this set of documents" definition="A patient, practitioner, or organization for which this set of documents is intended." comment="How the recipient receives the document set or is notified of it is up to the implementation. This element is just a statement of intent. If the recipient is a person, and it is not known whether the person is a patient or a practitioner, RelatedPerson would be the default choice.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="source" elementType="FHIR.uri" description="The source system/application/software" definition="Identifies the source system, application, or software that produced the document manifest."/>
      <element name="description" elementType="FHIR.string" description="Human-readable description (title)" definition="Human-readable description of the source document. This is sometimes known as the &quot;title&quot;." comment="What the document is about, rather than a terse summary of the document. It is commonly the case that records do not have a title and are collectively referred to by the display name of Record code (e.g. a &quot;consultation&quot; or &quot;progress note&quot;)."/>
      <element name="content" description="Items in manifest" definition="The list of Resources that consist of the parts of this manifest." comment="When used for XDS the intended focus of the DocumentManifest is for the reference to target to be a set of DocumentReference Resources. The reference is to &quot;Any&quot; to support EN 13606 usage, where an extract is DocumentManifest that references  List and Composition resources.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="related" description="Related things" definition="Related identifiers or resources associated with the DocumentManifest." comment="May be identifiers or resources that caused the DocumentManifest to be created.">
         <elementTypeSpecifier elementType="FHIR.DocumentManifest.Related" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="subject"/>
      <contextRelationship context="Practitioner" relatedKeyElement="author"/>
      <contextRelationship context="Practitioner" relatedKeyElement="recipient"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="author"/>
      <contextRelationship context="Patient" relatedKeyElement="recipient"/>
      <contextRelationship context="Encounter" relatedKeyElement="ref"/>
      <contextRelationship context="Device" relatedKeyElement="subject"/>
      <contextRelationship context="Device" relatedKeyElement="author"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="author"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="recipient"/>
      <search name="created" path="created" type="System.DateTime"/>
      <search name="identifier" path="masterIdentifier|identifier" type="System.Code"/>
      <search name="related-id" path="related.identifier" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="item" path="content">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="related-ref" path="related.ref">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="author" path="author">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="source" path="source" type="System.String"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="description" path="description" type="System.String"/>
      <search name="recipient" path="recipient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DocumentManifest.Related" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Identifiers of things that are related" definition="Related identifier to this DocumentManifest.  For example, Order numbers, accession numbers, XDW workflow numbers." comment="If both identifier and ref elements are present they shall refer to the same thing."/>
      <element name="ref" elementType="FHIR.Reference" description="Related Resource" definition="Related Resource to this DocumentManifest. For example, Order, ServiceRequest,  Procedure, EligibilityRequest, etc." comment="If both identifier and ref elements are present they shall refer to the same thing."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DocumentMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="DocumentReference" identifier="http://hl7.org/fhir/StructureDefinition/DocumentReference" label="DocumentReference" retrievable="true" xsi:type="ClassInfo">
      <element name="masterIdentifier" elementType="FHIR.Identifier" description="Master Version Specific Identifier" definition="Document identifier as assigned by the source of the document. This identifier is specific to this version of the document. This unique identifier may be used elsewhere to identify this version of the document." comment="CDA Document Id extension and root."/>
      <element name="identifier" description="Other identifiers for the document" definition="Other identifiers associated with the document, including version independent identifiers.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.DocumentReferenceStatus" description="current | superseded | entered-in-error" definition="The status of this document reference." comment="This is the status of the DocumentReference object, which might be independent from the docStatus element.&#xa;&#xa;This element is labeled as a modifier because the status contains the codes that mark the document or reference as not currently valid.">
         <binding name="DocumentReferenceStatus" description="The status of the document reference." strength="Required"/>
      </element>
      <element name="docStatus" elementType="FHIR.ReferredDocumentStatus" description="preliminary | final | amended | entered-in-error" definition="The status of the underlying document." comment="The document that is pointed to might be in various lifecycle states.">
         <binding name="ReferredDocumentStatus" description="Status of the underlying document." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Kind of document (LOINC if possible)" definition="Specifies the particular kind of document referenced  (e.g. History and Physical, Discharge Summary, Progress Note). This usually equates to the purpose of making the document referenced." comment="Key metadata element describing the document that describes he exact type of document. Helps humans to assess whether the document is of interest when viewing a list of documents.">
         <binding name="DocumentC80Type" description="Precise type of clinical document." strength="Preferred"/>
      </element>
      <element name="category" description="Categorization of document" definition="A categorization for the type of document referenced - helps for indexing and searching. This may be implied by or derived from the code specified in the DocumentReference.type." comment="Key metadata element describing the the category or classification of the document. This is a broader perspective that groups similar documents based on how they would be used. This is a primary key used in searching.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DocumentC80Class" description="High-level kind of a clinical document at a macro level." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who/what is the subject of the document" definition="Who or what the document is about. The document can be about a person, (patient or healthcare practitioner), a device (e.g. a machine) or even a group of subjects (such as a document about a herd of farm animals, or a set of patients that share a common exposure)."/>
      <element name="date" elementType="FHIR.instant" description="When this document reference was created" definition="When the document reference was created." comment="Referencing/indexing time is used for tracking, organizing versions and searching."/>
      <element name="author" description="Who and/or what authored the document" definition="Identifies who is responsible for adding the information to the document." comment="Not necessarily who did the actual data entry (i.e. typist) or who was the source (informant).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="authenticator" elementType="FHIR.Reference" description="Who/what authenticated the document" definition="Which person or organization authenticates that this document is valid." comment="Represents a participant within the author institution who has legally authenticated or attested the document. Legal authentication implies that a document has been signed manually or electronically by the legal Authenticator."/>
      <element name="custodian" elementType="FHIR.Reference" description="Organization which maintains the document" definition="Identifies the organization or group who is responsible for ongoing maintenance of and access to the document." comment="Identifies the logical organization (software system, vendor, or department) to go to find the current version, where to report issues, etc. This is different from the physical location (URL, disk drive, or server) of the document, which is the technical location of the document, which host may be delegated to the management of some other organization."/>
      <element name="relatesTo" description="Relationships to other documents" definition="Relationships that this document has with other document references that already exist." comment="This element is labeled as a modifier because documents that append to other documents are incomplete on their own.">
         <elementTypeSpecifier elementType="FHIR.DocumentReference.RelatesTo" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Human-readable description" definition="Human-readable description of the source document." comment="What the document is about,  a terse summary of the document."/>
      <element name="securityLabel" description="Document security-tags" definition="A set of Security-Tag codes specifying the level of privacy/security of the Document. Note that DocumentReference.meta.security contains the security labels of the &quot;reference&quot; to the document, while DocumentReference.securityLabel contains a snapshot of the security labels on the document the reference refers to." comment="The confidentiality codes can carry multiple vocabulary items. HL7 has developed an understanding of security and privacy tags that might be desirable in a Document Sharing environment, called HL7 Healthcare Privacy and Security Classification System (HCS). The following specification is recommended but not mandated, as the vocabulary bindings are an administrative domain responsibility. The use of this method is up to the policy domain such as the XDS Affinity Domain or other Trust Domain where all parties including sender and recipients are trusted to appropriately tag and enforce.   &#xa;&#xa;In the HL7 Healthcare Privacy and Security Classification (HCS) there are code systems specific to Confidentiality, Sensitivity, Integrity, and Handling Caveats. Some values would come from a local vocabulary as they are related to workflow roles and special projects.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="SecurityLabels" description="Security Labels from the Healthcare Privacy and Security Classification System." strength="Extensible"/>
      </element>
      <element name="content" description="Document referenced" definition="The document and format referenced. There may be multiple content element repetitions, each with a different format.">
         <elementTypeSpecifier elementType="FHIR.DocumentReference.Content" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="context" elementType="FHIR.DocumentReference.Context" description="Clinical context of document" definition="The clinical context in which the document was prepared." comment="These values are primarily added to help with searching for interesting/relevant documents."/>
      <contextRelationship context="Practitioner" relatedKeyElement="subject"/>
      <contextRelationship context="Practitioner" relatedKeyElement="author"/>
      <contextRelationship context="Practitioner" relatedKeyElement="authenticator"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="author"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="subject"/>
      <contextRelationship context="Device" relatedKeyElement="author"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="author"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="author" path="author">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="relation" path="relatesTo.code" type="System.Code"/>
      <search name="description" path="description" type="System.String"/>
      <search name="related" path="context.related">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="masterIdentifier|identifier" type="System.Code"/>
      <search name="format" path="content.format" type="System.Code"/>
      <search name="encounter" path="context.encounter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="category" path="category" type="System.Code"/>
      <search name="security-label" path="securityLabel" type="System.Code"/>
      <search name="location" path="content.attachment.url" type="System.String"/>
      <search name="custodian" path="custodian" type="FHIR.Organization"/>
      <search name="authenticator" path="authenticator">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="setting" path="context.practiceSetting" type="System.Code"/>
      <search name="contenttype" path="content.attachment.contentType" type="System.Code"/>
      <search name="event" path="context.event" type="System.Code"/>
      <search name="facility" path="context.facilityType" type="System.Code"/>
      <search name="relatesto" path="relatesTo.target" type="FHIR.DocumentReference"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="language" path="content.attachment.language" type="System.Code"/>
      <search name="period" path="context.period" type="System.DateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DocumentReference.Content" retrievable="false" xsi:type="ClassInfo">
      <element name="attachment" elementType="FHIR.Attachment" description="Where to access the document" definition="The document or URL of the document along with critical metadata to prove content has integrity."/>
      <element name="format" elementType="FHIR.Coding" description="Format/content rules for the document" definition="An identifier of the document encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType." comment="Note that while IHE mostly issues URNs for format types, not all documents can be identified by a URI.">
         <binding name="DocumentFormat" description="Document Format Codes." strength="Preferred"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DocumentReference.Context" retrievable="false" xsi:type="ClassInfo">
      <element name="encounter" description="Context of the document  content" definition="Describes the clinical encounter or type of care that the document content is associated with.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="event" description="Main clinical acts documented" definition="This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the type Code, such as a &quot;History and Physical Report&quot; in which the procedure being documented is necessarily a &quot;History and Physical&quot; act." comment="An event can further specialize the act inherent in the type, such as  where it is simply &quot;Procedure Report&quot; and the procedure was a &quot;colonoscopy&quot;. If one or more event codes are included, they shall not conflict with the values inherent in the class or type elements as such a conflict would create an ambiguous situation.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DocumentEventType" description="This list of codes represents the main clinical acts being documented." strength="Example"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Time of service that is being documented" definition="The time period over which the service that is described by the document was provided."/>
      <element name="facilityType" elementType="FHIR.CodeableConcept" description="Kind of facility where patient was seen" definition="The kind of facility where the patient was seen.">
         <binding name="DocumentC80FacilityType" description="XDS Facility Type." strength="Example"/>
      </element>
      <element name="practiceSetting" elementType="FHIR.CodeableConcept" description="Additional details about where the content was created (e.g. clinical specialty)" definition="This property may convey specifics about the practice setting where the content was created, often reflecting the clinical specialty." comment="This element should be based on a coarse classification system for the class of specialty practice. Recommend the use of the classification system for Practice Setting, such as that described by the Subject Matter Domain in LOINC.">
         <binding name="DocumentC80PracticeSetting" description="Additional details about where the content was created (e.g. clinical specialty)." strength="Example"/>
      </element>
      <element name="sourcePatientInfo" elementType="FHIR.Reference" description="Patient demographics from source" definition="The Patient Information as known when the document was published. May be a reference to a version specific, or contained."/>
      <element name="related" description="Related identifiers or resources" definition="Related identifiers or resources associated with the DocumentReference." comment="May be identifiers or resources that caused the DocumentReference or referenced Document to be created.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="DocumentReference.RelatesTo" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.DocumentRelationshipType" description="replaces | transforms | signs | appends" definition="The type of relationship that this document has with anther document." comment="If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.">
         <binding name="DocumentRelationshipType" description="The type of relationship between documents." strength="Required"/>
      </element>
      <element name="target" elementType="FHIR.Reference" description="Target of the relationship" definition="The target document of this relationship."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DocumentReferenceStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="DocumentRelationshipType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Resource" namespace="FHIR" name="DomainResource" identifier="http://hl7.org/fhir/StructureDefinition/DomainResource" label="DomainResource" retrievable="true" xsi:type="ClassInfo">
      <element name="text" elementType="FHIR.Narrative" description="Text summary of the resource, for human interpretation" definition="A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." comment="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded information is added later."/>
      <element name="contained" description="Contained, inline Resources" definition="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." comment="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.">
         <elementTypeSpecifier elementType="FHIR.Resource" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="extension" description="Additional content defined by implementations" definition="May be used to represent additional information that is not part of the basic definition of the resource. 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.">
         <elementTypeSpecifier elementType="FHIR.Extension" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="modifierExtension" description="Extensions that cannot be ignored" definition="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 is allowed to 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.&#xa;&#xa;Modifier 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.">
         <elementTypeSpecifier elementType="FHIR.Extension" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Dosage" identifier="http://hl7.org/fhir/StructureDefinition/Dosage" label="Dosage" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.integer" description="The order of the dosage instructions" definition="Indicates the order in which the dosage instructions should be applied or interpreted."/>
      <element name="text" elementType="FHIR.string" description="Free text dosage instructions e.g. SIG" definition="Free text dosage instructions e.g. SIG."/>
      <element name="additionalInstruction" description="Supplemental instruction or warnings to the patient - e.g. &quot;with meals&quot;, &quot;may cause drowsiness&quot;" definition="Supplemental instructions to the patient on how to take the medication  (e.g. &quot;with meals&quot; or&quot;take half to one hour before food&quot;) or warnings for the patient about the medication (e.g. &quot;may cause drowsiness&quot; or &quot;avoid exposure of skin to direct sunlight or sunlamps&quot;)." comment="Information about administration or preparation of the medication (e.g. &quot;infuse as rapidly as possibly via intraperitoneal port&quot; or &quot;immediately following drug x&quot;) should be populated in dosage.text.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="AdditionalInstruction" description="A coded concept identifying additional instructions such as &quot;take with water&quot; or &quot;avoid operating heavy machinery&quot;." strength="Example"/>
      </element>
      <element name="patientInstruction" elementType="FHIR.string" description="Patient or consumer oriented instructions" definition="Instructions in terms that are understood by the patient or consumer."/>
      <element name="timing" elementType="FHIR.Timing" description="When medication should be administered" definition="When medication should be administered." comment="This attribute might not always be populated while the Dosage.text is expected to be populated.  If both are populated, then the Dosage.text should reflect the content of the Dosage.timing."/>
      <element name="asNeeded" description="Take &quot;as needed&quot; (for x)" definition="Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept)." comment="Can express &quot;as needed&quot; without a reason by setting the Boolean = True.  In this case the CodeableConcept is not populated.  Or you can express &quot;as needed&quot; with a reason by including the CodeableConcept.  In this case the Boolean is assumed to be True.  If you set the Boolean to False, then the dose is given according to the schedule and is not &quot;prn&quot; or &quot;as needed&quot;.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="MedicationAsNeededReason" description="A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose.  For example &quot;pain&quot;, &quot;30 minutes prior to sexual intercourse&quot;, &quot;on flare-up&quot; etc." strength="Example"/>
      </element>
      <element name="site" elementType="FHIR.CodeableConcept" description="Body site to administer to" definition="Body site to administer to." comment="If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](extension-bodysite.html).  May be a summary code, or a reference to a very precise definition of the location, or both.">
         <binding name="MedicationAdministrationSite" description="A coded concept describing the site location the medicine enters into or onto the body." strength="Example"/>
      </element>
      <element name="route" elementType="FHIR.CodeableConcept" description="How drug should enter body" definition="How drug should enter body.">
         <binding name="RouteOfAdministration" description="A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject." strength="Example"/>
      </element>
      <element name="method" elementType="FHIR.CodeableConcept" description="Technique for administering medication" definition="Technique for administering medication." comment="Terminologies used often pre-coordinate this term with the route and or form of administration.">
         <binding name="MedicationAdministrationMethod" description="A coded concept describing the technique by which the medicine is administered." strength="Example"/>
      </element>
      <element name="doseAndRate" description="Amount of medication administered" definition="The amount of medication administered.">
         <elementTypeSpecifier elementType="FHIR.Dosage.DoseAndRate" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="maxDosePerPeriod" elementType="FHIR.Ratio" description="Upper limit on medication per unit of time" definition="Upper limit on medication per unit of time." comment="This is intended for use as an adjunct to the dosage when there is an upper cap.  For example &quot;2 tablets every 4 hours to a maximum of 8/day&quot;."/>
      <element name="maxDosePerAdministration" elementType="FHIR.SimpleQuantity" description="Upper limit on medication per administration" definition="Upper limit on medication per administration." comment="This is intended for use as an adjunct to the dosage when there is an upper cap.  For example, a body surface area related dose with a maximum amount, such as 1.5 mg/m2 (maximum 2 mg) IV over 5 – 10 minutes would have doseQuantity of 1.5 mg/m2 and maxDosePerAdministration of 2 mg."/>
      <element name="maxDosePerLifetime" elementType="FHIR.SimpleQuantity" description="Upper limit on medication per lifetime of the patient" definition="Upper limit on medication per lifetime of the patient."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Dosage.DoseAndRate" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="The kind of dose or rate specified" definition="The kind of dose or rate specified, for example, ordered or calculated.">
         <binding name="DoseAndRateType" description="The kind of dose or rate specified." strength="Example"/>
      </element>
      <element name="dose" description="Amount of medication per dose" definition="Amount of medication per dose." comment="Note that this specifies the quantity of the specified medication, not the quantity for each active ingredient(s). Each ingredient amount can be communicated in the Medication resource. For example, if one wants to communicate that a tablet was 375 mg, where the dose was one tablet, you can use the Medication resource to document that the tablet was comprised of 375 mg of drug XYZ. Alternatively if the dose was 375 mg, then you may only need to use the Medication resource to indicate this was a tablet. If the example were an IV such as dopamine and you wanted to communicate that 400mg of dopamine was mixed in 500 ml of some IV solution, then this would all be communicated in the Medication resource. If the administration is not intended to be instantaneous (rate is present or timing has a duration), this can be specified to convey the total amount to be administered over the period of time as indicated by the schedule e.g. 500 ml in dose, with timing used to convey that this should be done over 4 hours.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SimpleQuantity" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="rate" description="Amount of medication per unit of time" definition="Amount of medication per unit of time." comment="It is possible to supply both a rate and a doseQuantity to provide full details about how the medication is to be administered and supplied. If the rate is intended to change over time, depending on local rules/regulations, each change should be captured as a new version of the MedicationRequest with an updated rate, or captured with a new MedicationRequest with the new rate.&#xd;&#xd;It is possible to specify a rate over time (for example, 100 ml/hour) using either the rateRatio and rateQuantity.  The rateQuantity approach requires systems to have the capability to parse UCUM grammer where ml/hour is included rather than a specific ratio where the time is specified as the denominator.  Where a rate such as 500ml over 2 hours is specified, the use of rateRatio may be more semantically correct than specifying using a rateQuantity of 250 mg/hour.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SimpleQuantity" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Quantity" namespace="FHIR" name="Duration" identifier="http://hl7.org/fhir/StructureDefinition/Duration" label="Duration" retrievable="false" xsi:type="ClassInfo"/>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="EffectEvidenceSynthesis" identifier="http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis" label="EffectEvidenceSynthesis" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this effect evidence synthesis, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this effect evidence synthesis 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 effect evidence synthesis is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the effect evidence synthesis 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the effect evidence synthesis" definition="A formal identifier that is used to identify this effect evidence synthesis when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this effect evidence synthesis outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the effect evidence synthesis" definition="The identifier that is used to identify this version of the effect evidence synthesis when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the effect evidence synthesis 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 effect evidence synthesis 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 effect evidence synthesis with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this effect evidence synthesis (computer friendly)" definition="A natural language name identifying the effect evidence synthesis. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this effect evidence synthesis (human friendly)" definition="A short, descriptive, user-friendly title for the effect evidence synthesis." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this effect evidence synthesis. Enables tracking the life-cycle of the content." comment="Allows filtering of effect evidence synthesiss that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the effect evidence synthesis 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 effect evidence synthesis 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 effect evidence synthesis. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the effect evidence synthesis." comment="Usually an organization but may be an individual. The publisher (or steward) of the effect evidence synthesis is the organization or individual primarily responsible for the maintenance and upkeep of the effect evidence synthesis. 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 effect evidence synthesis. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the effect evidence synthesis" definition="A free text natural language description of the effect evidence synthesis from a consumer's perspective." comment="This description can be used to capture details such as why the effect evidence synthesis 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 effect evidence synthesis 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 effect evidence synthesis is presumed to be the predominant language in the place the effect evidence synthesis was created)."/>
      <element name="note" description="Used for footnotes or explanatory notes" definition="A human-readable string to clarify or explain concepts about the resource.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="useContext" description="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 effect evidence synthesis instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for effect evidence synthesis (if applicable)" definition="A legal or geographic region in which the effect evidence synthesis is intended to be used." comment="It may be possible for the effect evidence synthesis to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the effect evidence synthesis and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the effect evidence synthesis."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the effect evidence synthesis was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the effect evidence synthesis was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the effect evidence synthesis is expected to be used" definition="The period during which the effect evidence synthesis content was or is planned to be in active use." comment="The effective period for a effect evidence synthesis  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 might be published in 2015."/>
      <element name="topic" description="The category of the EffectEvidenceSynthesis, such as Education, Treatment, Assessment, etc." definition="Descriptive topics related to the content of the EffectEvidenceSynthesis. Topics provide a high-level categorization grouping types of EffectEvidenceSynthesiss that can be useful for filtering and searching.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DefinitionTopic" description="High-level categorization of the definition, used for searching, sorting, and filtering." strength="Example"/>
      </element>
      <element name="author" description="Who authored the content" definition="An individiual or organization primarily involved in the creation and maintenance of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="editor" description="Who edited the content" definition="An individual or organization primarily responsible for internal coherence of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reviewer" description="Who reviewed the content" definition="An individual or organization primarily responsible for review of some aspect of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endorser" description="Who endorsed the content" definition="An individual or organization responsible for officially endorsing the content for use in some setting.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedArtifact" description="Additional documentation, citations, etc." definition="Related artifacts such as additional documentation, justification, or bibliographic references." comment="Each related artifact is either an attachment, or a reference to another resource, but not both.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="synthesisType" elementType="FHIR.CodeableConcept" description="Type of synthesis" definition="Type of synthesis eg meta-analysis.">
         <binding name="SynthesisType" description="Types of combining results from a body of evidence (eg. summary data meta-analysis)." strength="Extensible"/>
      </element>
      <element name="studyType" elementType="FHIR.CodeableConcept" description="Type of study" definition="Type of study eg randomized trial.">
         <binding name="StudyType" description="Types of research studies (types of research methods)." strength="Extensible"/>
      </element>
      <element name="population" elementType="FHIR.Reference" description="What population?" definition="A reference to a EvidenceVariable resource that defines the population for the research."/>
      <element name="exposure" elementType="FHIR.Reference" description="What exposure?" definition="A reference to a EvidenceVariable resource that defines the exposure for the research."/>
      <element name="exposureAlternative" elementType="FHIR.Reference" description="What comparison exposure?" definition="A reference to a EvidenceVariable resource that defines the comparison exposure for the research."/>
      <element name="outcome" elementType="FHIR.Reference" description="What outcome?" definition="A reference to a EvidenceVariable resomece that defines the outcome for the research."/>
      <element name="sampleSize" elementType="FHIR.EffectEvidenceSynthesis.SampleSize" description="What sample size was involved?" definition="A description of the size of the sample involved in the synthesis."/>
      <element name="resultsByExposure" description="What was the result per exposure?" definition="A description of the results for each exposure considered in the effect estimate.">
         <elementTypeSpecifier elementType="FHIR.EffectEvidenceSynthesis.ResultsByExposure" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="effectEstimate" description="What was the estimated effect" definition="The estimated effect of the exposure variant.">
         <elementTypeSpecifier elementType="FHIR.EffectEvidenceSynthesis.EffectEstimate" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="certainty" description="How certain is the effect" definition="A description of the certainty of the effect estimate.">
         <elementTypeSpecifier elementType="FHIR.EffectEvidenceSynthesis.Certainty" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="status" path="status" type="System.Code"/>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="title" path="title" type="System.String"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
      <search name="description" path="description" type="System.String"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="EffectEvidenceSynthesis.Certainty" retrievable="false" xsi:type="ClassInfo">
      <element name="rating" description="Certainty rating" definition="A rating of the certainty of the effect estimate.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="QualityOfEvidenceRating" 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." strength="Extensible"/>
      </element>
      <element name="note" description="Used for footnotes or explanatory notes" definition="A human-readable string to clarify or explain concepts about the resource.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="certaintySubcomponent" description="A component that contributes to the overall certainty" definition="A description of a component of the overall certainty.">
         <elementTypeSpecifier elementType="FHIR.EffectEvidenceSynthesis.Certainty.CertaintySubcomponent" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="EffectEvidenceSynthesis.Certainty.CertaintySubcomponent" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of subcomponent of certainty rating" definition="Type of subcomponent of certainty rating.">
         <binding name="CertaintySubcomponentType" description="The subcomponent classification of quality of evidence rating systems." strength="Extensible"/>
      </element>
      <element name="rating" description="Subcomponent certainty rating" definition="A rating of a subcomponent of rating certainty.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CertaintySubcomponentRating" description="The quality rating of the subcomponent of a quality of evidence rating." strength="Extensible"/>
      </element>
      <element name="note" description="Used for footnotes or explanatory notes" definition="A human-readable string to clarify or explain concepts about the resource.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="EffectEvidenceSynthesis.EffectEstimate" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Description of effect estimate" definition="Human-readable summary of effect estimate."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of efffect estimate" definition="Examples include relative risk and mean difference.">
         <binding name="EffectEstimateType" description="Whether the effect estimate is an absolute effect estimate (absolute difference) or a relative effect estimate (relative difference), and the specific type of effect estimate (eg relative risk or median difference)." strength="Extensible"/>
      </element>
      <element name="variantState" elementType="FHIR.CodeableConcept" description="Variant exposure states" definition="Used to define variant exposure states such as low-risk state.">
         <binding name="EvidenceVariantState" description="Used for results by exposure in variant states such as low-risk, medium-risk and high-risk states." strength="Extensible"/>
      </element>
      <element name="value" elementType="FHIR.decimal" description="Point estimate" definition="The point estimate of the effect estimate."/>
      <element name="unitOfMeasure" elementType="FHIR.CodeableConcept" description="What unit is the outcome described in?" definition="Specifies the UCUM unit for the outcome.">
         <binding name="UCUMUnits" description="Unified Code for Units of Measure (UCUM)." strength="Required"/>
      </element>
      <element name="precisionEstimate" description="How precise the estimate is" definition="A description of the precision of the estimate for the effect.">
         <elementTypeSpecifier elementType="FHIR.EffectEvidenceSynthesis.EffectEstimate.PrecisionEstimate" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="EffectEvidenceSynthesis.EffectEstimate.PrecisionEstimate" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of precision estimate" definition="Examples include confidence interval and interquartile range.">
         <binding name="PrecisionEstimateType" description="Method of reporting variability of estimates, such as confidence intervals, interquartile range or standard deviation." strength="Extensible"/>
      </element>
      <element name="level" elementType="FHIR.decimal" description="Level of confidence interval" definition="Use 95 for a 95% confidence interval."/>
      <element name="from" elementType="FHIR.decimal" description="Lower bound" definition="Lower bound of confidence interval."/>
      <element name="to" elementType="FHIR.decimal" description="Upper bound" definition="Upper bound of confidence interval."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="EffectEvidenceSynthesis.ResultsByExposure" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Description of results by exposure" definition="Human-readable summary of results by exposure state."/>
      <element name="exposureState" elementType="FHIR.ExposureState" description="exposure | exposure-alternative" definition="Whether these results are for the exposure state or alternative exposure state.">
         <binding name="ExposureState" description="Whether the results by exposure is describing the results for the primary exposure of interest (exposure) or the alternative state (exposureAlternative)." strength="Required"/>
      </element>
      <element name="variantState" elementType="FHIR.CodeableConcept" description="Variant exposure states" definition="Used to define variant exposure states such as low-risk state.">
         <binding name="EvidenceVariantState" description="Used for results by exposure in variant states such as low-risk, medium-risk and high-risk states." strength="Extensible"/>
      </element>
      <element name="riskEvidenceSynthesis" elementType="FHIR.Reference" description="Risk evidence synthesis" definition="Reference to a RiskEvidenceSynthesis resource."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="EffectEvidenceSynthesis.SampleSize" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Description of sample size" definition="Human-readable summary of sample size."/>
      <element name="numberOfStudies" elementType="FHIR.integer" description="How many studies?" definition="Number of studies included in this evidence synthesis."/>
      <element name="numberOfParticipants" elementType="FHIR.integer" description="How many participants?" definition="Number of participants included in this evidence synthesis."/>
   </typeInfo>
   <typeInfo baseType="System.Any" namespace="FHIR" name="Element" identifier="http://hl7.org/fhir/StructureDefinition/Element" label="Element" retrievable="false" xsi:type="ClassInfo">
      <element name="id" elementType="System.String" description="Unique id for inter-element referencing" definition="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <element name="extension" description="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.">
         <elementTypeSpecifier elementType="FHIR.Extension" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ElementDefinition" identifier="http://hl7.org/fhir/StructureDefinition/ElementDefinition" label="ElementDefinition" retrievable="false" xsi:type="ClassInfo">
      <element name="path" elementType="FHIR.string" description="Path of the element in the hierarchy of elements" definition="The path identifies the element and is expressed as a &quot;.&quot;-separated list of ancestor elements, beginning with the name of the resource or extension."/>
      <element name="representation" description="xmlAttr | xmlText | typeAttr | cdaText | xhtml" definition="Codes that define how this element is represented in instances, when the deviation varies from the normal case." comment="In resources, this is rarely used except for special cases where the representation deviates from the normal, and can only be done in the base standard (and profiles must reproduce what the base standard does). This element is used quite commonly in Logical models when the logical models represent a specific serialization format (e.g. CDA, v2 etc.).">
         <elementTypeSpecifier elementType="FHIR.PropertyRepresentation" xsi:type="ListTypeSpecifier"/>
         <binding name="PropertyRepresentation" description="How a property is represented when serialized." strength="Required"/>
      </element>
      <element name="sliceName" elementType="FHIR.string" description="Name for this particular element (in a set of slices)" definition="The name of this element definition slice, when slicing is working. The name must be a token with no dots or spaces. This is a unique name referring to a specific set of constraints applied to this element, used to provide a name to different slices of the same element." comment="The name SHALL be unique within the structure within the context of the constrained resource element.  (Though to avoid confusion, uniqueness across all elements is recommended.)."/>
      <element name="sliceIsConstraining" elementType="FHIR.boolean" description="If this slice definition constrains an inherited slice definition (or not)" definition="If true, indicates that this slice definition is constraining a slice definition with the same name in an inherited profile. If false, the slice is not overriding any slice in an inherited profile. If missing, the slice might or might not be overriding a slice in an inherited profile, depending on the sliceName." comment="If set to true, an ancestor profile SHALL have a slicing definition with this name.  If set to false, no ancestor profile is permitted to have a slicing definition with this name."/>
      <element name="label" elementType="FHIR.string" description="Name for element to display with or prompt for element" definition="A single preferred label which is the text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form." comment="See also the extension (http://hl7.org/fhir/StructureDefinition/elementdefinition-question)[extension-elementdefinition-question.html]."/>
      <element name="code" description="Corresponding codes in terminologies" definition="A code that has the same meaning as the element in a particular terminology." comment="The concept SHALL be properly aligned with the data element definition and other constraints, as defined in the code system, including relationships, of any code listed here.  Where multiple codes exist in a terminology that could correspond to the data element, the most granular code(s) should be selected, so long as they are not more restrictive than the data element itself. The mappings may be used to provide more or less granular or structured equivalences in the code system.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="ElementDefinitionCode" description="Codes that indicate the meaning of a data element." strength="Example"/>
      </element>
      <element name="slicing" elementType="FHIR.ElementDefinition.Slicing" description="This element is sliced - slices follow" definition="Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set)." comment="The first element in the sequence, the one that carries the slicing, is the definition that applies to all the slices. This is based on the unconstrained element, but can apply any constraints as appropriate. This may include the common constraints on the children of the element.">
         <constraint name="eld-1" severity="ERROR" message="If there are no discriminators, there must be a definition">
            <expression language="text/fhirpath" expression="discriminator.exists() or description.exists()"/>
         </constraint>
      </element>
      <element name="short" elementType="FHIR.string" description="Concise definition for space-constrained presentation" definition="A concise description of what this element means (e.g. for use in autogenerated summaries)." comment="It is easy for a different short definition to change the meaning of an element and this can have nasty downstream consequences. Please be careful when providing short definitions in a profile."/>
      <element name="definition" elementType="FHIR.markdown" description="Full formal definition as narrative text" definition="Provides a complete explanation of the meaning of the data element for human readability.  For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource. (Note: The text you are reading is specified in ElementDefinition.definition)." comment="It is easy for a different definition to change the meaning of an element and this can have nasty downstream consequences. Please be careful when providing definitions in a profile."/>
      <element name="comment" elementType="FHIR.markdown" description="Comments about the use of this element" definition="Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc. (Note: The text you are reading is specified in ElementDefinition.comment)." comment="If it is possible to capture usage rules using constraints, that mechanism should be used in preference to this element."/>
      <element name="requirements" elementType="FHIR.markdown" description="Why this resource has been created" definition="This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element." comment="This element does not describe the usage of the element (that's done in comments), rather it's for traceability of *why* the element is either needed or why the constraints exist as they do.  This may be used to point to source materials or specifications that drove the structure of this data element."/>
      <element name="alias" description="Other names" definition="Identifies additional names by which this element might also be known.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="min" elementType="FHIR.unsignedInt" description="Minimum Cardinality" definition="The minimum number of times this element SHALL appear in the instance."/>
      <element name="max" elementType="FHIR.string" description="Maximum Cardinality (a number or *)" definition="The maximum number of times this element is permitted to appear in the instance.">
         <constraint name="eld-3" severity="ERROR" message="Max SHALL be a number or &quot;*&quot;">
            <expression language="text/fhirpath" expression="empty() or ($this = '*') or (toInteger() >= 0)"/>
         </constraint>
      </element>
      <element name="base" elementType="FHIR.ElementDefinition.Base" description="Base definition information for tools" definition="Information about the base definition of the element, provided to make it unnecessary for tools to trace the deviation of the element through the derived and related profiles. When the element definition is not the original definition of an element - i.g. either in a constraint on another type, or for elements from a super type in a snap shot - then the information in provided in the element definition may be different to the base definition. On the original definition of the element, it will be same." comment="The base information does not carry any information that could not be determined from the path and related profiles, but making this determination requires both that the related profiles are available, and that the algorithm to determine them be available. For tooling simplicity, the base information must always be populated in element definitions in snap shots, even if it is the same."/>
      <element name="contentReference" elementType="FHIR.uri" description="Reference to definition of content for the element" definition="Identifies an element defined elsewhere in the definition whose content rules should be applied to the current element. ContentReferences bring across all the rules that are in the ElementDefinition for the element, including definitions, cardinality constraints, bindings, invariants etc." comment="ContentReferences can only be defined in specializations, not constrained types, and they cannot be changed and always reference the non-constrained definition."/>
      <element name="type" description="Data type and Profile for this element" definition="The data type or resource that the value of this element is permitted to be." comment="The Type of the element can be left blank in a differential constraint, in which case the type is inherited from the resource. Abstract types are not permitted to appear as a type when multiple types are listed.  (I.e. Abstract types cannot be part of a choice).">
         <elementTypeSpecifier elementType="FHIR.ElementDefinition.Type" xsi:type="ListTypeSpecifier"/>
         <constraint name="eld-4" severity="ERROR" message="Aggregation may only be specified if one of the allowed types for the element is a reference">
            <expression language="text/fhirpath" expression="aggregation.empty() or (code = 'Reference') or (code = 'canonical')"/>
         </constraint>
         <constraint name="eld-17" severity="ERROR" message="targetProfile is only allowed if the type is Reference or canonical">
            <expression language="text/fhirpath" expression="(code='Reference' or code = 'canonical') or targetProfile.empty()"/>
         </constraint>
      </element>
      <element name="defaultValue" description="Specified value if missing from instance" definition="The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false')." comment="Specifying a default value means that the property can never been unknown - it must always have a value. Further, the default value can never be changed, or changed in constraints on content models. Defining default values creates many difficulties in implementation (e.g. when is a value missing?). For these reasons, default values are (and should be) used extremely sparingly. &#xa;&#xa;No default values are ever defined in the FHIR specification, nor can they be defined in constraints (&quot;profiles&quot;) on data types or resources. This element only exists so that default values may be defined in logical models.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="base64Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="code" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="id" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="instant" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="markdown" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="oid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="url" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uuid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Annotation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactPoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Count" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Distance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HumanName" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Identifier" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SampledData" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Signature" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactDetail" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contributor" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DataRequirement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Expression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ParameterDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedArtifact" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TriggerDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="UsageContext" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Dosage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Meta" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="meaningWhenMissing" elementType="FHIR.markdown" description="Implicit meaning when this element is missing" definition="The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing')." comment="Implicit meanings for missing values can only be specified on a resource, data type, or extension definition, and never in a profile that applies to one of these. An implicit meaning for a missing value can never be changed, and specifying one has the consequence that constraining its use in profiles eliminates use cases as possibilities, not merely moving them out of scope."/>
      <element name="orderMeaning" elementType="FHIR.string" description="What the order of the elements means" definition="If present, indicates that the order of the repeating element has meaning and describes what that meaning is.  If absent, it means that the order of the element has no meaning." comment="This element can only be asserted on repeating elements and can only be introduced when defining resources or data types.  It can be further refined profiled elements but if absent in the base type, a profile cannot assert meaning."/>
      <element name="fixed" description="Value must be exactly this" definition="Specifies a value that SHALL be exactly the value  for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing." comment="This is not recommended for Coding and CodeableConcept since these often have highly contextual properties such as version or display.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="base64Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="code" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="id" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="instant" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="markdown" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="oid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="url" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uuid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Annotation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactPoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Count" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Distance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HumanName" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Identifier" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SampledData" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Signature" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactDetail" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contributor" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DataRequirement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Expression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ParameterDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedArtifact" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TriggerDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="UsageContext" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Dosage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Meta" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="pattern" description="Value must have at least these property values" definition="Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example.  &#xa;&#xa;When pattern[x] is used to constrain a primitive, it means that the value provided in the pattern[x] must match the instance value exactly.&#xa;&#xa;When pattern[x] is used to constrain an array, it means that each element provided in the pattern[x] array must (recursively) match at least one element from the instance array.&#xa;&#xa;When pattern[x] is used to constrain a complex object, it means that each property in the pattern must be present in the complex object, and its value must recursively match -- i.e.,&#xa;&#xa;1. If primitive: it must match exactly the pattern value&#xa;2. If a complex object: it must match (recursively) the pattern value&#xa;3. If an array: it must match (recursively) the pattern value." comment="Mostly used for fixing values of CodeableConcept. In general, pattern[x] is not intended for use with primitive types, where is has the same meaning as fixed[x].">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="base64Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="code" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="id" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="instant" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="markdown" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="oid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="url" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uuid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Annotation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactPoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Count" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Distance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HumanName" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Identifier" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SampledData" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Signature" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactDetail" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contributor" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DataRequirement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Expression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ParameterDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedArtifact" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TriggerDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="UsageContext" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Dosage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Meta" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="example" description="Example value (as defined for type)" definition="A sample value for this element demonstrating the type of information that would typically be found in the element." comment="Examples will most commonly be present for data where it's not implicitly obvious from either the data type or value set what the values might be.  (I.e. Example values for dates or quantities would generally be unnecessary.)  If the example value is fully populated, the publication tool can generate an instance automatically.">
         <elementTypeSpecifier elementType="FHIR.ElementDefinition.Example" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="minValue" description="Minimum Allowed Value (for some types)" definition="The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity." comment="Except for date/date/instant, the type of the minValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of minValue[x] SHALL be either the same, or a [Duration](datatypes.html#Duration) which specifies a relative time limit to the current time. The duration value is positive, and is subtracted from the current clock to determine the minimum allowable value.   A minimum value for a Quantity is interpreted as an canonical minimum - e.g. you cannot provide 100mg if the minimum value is 10g.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="instant" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="maxValue" description="Maximum Allowed Value (for some types)" definition="The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity." comment="Except for date/date/instant, the type of the maxValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of maxValue[x] SHALL be either the same, or a [Duration](datatypes.html#Duration) which specifies a relative time limit to the current time. The duration value is positive, and is added to the current clock to determine the maximum allowable value.   A maximum value for a Quantity is interpreted as an canonical maximum - e.g. you cannot provide 10g if the maximum value is 50mg.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="instant" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="maxLength" elementType="FHIR.integer" description="Max length for strings" definition="Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element." comment="Receivers are not required to reject instances that exceed the maximum length.  The full length could be stored.  In some cases, data might be truncated, though truncation should be undertaken with care and an understanding of the consequences of doing so. If not specified, there is no conformance expectation for length support."/>
      <element name="condition" description="Reference to invariant about presence" definition="A reference to an invariant that may make additional statements about the cardinality or value in the instance.">
         <elementTypeSpecifier elementType="FHIR.id" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="constraint" description="Condition that must evaluate to true" definition="Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance." comment="Constraints should be declared on the &quot;context&quot; element - the lowest element in the hierarchy that is common to all nodes referenced by the constraint.">
         <elementTypeSpecifier elementType="FHIR.ElementDefinition.Constraint" xsi:type="ListTypeSpecifier"/>
         <constraint name="eld-21" severity="WARNING" message="Constraints should have an expression or else validators will not be able to enforce them">
            <expression language="text/fhirpath" expression="expression.exists()"/>
         </constraint>
      </element>
      <element name="mustSupport" elementType="FHIR.boolean" description="If the element must be supported" definition="If true, implementations that produce or consume resources SHALL provide &quot;support&quot; for the element in some meaningful way.  If false, the element may be ignored and not supported. If false, whether to populate or use the data element in any way is at the discretion of the implementation." comment="&quot;Something useful&quot; is context dependent and impossible to describe in the base FHIR specification. For this reason, tue mustSupport flag is never set to true by the FHIR specification itself - it is only set to true in profiles.  A profile on a type can always make musSupport = true if it is false in the base type but cannot make mustSupport = false if it is true in the base type.   This is done in [Resource Profiles](profiling.html#mustsupport), where the profile labels an element as mustSupport=true. When a profile does this, it SHALL also make clear exactly what kind of &quot;support&quot; is required, as this can mean many things.    Note that an element that has the property IsModifier is not necessarily a &quot;key&quot; element (e.g. one of the important elements to make use of the resource), nor is it automatically mustSupport - however both of these things are more likely to be true for IsModifier elements than for other elements."/>
      <element name="isModifier" elementType="FHIR.boolean" description="If this modifies the meaning of other elements" definition="If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system." comment="Only the definition of an element can set IsModifier true - either the specification itself or where an extension is originally defined. Once set, it cannot be changed in derived profiles. An element/extension that has isModifier=true SHOULD also have a minimum cardinality of 1, so that there is no lack of clarity about what to do if it is missing. If it can be missing, the definition SHALL make the meaning of a missing element clear."/>
      <element name="isModifierReason" elementType="FHIR.string" description="Reason that this element is marked as a modifier" definition="Explains how that element affects the interpretation of the resource or element that contains it."/>
      <element name="isSummary" elementType="FHIR.boolean" description="Include when _summary = true?" definition="Whether the element should be included if a client requests a search with the parameter _summary=true." comment="Some resources include a set of simple metadata, and some very large data. This element is used to reduce the quantity of data returned in searches. Note that servers may pre-cache summarized resources for optimal performance, so servers might not support per-profile use of the isSummary flag. When a request is made with _summary=true, serailisers only include elements marked as 'isSummary = true'. Other than Attachment.data, all data type properties are included in the summary form. In resource and data type definitions, if an element is at the root or has a parent that is 'mustSupport' and the minimum cardinality is 1 or the element is a modifier, it must be marked as isSummary=true."/>
      <element name="binding" elementType="FHIR.ElementDefinition.Binding" description="ValueSet details if this is coded" definition="Binds to a value set if this element is coded (code, Coding, CodeableConcept, Quantity), or the data types (string, uri)." comment="For a CodeableConcept, when no codes are allowed - only text, use a binding of strength &quot;required&quot; with a description explaining that no coded values are allowed and what sort of information to put in the &quot;text&quot; element.">
         <constraint name="eld-12" severity="ERROR" message="ValueSet SHALL start with http:// or https:// or urn:">
            <expression language="text/fhirpath" expression="valueSet.exists() implies (valueSet.startsWith('http:') or valueSet.startsWith('https') or valueSet.startsWith('urn:'))"/>
         </constraint>
      </element>
      <element name="mapping" description="Map element to another set of definitions" definition="Identifies a concept from an external specification that roughly corresponds to this element." comment="Mappings are not necessarily specific enough for safe translation.">
         <elementTypeSpecifier elementType="FHIR.ElementDefinition.Mapping" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ElementDefinition.Base" retrievable="false" xsi:type="ClassInfo">
      <element name="path" elementType="FHIR.string" description="Path that identifies the base element" definition="The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [StructureDefinition](structuredefinition.html#) without a StructureDefinition.base."/>
      <element name="min" elementType="FHIR.unsignedInt" description="Min cardinality of the base element" definition="Minimum cardinality of the base element identified by the path." comment="This is provided for consistency with max, and may affect code generation of mandatory elements of the base resource are generated differently (some reference implementations have done this)."/>
      <element name="max" elementType="FHIR.string" description="Max cardinality of the base element" definition="Maximum cardinality of the base element identified by the path." comment="This is provided to code generation, since the serialization representation in JSON differs depending on whether the base element has max > 1. Also, some forms of code generation may differ."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ElementDefinition.Binding" retrievable="false" xsi:type="ClassInfo">
      <element name="strength" elementType="FHIR.BindingStrength" description="required | extensible | preferred | example" definition="Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances." comment="For further discussion, see [Using Terminologies](terminologies.html).">
         <binding name="BindingStrength" description="Indication of the degree of conformance expectations associated with a binding." strength="Required"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Human explanation of the value set" definition="Describes the intended use of this particular set of codes."/>
      <element name="valueSet" elementType="FHIR.canonical" description="Source of value set" definition="Refers to the value set that identifies the set of codes the binding refers to." comment="The reference may be version-specific or not (e.g. have a |[version] at the end of the canonical URL)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ElementDefinition.Constraint" retrievable="false" xsi:type="ClassInfo">
      <element name="key" elementType="FHIR.id" description="Target of 'condition' reference above" definition="Allows identification of which elements have their cardinalities impacted by the constraint.  Will not be referenced for constraints that do not affect cardinality."/>
      <element name="requirements" elementType="FHIR.string" description="Why this constraint is necessary or appropriate" definition="Description of why this constraint is necessary or appropriate." comment="To be used if the reason for the constraint might not be intuitive to all implementers."/>
      <element name="severity" elementType="FHIR.ConstraintSeverity" description="error | warning" definition="Identifies the impact constraint violation has on the conformance of the instance." comment="This allows constraints to be asserted as &quot;shall&quot; (error) and &quot;should&quot; (warning).">
         <binding name="ConstraintSeverity" description="SHALL applications comply with this constraint?" strength="Required"/>
      </element>
      <element name="human" elementType="FHIR.string" description="Human description of constraint" definition="Text that can be used to describe the constraint in messages identifying that the constraint has been violated." comment="Should be expressed in business terms as much as possible."/>
      <element name="expression" elementType="FHIR.string" description="FHIRPath expression of constraint" definition="A [FHIRPath](fhirpath.html) expression of constraint that can be executed to see if this constraint is met." comment="In the absense of an expression, the expression is likely not enforceable by validators, and might be missed by many systems."/>
      <element name="xpath" elementType="FHIR.string" description="XPath expression of constraint" definition="An XPath expression of constraint that can be executed to see if this constraint is met." comment="Elements SHALL use &quot;f&quot; as the namespace prefix for the FHIR namespace, and &quot;x&quot; for the xhtml namespace, and SHALL NOT use any other prefixes.     Note: XPath is generally considered not useful because it does not apply to JSON and other formats and because of XSLT implementation issues, and may be removed in the future."/>
      <element name="source" elementType="FHIR.canonical" description="Reference to original source of constraint" definition="A reference to the original source of the constraint, for traceability purposes." comment="This is used when, e.g. rendering, where it is not useful to present inherited constraints when rendering the snapshot."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ElementDefinition.Example" retrievable="false" xsi:type="ClassInfo">
      <element name="label" elementType="FHIR.string" description="Describes the purpose of this example" definition="Describes the purpose of this example amoung the set of examples."/>
      <element name="value" description="Value of Example (one of allowed types)" definition="The actual value for the element, which must be one of the types allowed for this element.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="base64Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="code" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="id" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="instant" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="markdown" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="oid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="url" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uuid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Annotation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactPoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Count" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Distance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HumanName" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Identifier" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SampledData" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Signature" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactDetail" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contributor" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DataRequirement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Expression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ParameterDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedArtifact" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TriggerDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="UsageContext" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Dosage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Meta" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ElementDefinition.Mapping" retrievable="false" xsi:type="ClassInfo">
      <element name="identity" elementType="FHIR.id" description="Reference to mapping declaration" definition="An internal reference to the definition of a mapping."/>
      <element name="language" elementType="FHIR.MimeType" description="Computable language of mapping" definition="Identifies the computable language in which mapping.map is expressed." comment="If omitted, then there can be no expectation of computational interpretation of the mapping.">
         <binding name="MimeType" description="The mime type of an attachment. Any valid mime type is allowed." strength="Required"/>
      </element>
      <element name="map" elementType="FHIR.string" description="Details of the mapping" definition="Expresses what part of the target specification corresponds to this element." comment="For most mappings, the syntax is undefined.  Syntax will be provided for mappings to the RIM.  Multiple mappings may be possible and may include constraints on other resource elements that identify when a particular mapping applies."/>
      <element name="comment" elementType="FHIR.string" description="Comments about the mapping or its use" definition="Comments that provide information about the mapping or its use."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ElementDefinition.Slicing" retrievable="false" xsi:type="ClassInfo">
      <element name="discriminator" description="Element values that are used to distinguish the slices" definition="Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices." comment="If there is no discriminator, the content is hard to process, so this should be avoided.">
         <elementTypeSpecifier elementType="FHIR.ElementDefinition.Slicing.Discriminator" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Text description of how slicing works (or not)" definition="A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated." comment="If it's really not possible to differentiate them, the design should be re-evaluated to make the content usable."/>
      <element name="ordered" elementType="FHIR.boolean" description="If elements must be in same order as slices" definition="If the matching elements have to occur in the same order as defined in the profile." comment="Order should only be required when it is a pressing concern for presentation. Profile authors should consider making the order a feature of the rules about the narrative, not the rules about the data - requiring ordered data makes the profile much less re-usable."/>
      <element name="rules" elementType="FHIR.SlicingRules" description="closed | open | openAtEnd" definition="Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end." comment="Allowing additional elements makes for a much for flexible template - it's open for use in wider contexts, but also means that the content of the resource is not closed, and applications have to decide how to handle content not described by the profile.">
         <binding name="SlicingRules" description="How slices are interpreted when evaluating an instance." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ElementDefinition.Slicing.Discriminator" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.DiscriminatorType" description="value | exists | pattern | type | profile" definition="How the element value is interpreted when discrimination is evaluated.">
         <binding name="DiscriminatorType" description="How an element value is interpreted when discrimination is evaluated." strength="Required"/>
      </element>
      <element name="path" elementType="FHIR.string" description="Path to element value" definition="A FHIRPath expression, using [the simple subset of FHIRPath](fhirpath.html#simple), that is used to identify the element on which discrimination is based." comment="The only FHIRPath functions that are allowed are as(type), resolve(), and extension(url)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ElementDefinition.Type" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.uri" description="Data type or Resource (reference to definition)" definition="URL of Data type or Resource that is a(or the) type used for this element. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. &quot;string&quot; is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models." comment="If the element is a reference to another resource, this element contains &quot;Reference&quot;, and the targetProfile element defines what resources can be referenced. The targetProfile may be a reference to the general definition of a resource (e.g. http://hl7.org/fhir/StructureDefinition/Patient).">
         <binding name="FHIRDefinedTypeExt" description="Either a resource or a data type, including logical model types." strength="Extensible"/>
      </element>
      <element name="profile" description="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." comment="It is possible to profile  backbone element (e.g. part of a resource), using the [profile-element](extension-elementdefinition-profile-element.html) extension.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="targetProfile" description="Profile (StructureDefinition or IG) on the Reference/canonical target - one must apply" definition="Used when the type is &quot;Reference&quot; or &quot;canonical&quot;, and identifies a profile structure or implementation Guide that applies to the target of the reference 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 target resource SHALL conform to at least one profile defined in the implementation guide.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="aggregation" description="contained | referenced | bundled - how aggregated" definition="If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle." comment="See [Aggregation Rules](elementdefinition.html#aggregation) for further clarification.">
         <elementTypeSpecifier elementType="FHIR.AggregationMode" xsi:type="ListTypeSpecifier"/>
         <binding name="AggregationMode" description="How resource references can be aggregated." strength="Required"/>
      </element>
      <element name="versioning" elementType="FHIR.ReferenceVersionRules" description="either | independent | specific" definition="Whether this reference needs to be version specific or version independent, or whether either can be used." comment="The base specification never makes a rule as to which form is allowed, but implementation guides may do this. See [Aggregation Rules](elementdefinition.html#aggregation) for further clarification.">
         <binding name="ReferenceVersionRules" description="Whether a reference needs to be version specific or version independent, or whether either can be used." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EligibilityRequestPurpose" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EligibilityRequestStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EligibilityResponsePurpose" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EligibilityResponseStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EnableWhenBehavior" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Encounter" identifier="http://hl7.org/fhir/StructureDefinition/Encounter" label="Encounter" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" description="Identifier(s) by which this encounter is known" definition="Identifier(s) by which this encounter is known.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.EncounterStatus" description="planned | arrived | triaged | in-progress | onleave | finished | cancelled +" definition="planned | arrived | triaged | in-progress | onleave | finished | cancelled +." comment="Note that internal business rules will determine the appropriate transitions that may occur between statuses (and also classes).">
         <binding name="EncounterStatus" description="Current state of the encounter." strength="Required"/>
      </element>
      <element name="statusHistory" description="List of past encounter statuses" definition="The status history permits the encounter resource to contain the status history without needing to read through the historical versions of the resource, or even have the server store them." comment="The current status is always found in the current version of the resource, not the status history.">
         <elementTypeSpecifier elementType="FHIR.Encounter.StatusHistory" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="class" elementType="FHIR.Coding" description="Classification of patient encounter" definition="Concepts representing classification of patient encounter such as ambulatory (outpatient), inpatient, emergency, home health or others due to local variations.">
         <binding name="EncounterClass" description="Classification of the encounter." strength="Extensible"/>
      </element>
      <element name="classHistory" description="List of past encounter classes" definition="The class history permits the tracking of the encounters transitions without needing to go  through the resource history.  This would be used for a case where an admission starts of as an emergency encounter, then transitions into an inpatient scenario. Doing this and not restarting a new encounter ensures that any lab/diagnostic results can more easily follow the patient and not require re-processing and not get lost or cancelled during a kind of discharge from emergency to inpatient.">
         <elementTypeSpecifier elementType="FHIR.Encounter.ClassHistory" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" description="Specific type of encounter" definition="Specific type of encounter (e.g. e-mail consultation, surgical day-care, skilled nursing, rehabilitation)." comment="Since there are many ways to further classify encounters, this element is 0..*.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="EncounterType" description="The type of encounter." strength="Example"/>
      </element>
      <element name="serviceType" elementType="FHIR.CodeableConcept" description="Specific type of service" definition="Broad categorization of the service that is to be provided (e.g. cardiology).">
         <binding name="EncounterServiceType" description="Broad categorization of the service that is to be provided." strength="Example"/>
      </element>
      <element name="priority" elementType="FHIR.CodeableConcept" description="Indicates the urgency of the encounter" definition="Indicates the urgency of the encounter.">
         <binding name="Priority" description="Indicates the urgency of the encounter." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="The patient or group present at the encounter" definition="The patient or group present at the encounter." comment="While the encounter is always about the patient, the patient might not actually be known in all contexts of use, and there may be a group of patients that could be anonymous (such as in a group therapy for Alcoholics Anonymous - where the recording of the encounter could be used for billing on the number of people/staff and not important to the context of the specific patients) or alternately in veterinary care a herd of sheep receiving treatment (where the animals are not individually tracked)."/>
      <element name="episodeOfCare" description="Episode(s) of care that this encounter should be recorded against" definition="Where a specific encounter should be classified as a part of a specific episode(s) of care this field should be used. This association can facilitate grouping of related encounters together for a specific purpose, such as government reporting, issue tracking, association via a common problem.  The association is recorded on the encounter as these are typically created after the episode of care and grouped on entry rather than editing the episode of care to append another encounter to it (the episode of care could span years).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="The ServiceRequest that initiated this encounter" definition="The request this encounter satisfies (e.g. incoming referral or procedure request).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="participant" description="List of participants involved in the encounter" definition="The list of people responsible for providing the service.">
         <elementTypeSpecifier elementType="FHIR.Encounter.Participant" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="appointment" description="The appointment that scheduled this encounter" definition="The appointment that scheduled this encounter.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="The start and end time of the encounter" definition="The start and end time of the encounter." comment="If not (yet) known, the end of the Period may be omitted."/>
      <element name="length" elementType="FHIR.Duration" description="Quantity of time the encounter lasted (less time absent)" definition="Quantity of time the encounter lasted. This excludes the time during leaves of absence." comment="May differ from the time the Encounter.period lasted because of leave of absence."/>
      <element name="reasonCode" description="Coded reason the encounter takes place" definition="Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis." comment="For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="EncounterReason" description="Reason why the encounter takes place." strength="Preferred"/>
      </element>
      <element name="reasonReference" description="Reason the encounter takes place (reference)" definition="Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis." comment="For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="diagnosis" description="The list of diagnosis relevant to this encounter" definition="The list of diagnosis relevant to this encounter.">
         <elementTypeSpecifier elementType="FHIR.Encounter.Diagnosis" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="account" description="The set of accounts that may be used for billing for this Encounter" definition="The set of accounts that may be used for billing for this Encounter." comment="The billing system may choose to allocate billable items associated with the Encounter to different referenced Accounts based on internal business rules.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="hospitalization" elementType="FHIR.Encounter.Hospitalization" description="Details about the admission to a healthcare service" definition="Details about the admission to a healthcare service." comment="An Encounter may cover more than just the inpatient stay. Contexts such as outpatients, community clinics, and aged care facilities are also included.&#xd;&#xd;The duration recorded in the period of this encounter covers the entire scope of this hospitalization record."/>
      <element name="location" description="List of locations where the patient has been" definition="List of locations where  the patient has been during this encounter." comment="Virtual encounters can be recorded in the Encounter by specifying a location reference to a location of type &quot;kind&quot; such as &quot;client's home&quot; and an encounter.class = &quot;virtual&quot;.">
         <elementTypeSpecifier elementType="FHIR.Encounter.Location" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="serviceProvider" elementType="FHIR.Reference" description="The organization (facility) responsible for this encounter" definition="The organization that is primarily responsible for this Encounter's services. This MAY be the same as the organization on the Patient record, however it could be different, such as if the actor performing the services was from an external organization (which may be billed seperately) for an external consultation.  Refer to the example bundle showing an abbreviated set of Encounters for a colonoscopy."/>
      <element name="partOf" elementType="FHIR.Reference" description="Another Encounter this encounter is part of" definition="Another Encounter of which this encounter is a part of (administratively or in time)." comment="This is also used for associating a child's encounter back to the mother's encounter.&#xd;&#xd;Refer to the Notes section in the Patient resource for further details."/>
      <contextRelationship context="Practitioner" relatedKeyElement="where(resolve() is Practitioner)"/>
      <contextRelationship context="Practitioner" relatedKeyElement="individual"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="individual"/>
      <search name="participant" path="participant.individual">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="reason-reference" path="reasonReference">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="based-on" path="basedOn" type="FHIR.ServiceRequest"/>
      <search name="date" path="period" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="location-period" path="location.period" type="System.DateTime"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="reason-code" path="reasonCode" type="System.Code"/>
      <search name="episode-of-care" path="episodeOfCare" type="FHIR.EpisodeOfCare"/>
      <search name="service-provider" path="serviceProvider" type="FHIR.Organization"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="practitioner" path="participant.individual.where(resolve() is Practitioner)" type="FHIR.Practitioner"/>
      <search name="diagnosis" path="diagnosis.condition">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="class" path="class" type="System.Code"/>
      <search name="special-arrangement" path="hospitalization.specialArrangement" type="System.Code"/>
      <search name="appointment" path="appointment" type="FHIR.Appointment"/>
      <search name="account" path="account" type="FHIR.Account"/>
      <search name="location" path="location.location" type="FHIR.Location"/>
      <search name="participant-type" path="participant.type" type="System.Code"/>
      <search name="part-of" path="partOf" type="FHIR.Encounter"/>
      <search name="length" path="length" type="System.Quantity"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Encounter.ClassHistory" retrievable="false" xsi:type="ClassInfo">
      <element name="class" elementType="FHIR.Coding" description="inpatient | outpatient | ambulatory | emergency +" definition="inpatient | outpatient | ambulatory | emergency +.">
         <binding name="EncounterClass" description="Classification of the encounter." strength="Extensible"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="The time that the episode was in the specified class" definition="The time that the episode was in the specified class."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Encounter.Diagnosis" retrievable="false" xsi:type="ClassInfo">
      <element name="condition" elementType="FHIR.Reference" description="The diagnosis or procedure relevant to the encounter" definition="Reason the encounter takes place, as specified using information from another resource. For admissions, this is the admission diagnosis. The indication will typically be a Condition (with other resources referenced in the evidence.detail), or a Procedure." comment="For systems that need to know which was the primary diagnosis, these will be marked with the standard extension primaryDiagnosis (which is a sequence value rather than a flag, 1 = primary diagnosis)."/>
      <element name="use" elementType="FHIR.CodeableConcept" description="Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)" definition="Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …).">
         <binding name="DiagnosisRole" description="The type of diagnosis this condition represents." strength="Preferred"/>
      </element>
      <element name="rank" elementType="FHIR.positiveInt" description="Ranking of the diagnosis (for each role type)" definition="Ranking of the diagnosis (for each role type)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Encounter.Hospitalization" retrievable="false" xsi:type="ClassInfo">
      <element name="preAdmissionIdentifier" elementType="FHIR.Identifier" description="Pre-admission identifier" definition="Pre-admission identifier."/>
      <element name="origin" elementType="FHIR.Reference" description="The location/organization from which the patient came before admission" definition="The location/organization from which the patient came before admission."/>
      <element name="admitSource" elementType="FHIR.CodeableConcept" description="From where patient was admitted (physician referral, transfer)" definition="From where patient was admitted (physician referral, transfer).">
         <binding name="AdmitSource" description="From where the patient was admitted." strength="Preferred"/>
      </element>
      <element name="reAdmission" elementType="FHIR.CodeableConcept" description="The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission" definition="Whether this hospitalization is a readmission and why if known.">
         <binding name="ReAdmissionType" description="The reason for re-admission of this hospitalization encounter." strength="Example"/>
      </element>
      <element name="dietPreference" description="Diet preferences reported by the patient" definition="Diet preferences reported by the patient." comment="For example, a patient may request both a dairy-free and nut-free diet preference (not mutually exclusive).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="PatientDiet" description="Medical, cultural or ethical food preferences to help with catering requirements." strength="Example"/>
      </element>
      <element name="specialCourtesy" description="Special courtesies (VIP, board member)" definition="Special courtesies (VIP, board member).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Courtesies" description="Special courtesies." strength="Preferred"/>
      </element>
      <element name="specialArrangement" description="Wheelchair, translator, stretcher, etc." definition="Any special requests that have been made for this hospitalization encounter, such as the provision of specific equipment or other things.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Arrangements" description="Special arrangements." strength="Preferred"/>
      </element>
      <element name="destination" elementType="FHIR.Reference" description="Location/organization to which the patient is discharged" definition="Location/organization to which the patient is discharged."/>
      <element name="dischargeDisposition" elementType="FHIR.CodeableConcept" description="Category or kind of location after discharge" definition="Category or kind of location after discharge.">
         <binding name="DischargeDisp" description="Discharge Disposition." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Encounter.Location" retrievable="false" xsi:type="ClassInfo">
      <element name="location" elementType="FHIR.Reference" description="Location the encounter takes place" definition="The location where the encounter takes place."/>
      <element name="status" elementType="FHIR.EncounterLocationStatus" description="planned | active | reserved | completed" definition="The status of the participants' presence at the specified location during the period specified. If the participant is no longer at the location, then the period will have an end date/time." comment="When the patient is no longer active at a location, then the period end date is entered, and the status may be changed to completed.">
         <binding name="EncounterLocationStatus" description="The status of the location." strength="Required"/>
      </element>
      <element name="physicalType" elementType="FHIR.CodeableConcept" description="The physical type of the location (usually the level in the location hierachy - bed room ward etc.)" definition="This will be used to specify the required levels (bed/ward/room/etc.) desired to be recorded to simplify either messaging or query." comment="This information is de-normalized from the Location resource to support the easier understanding of the encounter resource and processing in messaging or query.&#xa;&#xa;There may be many levels in the hierachy, and this may only pic specific levels that are required for a specific usage scenario.">
         <binding name="PhysicalType" description="Physical form of the location." strength="Example"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Time period during which the patient was present at the location" definition="Time period during which the patient was present at the location."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Encounter.Participant" retrievable="false" xsi:type="ClassInfo">
      <element name="type" description="Role of participant in encounter" definition="Role of participant in encounter." comment="The participant type indicates how an individual participates in an encounter. It includes non-practitioner participants, and for practitioners this is to describe the action type in the context of this encounter (e.g. Admitting Dr, Attending Dr, Translator, Consulting Dr). This is different to the practitioner roles which are functional roles, derived from terms of employment, education, licensing, etc.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ParticipantType" description="Role of participant in encounter." strength="Extensible"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Period of time during the encounter that the participant participated" definition="The period of time that the specified participant participated in the encounter. These can overlap or be sub-sets of the overall encounter's period."/>
      <element name="individual" elementType="FHIR.Reference" description="Persons involved in the encounter other than the patient" definition="Persons involved in the encounter other than the patient."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Encounter.StatusHistory" retrievable="false" xsi:type="ClassInfo">
      <element name="status" elementType="FHIR.EncounterStatus" description="planned | arrived | triaged | in-progress | onleave | finished | cancelled +" definition="planned | arrived | triaged | in-progress | onleave | finished | cancelled +.">
         <binding name="EncounterStatus" description="Current state of the encounter." strength="Required"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="The time that the episode was in the specified status" definition="The time that the episode was in the specified status."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EncounterLocationStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EncounterStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Endpoint" identifier="http://hl7.org/fhir/StructureDefinition/Endpoint" label="Endpoint" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Identifies this endpoint across multiple systems" definition="Identifier for the organization that is used to identify the endpoint across multiple disparate systems.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.EndpointStatus" description="active | suspended | error | off | entered-in-error | test" definition="active | suspended | error | off | test." comment="This element is labeled as a modifier because the status contains codes that mark the endpoint as not currently valid.">
         <binding name="EndpointStatus" description="The status of the endpoint." strength="Required"/>
      </element>
      <element name="connectionType" elementType="FHIR.Coding" description="Protocol/Profile/Standard to be used with this endpoint connection" definition="A coded value that represents the technical details of the usage of this endpoint, such as what WSDLs should be used in what way. (e.g. XDS.b/DICOM/cds-hook)." comment="For additional connectivity details for the protocol, extensions will be used at this point, as in the XDS example.">
         <binding name="endpoint-contype" strength="Extensible"/>
      </element>
      <element name="name" elementType="FHIR.string" description="A name that this endpoint can be identified by" definition="A friendly name that this endpoint can be referred to with."/>
      <element name="managingOrganization" elementType="FHIR.Reference" description="Organization that manages this endpoint (might not be the organization that exposes the endpoint)" definition="The organization that manages this endpoint (even if technically another organization is hosting this in the cloud, it is the organization associated with the data)." comment="This property is not typically used when searching for Endpoint resources for usage. The typical usage is via the reference from an applicable Organization/Location/Practitioner resource, which is where the context is provided. Multiple Locations may reference a single endpoint, and don't have to be within the same organization resource, but most likely within the same organizational hierarchy."/>
      <element name="contact" description="Contact details for source (e.g. troubleshooting)" definition="Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Interval the endpoint is expected to be operational" definition="The interval during which the endpoint is expected to be operational."/>
      <element name="payloadType" description="The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)" definition="The payload type describes the acceptable content that can be communicated on the endpoint." comment="The payloadFormat describes the serialization format of the data, where the payloadType indicates the specific document/schema that is being transferred; e.g. DischargeSummary or CarePlan.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="PayloadType" strength="Example"/>
      </element>
      <element name="payloadMimeType" description="Mimetype to send. If not specified, the content could be anything (including no payload, if the connectionType defined this)" definition="The mime type to send the payload in - e.g. application/fhir+xml, application/fhir+json. If the mime type is not specified, then the sender could send any content (including no content depending on the connectionType)." comment="Sending the payload has obvious security consequences. The server is responsible for ensuring that the content is appropriately secured.">
         <elementTypeSpecifier elementType="FHIR.MimeType" xsi:type="ListTypeSpecifier"/>
         <binding name="MimeType" description="The mime type of an attachment. Any valid mime type is allowed." strength="Required"/>
      </element>
      <element name="address" elementType="FHIR.url" description="The technical base address for connecting to this endpoint" definition="The uri that describes the actual end-point to connect to." comment="For rest-hook, and websocket, the end-point must be an http: or https: URL; for email, a mailto: url, for sms, a tel: url, and for message the endpoint can be in any form of url the server understands (usually, http: or mllp:). The URI is allowed to be relative; in which case, it is relative to the server end-point (since there may be more than one, clients should avoid using relative URIs)&#xa;&#xa;This address will be to the service base, without any parameters, or sub-services or resources tacked on.&#xa;&#xa;E.g. for a WADO-RS endpoint, the url should be &quot;https://pacs.hospital.org/wado-rs&quot;&#xa;&#xa;and not &quot;https://pacs.hospital.org/wado-rs/studies/1.2.250.1.59.40211.12345678.678910/series/1.2.250.1.59.40211.789001276.14556172.67789/instances/...&quot;."/>
      <element name="header" description="Usage depends on the channel type" definition="Additional headers / information to send as part of the notification." comment="Exactly what these mean depends on the channel type. The can convey additional information to the recipient and/or meet security requirements.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="name" path="name" type="System.String"/>
      <search name="payload-type" path="payloadType" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="connection-type" path="connectionType" type="System.Code"/>
      <search name="organization" path="managingOrganization" type="FHIR.Organization"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EndpointStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="EnrollmentRequest" identifier="http://hl7.org/fhir/StructureDefinition/EnrollmentRequest" label="EnrollmentRequest" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier" definition="The Response business identifier.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.EnrollmentRequestStatus" description="active | cancelled | draft | entered-in-error" definition="The status of the resource instance." comment="This element is labeled as a modifier because the status contains codes that mark the request as not currently valid.">
         <binding name="EnrollmentRequestStatus" description="A code specifying the state of the resource instance." strength="Required"/>
      </element>
      <element name="created" elementType="FHIR.dateTime" description="Creation date" definition="The date when this resource was created."/>
      <element name="insurer" elementType="FHIR.Reference" description="Target" definition="The Insurer who is target  of the request."/>
      <element name="provider" elementType="FHIR.Reference" description="Responsible practitioner" definition="The practitioner who is responsible for the services rendered to the patient."/>
      <element name="candidate" elementType="FHIR.Reference" description="The subject to be enrolled" definition="Patient Resource."/>
      <element name="coverage" elementType="FHIR.Reference" description="Insurance information" definition="Reference to the program or plan identification, underwriter or payor."/>
      <contextRelationship context="Patient" relatedKeyElement="candidate"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="patient" path="candidate" type="FHIR.Patient"/>
      <search name="subject" path="candidate" type="FHIR.Patient"/>
      <search name="status" path="status" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EnrollmentRequestStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="EnrollmentResponse" identifier="http://hl7.org/fhir/StructureDefinition/EnrollmentResponse" label="EnrollmentResponse" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier" definition="The Response business identifier.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.EnrollmentResponseStatus" description="active | cancelled | draft | entered-in-error" definition="The status of the resource instance." comment="This element is labeled as a modifier because the status contains codes that mark the response as not currently valid.">
         <binding name="EnrollmentResponseStatus" description="A code specifying the state of the resource instance." strength="Required"/>
      </element>
      <element name="request" elementType="FHIR.Reference" description="Claim reference" definition="Original request resource reference."/>
      <element name="outcome" elementType="FHIR.RemittanceOutcome" description="queued | complete | error | partial" definition="Processing status: error, complete.">
         <binding name="RemittanceOutcome" description="The outcome of the processing." strength="Required"/>
      </element>
      <element name="disposition" elementType="FHIR.string" description="Disposition Message" definition="A description of the status of the adjudication."/>
      <element name="created" elementType="FHIR.dateTime" description="Creation date" definition="The date when the enclosed suite of services were performed or completed."/>
      <element name="organization" elementType="FHIR.Reference" description="Insurer" definition="The Insurer who produced this adjudicated response."/>
      <element name="requestProvider" elementType="FHIR.Reference" description="Responsible practitioner" definition="The practitioner who is responsible for the services rendered to the patient."/>
      <search name="request" path="request" type="FHIR.EnrollmentRequest"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EnrollmentResponseStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="EpisodeOfCare" identifier="http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" label="EpisodeOfCare" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier(s) relevant for this EpisodeOfCare" definition="The EpisodeOfCare may be known by different identifiers for different contexts of use, such as when an external agency is tracking the Episode for funding purposes.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.EpisodeOfCareStatus" description="planned | waitlist | active | onhold | finished | cancelled | entered-in-error" definition="planned | waitlist | active | onhold | finished | cancelled." comment="This element is labeled as a modifier because the status contains codes that mark the episode as not currently valid.">
         <binding name="EpisodeOfCareStatus" description="The status of the episode of care." strength="Required"/>
      </element>
      <element name="statusHistory" description="Past list of status codes (the current status may be included to cover the start date of the status)" definition="The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource).">
         <elementTypeSpecifier elementType="FHIR.EpisodeOfCare.StatusHistory" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" description="Type/class  - e.g. specialist referral, disease management" definition="A classification of the type of episode of care; e.g. specialist referral, disease management, type of funded care." comment="The type can be very important in processing as this could be used in determining if the EpisodeOfCare is relevant to specific government reporting, or other types of classifications.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="EpisodeOfCareType" description="The type of the episode of care." strength="Example"/>
      </element>
      <element name="diagnosis" description="The list of diagnosis relevant to this episode of care" definition="The list of diagnosis relevant to this episode of care.">
         <elementTypeSpecifier elementType="FHIR.EpisodeOfCare.Diagnosis" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="The patient who is the focus of this episode of care" definition="The patient who is the focus of this episode of care."/>
      <element name="managingOrganization" elementType="FHIR.Reference" description="Organization that assumes care" definition="The organization that has assumed the specific responsibilities for the specified duration."/>
      <element name="period" elementType="FHIR.Period" description="Interval during responsibility is assumed" definition="The interval during which the managing organization assumes the defined responsibility."/>
      <element name="referralRequest" description="Originating Referral Request(s)" definition="Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="careManager" elementType="FHIR.Reference" description="Care manager/care coordinator for the patient" definition="The practitioner that is the care manager/care coordinator for this patient."/>
      <element name="team" description="Other practitioners facilitating this episode of care" definition="The list of practitioners that may be facilitating this episode of care for specific purposes.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="account" description="The set of accounts that may be used for billing for this EpisodeOfCare" definition="The set of accounts that may be used for billing for this EpisodeOfCare." comment="The billing system may choose to allocate billable items associated with the EpisodeOfCare to different referenced Accounts based on internal business rules.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="where(resolve() is Practitioner)"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="condition" path="diagnosis.condition" type="FHIR.Condition"/>
      <search name="organization" path="managingOrganization" type="FHIR.Organization"/>
      <search name="date" path="period" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="patient" path="patient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="care-manager" path="careManager.where(resolve() is Practitioner)" type="FHIR.Practitioner"/>
      <search name="incoming-referral" path="referralRequest" type="FHIR.ServiceRequest"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="EpisodeOfCare.Diagnosis" retrievable="false" xsi:type="ClassInfo">
      <element name="condition" elementType="FHIR.Reference" description="Conditions/problems/diagnoses this episode of care is for" definition="A list of conditions/problems/diagnoses that this episode of care is intended to be providing care for."/>
      <element name="role" elementType="FHIR.CodeableConcept" description="Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …)" definition="Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …).">
         <binding name="DiagnosisRole" description="The type of diagnosis this condition represents." strength="Preferred"/>
      </element>
      <element name="rank" elementType="FHIR.positiveInt" description="Ranking of the diagnosis (for each role type)" definition="Ranking of the diagnosis (for each role type)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="EpisodeOfCare.StatusHistory" retrievable="false" xsi:type="ClassInfo">
      <element name="status" elementType="FHIR.EpisodeOfCareStatus" description="planned | waitlist | active | onhold | finished | cancelled | entered-in-error" definition="planned | waitlist | active | onhold | finished | cancelled.">
         <binding name="EpisodeOfCareStatus" description="The status of the episode of care." strength="Required"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Duration the EpisodeOfCare was in the specified status" definition="The period during this EpisodeOfCare that the specific status applied."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EpisodeOfCareStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EventCapabilityMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="EventDefinition" identifier="http://hl7.org/fhir/StructureDefinition/EventDefinition" label="EventDefinition" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this event definition, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this event definition 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 event definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the event definition 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the event definition" definition="A formal identifier that is used to identify this event definition when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this event definition outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the event definition" definition="The identifier that is used to identify this version of the event definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the event definition 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 event definition 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 event definition with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this event definition (computer friendly)" definition="A natural language name identifying the event definition. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this event definition (human friendly)" definition="A short, descriptive, user-friendly title for the event definition." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="subtitle" elementType="FHIR.string" description="Subordinate title of the event definition" definition="An explanatory or alternate title for the event definition giving additional information about its content."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this event definition. Enables tracking the life-cycle of the content." comment="Allows filtering of event definitions that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this event definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of event definitions that are appropriate for use versus not."/>
      <element name="subject" description="Type of individual the event definition is focused on" definition="A code or group definition that describes the intended subject of the event definition.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SubjectType" description="The possible types of subjects for an event (E.g. Patient, Practitioner, Organization, Location, etc.)." strength="Extensible"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the event definition 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 event definition 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 event definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the event definition." comment="Usually an organization but may be an individual. The publisher (or steward) of the event definition is the organization or individual primarily responsible for the maintenance and upkeep of the event definition. 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 event definition. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the event definition" definition="A free text natural language description of the event definition from a consumer's perspective." comment="This description can be used to capture details such as why the event definition 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 event definition 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 event definition is presumed to be the predominant language in the place the event definition was created)."/>
      <element name="useContext" description="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 event definition instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for event definition (if applicable)" definition="A legal or geographic region in which the event definition is intended to be used." comment="It may be possible for the event definition to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this event definition is defined" definition="Explanation of why this event definition is needed and why it has been designed as it has." comment="This element does not describe the usage of the event definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this event definition."/>
      <element name="usage" elementType="FHIR.string" description="Describes the clinical usage of the event definition" definition="A detailed description of how the event definition is used from a clinical perspective."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the event definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the event definition."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the event definition was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the event definition was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the event definition is expected to be used" definition="The period during which the event definition content was or is planned to be in active use." comment="The effective period for a event definition  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 might be published in 2015."/>
      <element name="topic" description="E.g. Education, Treatment, Assessment, etc." definition="Descriptive topics related to the module. Topics provide a high-level categorization of the module that can be useful for filtering and searching.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DefinitionTopic" description="High-level categorization of the definition, used for searching, sorting, and filtering." strength="Example"/>
      </element>
      <element name="author" description="Who authored the content" definition="An individiual or organization primarily involved in the creation and maintenance of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="editor" description="Who edited the content" definition="An individual or organization primarily responsible for internal coherence of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reviewer" description="Who reviewed the content" definition="An individual or organization primarily responsible for review of some aspect of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endorser" description="Who endorsed the content" definition="An individual or organization responsible for officially endorsing the content for use in some setting.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedArtifact" description="Additional documentation, citations, etc." definition="Related resources such as additional documentation, justification, or bibliographic references." comment="Each related resource is either an attachment, or a reference to another resource, but not both.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="trigger" description="&quot;when&quot; the event occurs (multiple = 'or')" definition="The trigger element defines when the event occurs. If more than one trigger condition is specified, the event fires whenever any one of the trigger conditions is met.">
         <elementTypeSpecifier elementType="FHIR.TriggerDefinition" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="successor" path="relatedArtifact.where(type='successor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="topic" path="topic" type="System.Code"/>
      <search name="depends-on" path="relatedArtifact.where(type='depends-on').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="url" path="url" type="System.String"/>
      <search name="composed-of" path="relatedArtifact.where(type='composed-of').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="name" path="name" type="System.String"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="predecessor" path="relatedArtifact.where(type='predecessor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="description" path="description" type="System.String"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="derived-from" path="relatedArtifact.where(type='derived-from').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="title" path="title" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EventTiming" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Evidence" identifier="http://hl7.org/fhir/StructureDefinition/Evidence" label="Evidence" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this evidence, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this evidence 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 evidence is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the evidence 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the evidence" definition="A formal identifier that is used to identify this evidence when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this evidence outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the evidence" definition="The identifier that is used to identify this version of the evidence when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the evidence 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. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts." comment="There may be different evidence 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 evidence with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this evidence (computer friendly)" definition="A natural language name identifying the evidence. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this evidence (human friendly)" definition="A short, descriptive, user-friendly title for the evidence." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="shortTitle" elementType="FHIR.string" description="Title for use in informal contexts" definition="The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary."/>
      <element name="subtitle" elementType="FHIR.string" description="Subordinate title of the Evidence" definition="An explanatory or alternate title for the Evidence giving additional information about its content."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this evidence. Enables tracking the life-cycle of the content." comment="Allows filtering of evidences that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the evidence 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 evidence 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 evidence. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the evidence." comment="Usually an organization but may be an individual. The publisher (or steward) of the evidence is the organization or individual primarily responsible for the maintenance and upkeep of the evidence. 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 evidence. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the evidence" definition="A free text natural language description of the evidence from a consumer's perspective." comment="This description can be used to capture details such as why the evidence 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 evidence 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 evidence is presumed to be the predominant language in the place the evidence was created)."/>
      <element name="note" description="Used for footnotes or explanatory notes" definition="A human-readable string to clarify or explain concepts about the resource.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="useContext" description="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 evidence instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for evidence (if applicable)" definition="A legal or geographic region in which the evidence is intended to be used." comment="It may be possible for the evidence to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the evidence and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the evidence was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the evidence was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the evidence is expected to be used" definition="The period during which the evidence content was or is planned to be in active use." comment="The effective period for a evidence  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 might be published in 2015."/>
      <element name="topic" description="The category of the Evidence, such as Education, Treatment, Assessment, etc." definition="Descriptive topics related to the content of the Evidence. Topics provide a high-level categorization grouping types of Evidences that can be useful for filtering and searching.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DefinitionTopic" description="High-level categorization of the definition, used for searching, sorting, and filtering." strength="Example"/>
      </element>
      <element name="author" description="Who authored the content" definition="An individiual or organization primarily involved in the creation and maintenance of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="editor" description="Who edited the content" definition="An individual or organization primarily responsible for internal coherence of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reviewer" description="Who reviewed the content" definition="An individual or organization primarily responsible for review of some aspect of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endorser" description="Who endorsed the content" definition="An individual or organization responsible for officially endorsing the content for use in some setting.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedArtifact" description="Additional documentation, citations, etc." definition="Related artifacts such as additional documentation, justification, or bibliographic references." comment="Each related artifact is either an attachment, or a reference to another resource, but not both.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="exposureBackground" elementType="FHIR.Reference" description="What population?" definition="A reference to a EvidenceVariable resource that defines the population for the research."/>
      <element name="exposureVariant" description="What exposure?" definition="A reference to a EvidenceVariable resource that defines the exposure for the research.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="outcome" description="What outcome?" definition="A reference to a EvidenceVariable resomece that defines the outcome for the research.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="depends-on" path="relatedArtifact.where(type='depends-on').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="topic" path="topic" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="predecessor" path="relatedArtifact.where(type='predecessor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
      <search name="description" path="description" type="System.String"/>
      <search name="composed-of" path="relatedArtifact.where(type='composed-of').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="title" path="title" type="System.String"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="name" path="name" type="System.String"/>
      <search name="derived-from" path="relatedArtifact.where(type='derived-from').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="successor" path="relatedArtifact.where(type='successor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="url" path="url" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="EvidenceVariable" identifier="http://hl7.org/fhir/StructureDefinition/EvidenceVariable" label="EvidenceVariable" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this evidence variable, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this evidence variable 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 evidence variable is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the evidence variable 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the evidence variable" definition="A formal identifier that is used to identify this evidence variable when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this evidence variable outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the evidence variable" definition="The identifier that is used to identify this version of the evidence variable when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the evidence variable 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. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts." comment="There may be different evidence variable 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 evidence variable with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this evidence variable (computer friendly)" definition="A natural language name identifying the evidence variable. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this evidence variable (human friendly)" definition="A short, descriptive, user-friendly title for the evidence variable." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="shortTitle" elementType="FHIR.string" description="Title for use in informal contexts" definition="The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary."/>
      <element name="subtitle" elementType="FHIR.string" description="Subordinate title of the EvidenceVariable" definition="An explanatory or alternate title for the EvidenceVariable giving additional information about its content."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this evidence variable. Enables tracking the life-cycle of the content." comment="Allows filtering of evidence variables that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the evidence variable 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 evidence variable 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 evidence variable. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the evidence variable." comment="Usually an organization but may be an individual. The publisher (or steward) of the evidence variable is the organization or individual primarily responsible for the maintenance and upkeep of the evidence variable. 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 evidence variable. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the evidence variable" definition="A free text natural language description of the evidence variable from a consumer's perspective." comment="This description can be used to capture details such as why the evidence variable 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 evidence variable 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 evidence variable is presumed to be the predominant language in the place the evidence variable was created)."/>
      <element name="note" description="Used for footnotes or explanatory notes" definition="A human-readable string to clarify or explain concepts about the resource.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="useContext" description="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 evidence variable instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for evidence variable (if applicable)" definition="A legal or geographic region in which the evidence variable is intended to be used." comment="It may be possible for the evidence variable to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the evidence variable and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the evidence variable."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the evidence variable was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the evidence variable was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the evidence variable is expected to be used" definition="The period during which the evidence variable content was or is planned to be in active use." comment="The effective period for a evidence variable  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 might be published in 2015."/>
      <element name="topic" description="The category of the EvidenceVariable, such as Education, Treatment, Assessment, etc." definition="Descriptive topics related to the content of the EvidenceVariable. Topics provide a high-level categorization grouping types of EvidenceVariables that can be useful for filtering and searching.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DefinitionTopic" description="High-level categorization of the definition, used for searching, sorting, and filtering." strength="Example"/>
      </element>
      <element name="author" description="Who authored the content" definition="An individiual or organization primarily involved in the creation and maintenance of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="editor" description="Who edited the content" definition="An individual or organization primarily responsible for internal coherence of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reviewer" description="Who reviewed the content" definition="An individual or organization primarily responsible for review of some aspect of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endorser" description="Who endorsed the content" definition="An individual or organization responsible for officially endorsing the content for use in some setting.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedArtifact" description="Additional documentation, citations, etc." definition="Related artifacts such as additional documentation, justification, or bibliographic references." comment="Each related artifact is either an attachment, or a reference to another resource, but not both.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.EvidenceVariableType" description="dichotomous | continuous | descriptive" definition="The type of evidence element, a population, an exposure, or an outcome.">
         <binding name="EvidenceVariableType" description="The possible types of variables for exposures or outcomes (E.g. Dichotomous, Continuous, Descriptive)." strength="Required"/>
      </element>
      <element name="characteristic" description="What defines the members of the evidence element" definition="A characteristic that defines the members of the evidence element. Multiple characteristics are applied with &quot;and&quot; semantics." comment="Characteristics can be defined flexibly to accommodate different use cases for membership criteria, ranging from simple codes, all the way to using an expression language to express the criteria.">
         <elementTypeSpecifier elementType="FHIR.EvidenceVariable.Characteristic" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="name" path="name" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="composed-of" path="relatedArtifact.where(type='composed-of').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="successor" path="relatedArtifact.where(type='successor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="version" path="version" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="predecessor" path="relatedArtifact.where(type='predecessor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="url" path="url" type="System.String"/>
      <search name="topic" path="topic" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="depends-on" path="relatedArtifact.where(type='depends-on').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="derived-from" path="relatedArtifact.where(type='derived-from').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="EvidenceVariable.Characteristic" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Natural language description of the characteristic" definition="A short, natural language description of the characteristic that could be used to communicate the criteria to an end-user."/>
      <element name="definition" description="What code or expression defines members?" definition="Define members of the evidence element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Expression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DataRequirement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TriggerDefinition" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="usageContext" description="What code/value pairs define members?" definition="Use UsageContext to define the members of the population, such as Age Ranges, Genders, Settings.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="exclude" elementType="FHIR.boolean" description="Whether the characteristic includes or excludes members" definition="When true, members with this characteristic are excluded from the element."/>
      <element name="participantEffective" description="What time period do participants cover" definition="Indicates what effective period the study covers.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="timeFromStart" elementType="FHIR.Duration" description="Observation time from study start" definition="Indicates duration from the participant's study entry."/>
      <element name="groupMeasure" elementType="FHIR.GroupMeasure" description="mean | median | mean-of-mean | mean-of-median | median-of-mean | median-of-median" definition="Indicates how elements are aggregated within the study effective period.">
         <binding name="GroupMeasure" description="Possible group measure aggregates (E.g. Mean, Median)." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="EvidenceVariableType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ExampleScenario" identifier="http://hl7.org/fhir/StructureDefinition/ExampleScenario" label="ExampleScenario" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this example scenario, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this example scenario 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 example scenario is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the example scenario 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the example scenario" definition="A formal identifier that is used to identify this example scenario when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this example scenario outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the example scenario" definition="The identifier that is used to identify this version of the example scenario when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the example scenario 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 example scenario 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 example scenario with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this example scenario (computer friendly)" definition="A natural language name identifying the example scenario. 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."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this example scenario. Enables tracking the life-cycle of the content." comment="Allows filtering of example scenarios that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this example scenario is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of example scenarios that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the example scenario 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 example scenario changes. (e.g. the 'content logical definition')." comment="Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the example scenario. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the example scenario." comment="Usually an organization but may be an individual. The publisher (or steward) of the example scenario is the organization or individual primarily responsible for the maintenance and upkeep of the example scenario. 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 example scenario. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="useContext" description="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 example scenario instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for example scenario (if applicable)" definition="A legal or geographic region in which the example scenario is intended to be used." comment="It may be possible for the example scenario to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the example scenario and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the example scenario." comment="nullFrequently, the copyright differs between the value set and the codes that are included. The copyright statement should clearly differentiate between these when required."/>
      <element name="purpose" elementType="FHIR.markdown" description="The purpose of the example, e.g. to illustrate a scenario" definition="What the example scenario resource is created for. This should not be used to show the business purpose of the scenario itself, but the purpose of documenting a scenario." comment="This element does not describe the usage of the example scenario. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this example scenario."/>
      <element name="actor" description="Actor participating in the resource" definition="Actor participating in the resource.">
         <elementTypeSpecifier elementType="FHIR.ExampleScenario.Actor" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instance" description="Each resource and each version that is present in the workflow" definition="Each resource and each version that is present in the workflow.">
         <elementTypeSpecifier elementType="FHIR.ExampleScenario.Instance" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="process" description="Each major process - a group of operations" definition="Each major process - a group of operations.">
         <elementTypeSpecifier elementType="FHIR.ExampleScenario.Process" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="workflow" description="Another nested workflow" definition="Another nested workflow.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="version" path="version" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="url" path="url" type="System.String"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExampleScenario.Actor" retrievable="false" xsi:type="ClassInfo">
      <element name="actorId" elementType="FHIR.string" description="ID or acronym of the actor" definition="ID or acronym of actor." comment="should this be called ID or acronym?"/>
      <element name="type" elementType="FHIR.ExampleScenarioActorType" description="person | entity" definition="The type of actor - person or system.">
         <binding name="ExampleScenarioActorType" description="The type of actor - system or human." strength="Required"/>
      </element>
      <element name="name" elementType="FHIR.string" description="The name of the actor as shown in the page" definition="The name of the actor as shown in the page." comment="Cardinality: is name and description 1..1?"/>
      <element name="description" elementType="FHIR.markdown" description="The description of the actor" definition="The description of the actor." comment="Cardinality: is name and description 1..1?"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExampleScenario.Instance" retrievable="false" xsi:type="ClassInfo">
      <element name="resourceId" elementType="FHIR.string" description="The id of the resource for referencing" definition="The id of the resource for referencing."/>
      <element name="resourceType" elementType="FHIR.FHIRResourceType" description="The type of the resource" definition="The type of the resource.">
         <binding name="FHIRResourceType" description="The type of resource." strength="Required"/>
      </element>
      <element name="name" elementType="FHIR.string" description="A short name for the resource instance" definition="A short name for the resource instance."/>
      <element name="description" elementType="FHIR.markdown" description="Human-friendly description of the resource instance" definition="Human-friendly description of the resource instance."/>
      <element name="version" description="A specific version of the resource" definition="A specific version of the resource.">
         <elementTypeSpecifier elementType="FHIR.ExampleScenario.Instance.Version" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="containedInstance" description="Resources contained in the instance" definition="Resources contained in the instance (e.g. the observations contained in a bundle).">
         <elementTypeSpecifier elementType="FHIR.ExampleScenario.Instance.ContainedInstance" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExampleScenario.Instance.ContainedInstance" retrievable="false" xsi:type="ClassInfo">
      <element name="resourceId" elementType="FHIR.string" description="Each resource contained in the instance" definition="Each resource contained in the instance."/>
      <element name="versionId" elementType="FHIR.string" description="A specific version of a resource contained in the instance" definition="A specific version of a resource contained in the instance."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExampleScenario.Instance.Version" retrievable="false" xsi:type="ClassInfo">
      <element name="versionId" elementType="FHIR.string" description="The identifier of a specific version of a resource" definition="The identifier of a specific version of a resource."/>
      <element name="description" elementType="FHIR.markdown" description="The description of the resource version" definition="The description of the resource version."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExampleScenario.Process" retrievable="false" xsi:type="ClassInfo">
      <element name="title" elementType="FHIR.string" description="The diagram title of the group of operations" definition="The diagram title of the group of operations."/>
      <element name="description" elementType="FHIR.markdown" description="A longer description of the group of operations" definition="A longer description of the group of operations."/>
      <element name="preConditions" elementType="FHIR.markdown" description="Description of initial status before the process starts" definition="Description of initial status before the process starts."/>
      <element name="postConditions" elementType="FHIR.markdown" description="Description of final status after the process ends" definition="Description of final status after the process ends."/>
      <element name="step" description="Each step of the process" definition="Each step of the process.">
         <elementTypeSpecifier elementType="FHIR.ExampleScenario.Process.Step" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExampleScenario.Process.Step" retrievable="false" xsi:type="ClassInfo">
      <element name="process" description="Nested process" definition="Nested process.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ExampleScenario.Process" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="pause" elementType="FHIR.boolean" description="If there is a pause in the flow" definition="If there is a pause in the flow."/>
      <element name="operation" elementType="FHIR.ExampleScenario.Process.Step.Operation" description="Each interaction or action" definition="Each interaction or action."/>
      <element name="alternative" description="Alternate non-typical step action" definition="Indicates an alternative step that can be taken instead of the operations on the base step in exceptional/atypical circumstances.">
         <elementTypeSpecifier elementType="FHIR.ExampleScenario.Process.Step.Alternative" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExampleScenario.Process.Step.Alternative" retrievable="false" xsi:type="ClassInfo">
      <element name="title" elementType="FHIR.string" description="Label for alternative" definition="The label to display for the alternative that gives a sense of the circumstance in which the alternative should be invoked."/>
      <element name="description" elementType="FHIR.markdown" description="A human-readable description of each option" definition="A human-readable description of the alternative explaining when the alternative should occur rather than the base step."/>
      <element name="step" description="What happens in each alternative option" definition="What happens in each alternative option.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ExampleScenario.Process.Step" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExampleScenario.Process.Step.Operation" retrievable="false" xsi:type="ClassInfo">
      <element name="number" elementType="FHIR.string" description="The sequential number of the interaction" definition="The sequential number of the interaction, e.g. 1.2.5."/>
      <element name="type" elementType="FHIR.string" description="The type of operation - CRUD" definition="The type of operation - CRUD."/>
      <element name="name" elementType="FHIR.string" description="The human-friendly name of the interaction" definition="The human-friendly name of the interaction."/>
      <element name="initiator" elementType="FHIR.string" description="Who starts the transaction" definition="Who starts the transaction."/>
      <element name="receiver" elementType="FHIR.string" description="Who receives the transaction" definition="Who receives the transaction."/>
      <element name="description" elementType="FHIR.markdown" description="A comment to be inserted in the diagram" definition="A comment to be inserted in the diagram."/>
      <element name="initiatorActive" elementType="FHIR.boolean" description="Whether the initiator is deactivated right after the transaction" definition="Whether the initiator is deactivated right after the transaction."/>
      <element name="receiverActive" elementType="FHIR.boolean" description="Whether the receiver is deactivated right after the transaction" definition="Whether the receiver is deactivated right after the transaction."/>
      <element name="request" elementType="FHIR.ExampleScenario.Instance.ContainedInstance" description="Each resource instance used by the initiator" definition="Each resource instance used by the initiator."/>
      <element name="response" elementType="FHIR.ExampleScenario.Instance.ContainedInstance" description="Each resource instance used by the responder" definition="Each resource instance used by the responder."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ExampleScenarioActorType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ExplanationOfBenefit" identifier="http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit" label="ExplanationOfBenefit" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for the resource" definition="A unique identifier assigned to this explanation of benefit.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ExplanationOfBenefitStatus" description="active | cancelled | draft | entered-in-error" definition="The status of the resource instance." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="ExplanationOfBenefitStatus" description="A code specifying the state of the resource instance." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Category or discipline" definition="The category of claim, e.g. oral, pharmacy, vision, institutional, professional." comment="The majority of jurisdictions use: oral, pharmacy, vision, professional and institutional, or variants on those terms, as the general styles of claims. The valueset is extensible to accommodate other jurisdictional requirements.">
         <binding name="ClaimType" description="The type or discipline-style of the claim." strength="Extensible"/>
      </element>
      <element name="subType" elementType="FHIR.CodeableConcept" description="More granular claim type" definition="A finer grained suite of claim type codes which may convey additional information such as Inpatient vs Outpatient and/or a specialty service." comment="This may contain the local bill type codes such as the US UB-04 bill type code.">
         <binding name="ClaimSubType" description="A more granular claim typecode." strength="Example"/>
      </element>
      <element name="use" elementType="FHIR.Use" description="claim | preauthorization | predetermination" definition="A code to indicate whether the nature of the request is: to request adjudication of products and services previously rendered; or requesting authorization and adjudication for provision in the future; or requesting the non-binding adjudication of the listed products and services which could be provided in the future.">
         <binding name="Use" description="Complete, proposed, exploratory, other." strength="Required"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="The recipient of the products and services" definition="The party to whom the professional services and/or products have been supplied or are being considered and for whom actual for forecast reimbursement is sought."/>
      <element name="billablePeriod" elementType="FHIR.Period" description="Relevant time frame for the claim" definition="The period for which charges are being submitted." comment="Typically this would be today or in the past for a claim, and today or in the future for preauthorizations and prodeterminations. Typically line item dates of service should fall within the billing period if one is specified."/>
      <element name="created" elementType="FHIR.dateTime" description="Response creation date" definition="The date this resource was created." comment="This field is independent of the date of creation of the resource as it may reflect the creation date of a source document prior to digitization. Typically for claims all services must be completed as of this date."/>
      <element name="enterer" elementType="FHIR.Reference" description="Author of the claim" definition="Individual who created the claim, predetermination or preauthorization."/>
      <element name="insurer" elementType="FHIR.Reference" description="Party responsible for reimbursement" definition="The party responsible for authorization, adjudication and reimbursement."/>
      <element name="provider" elementType="FHIR.Reference" description="Party responsible for the claim" definition="The provider which is responsible for the claim, predetermination or preauthorization." comment="Typically this field would be 1..1 where this party is responsible for the claim but not necessarily professionally responsible for the provision of the individual products and services listed below."/>
      <element name="priority" elementType="FHIR.CodeableConcept" description="Desired processing urgency" definition="The provider-required urgency of processing the request. Typical values include: stat, routine deferred." comment="If a claim processor is unable to complete the processing as per the priority then they should generate and error and not process the request.">
         <binding name="ProcessPriority" description="The timeliness with which processing is required: stat, normal, deferred." strength="Example"/>
      </element>
      <element name="fundsReserveRequested" elementType="FHIR.CodeableConcept" description="For whom to reserve funds" definition="A code to indicate whether and for whom funds are to be reserved for future claims." comment="This field is only used for preauthorizations.">
         <binding name="FundsReserve" description="For whom funds are to be reserved: (Patient, Provider, None)." strength="Example"/>
      </element>
      <element name="fundsReserve" elementType="FHIR.CodeableConcept" description="Funds reserved status" definition="A code, used only on a response to a preauthorization, to indicate whether the benefits payable have been reserved and for whom." comment="Fund would be release by a future claim quoting the preAuthRef of this response. Examples of values include: provider, patient, none.">
         <binding name="FundsReserve" description="For whom funds are to be reserved: (Patient, Provider, None)." strength="Example"/>
      </element>
      <element name="related" description="Prior or corollary claims" definition="Other claims which are related to this claim such as prior submissions or claims for related services or for the same event." comment="For example,  for the original treatment and follow-up exams.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.Related" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="prescription" elementType="FHIR.Reference" description="Prescription authorizing services or products" definition="Prescription to support the dispensing of pharmacy, device or vision products."/>
      <element name="originalPrescription" elementType="FHIR.Reference" description="Original prescription if superceded by fulfiller" definition="Original prescription which has been superseded by this prescription to support the dispensing of pharmacy services, medications or products." comment="For example, a physician may prescribe a medication which the pharmacy determines is contraindicated, or for which the patient has an intolerance, and therefor issues a new prescription for an alternate medication which has the same therapeutic intent. The prescription from the pharmacy becomes the 'prescription' and that from the physician becomes the 'original prescription'."/>
      <element name="payee" elementType="FHIR.ExplanationOfBenefit.Payee" description="Recipient of benefits payable" definition="The party to be reimbursed for cost of the products and services according to the terms of the policy." comment="Often providers agree to receive the benefits payable to reduce the near-term costs to the patient. The insurer may decline to pay the provider and may choose to pay the subscriber instead."/>
      <element name="referral" elementType="FHIR.Reference" description="Treatment Referral" definition="A reference to a referral resource." comment="The referral resource which lists the date, practitioner, reason and other supporting information."/>
      <element name="facility" elementType="FHIR.Reference" description="Servicing Facility" definition="Facility where the services were provided."/>
      <element name="claim" elementType="FHIR.Reference" description="Claim reference" definition="The business identifier for the instance of the adjudication request: claim predetermination or preauthorization."/>
      <element name="claimResponse" elementType="FHIR.Reference" description="Claim response reference" definition="The business identifier for the instance of the adjudication response: claim, predetermination or preauthorization response."/>
      <element name="outcome" elementType="FHIR.RemittanceOutcome" description="queued | complete | error | partial" definition="The outcome of the claim, predetermination, or preauthorization processing." comment="The resource may be used to indicate that: the request has been held (queued) for processing; that it has been processed and errors found (error); that no errors were found and that some of the adjudication has been undertaken (partial) or that all of the adjudication has been undertaken (complete).">
         <binding name="RemittanceOutcome" description="The result of the claim processing." strength="Required"/>
      </element>
      <element name="disposition" elementType="FHIR.string" description="Disposition Message" definition="A human readable description of the status of the adjudication."/>
      <element name="preAuthRef" description="Preauthorization reference" definition="Reference from the Insurer which is used in later communications which refers to this adjudication." comment="This value is only present on preauthorization adjudications.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="preAuthRefPeriod" description="Preauthorization in-effect period" definition="The timeframe during which the supplied preauthorization reference may be quoted on claims to obtain the adjudication as provided." comment="This value is only present on preauthorization adjudications.">
         <elementTypeSpecifier elementType="FHIR.Period" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="careTeam" description="Care Team members" definition="The members of the team who provided the products and services.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.CareTeam" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="supportingInfo" description="Supporting information" definition="Additional information codes regarding exceptions, special considerations, the condition, situation, prior or concurrent issues." comment="Often there are multiple jurisdiction specific valuesets which are required.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.SupportingInfo" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="diagnosis" description="Pertinent diagnosis information" definition="Information about diagnoses relevant to the claim items.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.Diagnosis" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="procedure" description="Clinical procedures performed" definition="Procedures performed on the patient relevant to the billing items with the claim.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.Procedure" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="precedence" elementType="FHIR.positiveInt" description="Precedence (primary, secondary, etc.)" definition="This indicates the relative order of a series of EOBs related to different coverages for the same suite of services."/>
      <element name="insurance" description="Patient insurance information" definition="Financial instruments for reimbursement for the health care products and services specified on the claim." comment="All insurance coverages for the patient which may be applicable for reimbursement, of the products and services listed in the claim, are typically provided in the claim to allow insurers to confirm the ordering of the insurance coverages relative to local 'coordination of benefit' rules. One coverage (and only one) with 'focal=true' is to be used in the adjudication of this claim. Coverages appearing before the focal Coverage in the list, and where 'Coverage.subrogation=false', should provide a reference to the ClaimResponse containing the adjudication results of the prior claim.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.Insurance" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="accident" elementType="FHIR.ExplanationOfBenefit.Accident" description="Details of the event" definition="Details of a accident which resulted in injuries which required the products and services listed in the claim."/>
      <element name="item" description="Product or service provided" definition="A claim line. Either a simple (a product or service) or a 'group' of details which can also be a simple items or groups of sub-details.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.Item" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="addItem" description="Insurer added line items" definition="The first-tier service adjudications for payor added product or service lines.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.AddItem" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Header-level adjudication" definition="The adjudication results which are presented at the header level rather than at the line-item or add-item levels.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ExplanationOfBenefit.Item.Adjudication" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="total" description="Adjudication totals" definition="Categorized monetary totals for the adjudication." comment="Totals for amounts submitted, co-pays, benefits payable etc.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.Total" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="payment" elementType="FHIR.ExplanationOfBenefit.Payment" description="Payment Details" definition="Payment details for the adjudication of the claim."/>
      <element name="formCode" elementType="FHIR.CodeableConcept" description="Printed form identifier" definition="A code for the form to be used for printing the content." comment="May be needed to identify specific jurisdictional forms.">
         <binding name="Forms" description="The forms codes." strength="Example"/>
      </element>
      <element name="form" elementType="FHIR.Attachment" description="Printed reference or actual form" definition="The actual form, by reference or inclusion, for printing the content or an EOB." comment="Needed to permit insurers to include the actual form."/>
      <element name="processNote" description="Note concerning adjudication" definition="A note that describes or explains adjudication results in a human readable form.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.ProcessNote" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="benefitPeriod" elementType="FHIR.Period" description="When the benefits are applicable" definition="The term of the benefits documented in this response." comment="Not applicable when use=claim."/>
      <element name="benefitBalance" description="Balance by Benefit Category" definition="Balance by Benefit Category.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.BenefitBalance" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="enterer"/>
      <contextRelationship context="Practitioner" relatedKeyElement="provider"/>
      <contextRelationship context="Practitioner" relatedKeyElement="party"/>
      <contextRelationship context="Practitioner" relatedKeyElement="provider"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Patient" relatedKeyElement="party"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="udi"/>
      <contextRelationship context="Device" relatedKeyElement="udi"/>
      <contextRelationship context="Device" relatedKeyElement="udi"/>
      <contextRelationship context="Device" relatedKeyElement="udi"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="party"/>
      <search name="subdetail-udi" path="item.detail.subDetail.udi" type="FHIR.Device"/>
      <search name="procedure-udi" path="procedure.udi" type="FHIR.Device"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="facility" path="facility" type="FHIR.Location"/>
      <search name="provider" path="provider">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="payee" path="payee.party">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="enterer" path="enterer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="disposition" path="disposition" type="System.String"/>
      <search name="care-team" path="careTeam.provider">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="created" path="created" type="System.DateTime"/>
      <search name="encounter" path="item.encounter" type="FHIR.Encounter"/>
      <search name="patient" path="patient" type="FHIR.Patient"/>
      <search name="claim" path="claim" type="FHIR.Claim"/>
      <search name="item-udi" path="item.udi" type="FHIR.Device"/>
      <search name="detail-udi" path="item.detail.udi" type="FHIR.Device"/>
      <search name="coverage" path="insurance.coverage" type="FHIR.Coverage"/>
      <search name="status" path="status" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.Accident" retrievable="false" xsi:type="ClassInfo">
      <element name="date" elementType="FHIR.date" description="When the incident occurred" definition="Date of an accident event  related to the products and services contained in the claim." comment="The date of the accident has to precede the dates of the products and services but within a reasonable timeframe."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="The nature of the accident" definition="The type or context of the accident event for the purposes of selection of potential insurance coverages and determination of coordination between insurers.">
         <binding name="AccidentType" description="Type of accident: work place, auto, etc." strength="Extensible"/>
      </element>
      <element name="location" description="Where the event occurred" definition="The physical location of the accident event.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.AddItem" retrievable="false" xsi:type="ClassInfo">
      <element name="itemSequence" description="Item sequence number" definition="Claim items which this service line is intended to replace.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="detailSequence" description="Detail sequence number" definition="The sequence number of the details within the claim item which this line is intended to replace.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subDetailSequence" description="Subdetail sequence number" definition="The sequence number of the sub-details woithin the details within the claim item which this line is intended to replace.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="provider" description="Authorized providers" definition="The providers who are authorized for the services rendered to the patient.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item." comment="If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Service/Product billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="programCode" description="Program the product or service is provided under" definition="Identifies the program under which this may be recovered." comment="For example: Neonatal program, child dental program or drug users recovery program.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProgramCode" description="Program specific reason codes." strength="Example"/>
      </element>
      <element name="serviced" description="Date or dates of service or product delivery" definition="The date or dates when the service or product was supplied, performed or completed.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="location" description="Place of service or where product was supplied" definition="Where the product or service was provided.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ServicePlace" description="Place where the service is rendered." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group."/>
      <element name="factor" elementType="FHIR.decimal" description="Price scaling factor" definition="A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." comment="To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)."/>
      <element name="net" elementType="FHIR.Money" description="Total item cost" definition="The quantity times the unit price for an additional service or product or charge." comment="For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied."/>
      <element name="bodySite" elementType="FHIR.CodeableConcept" description="Anatomical location" definition="Physical service site on the patient (limb, tooth, etc.)." comment="For example, providing a tooth code allows an insurer to identify a provider performing a filling on a tooth that was previously removed.">
         <binding name="OralSites" description="The code for the teeth, quadrant, sextant and arch." strength="Example"/>
      </element>
      <element name="subSite" description="Anatomical sub-location" definition="A region or surface of the bodySite, e.g. limb region or tooth surface(s).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Surface" description="The code for the tooth surface and surface combinations." strength="Example"/>
      </element>
      <element name="noteNumber" description="Applicable note numbers" definition="The numbers associated with notes below which apply to the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Added items adjudication" definition="The adjudication results.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ExplanationOfBenefit.Item.Adjudication" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="detail" description="Insurer added line items" definition="The second-tier service adjudications for payor added services.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.AddItem.Detail" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.AddItem.Detail" retrievable="false" xsi:type="ClassInfo">
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item." comment="If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Service/Product billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group."/>
      <element name="factor" elementType="FHIR.decimal" description="Price scaling factor" definition="A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." comment="To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)."/>
      <element name="net" elementType="FHIR.Money" description="Total item cost" definition="The quantity times the unit price for an additional service or product or charge." comment="For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied."/>
      <element name="noteNumber" description="Applicable note numbers" definition="The numbers associated with notes below which apply to the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Added items adjudication" definition="The adjudication results.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ExplanationOfBenefit.Item.Adjudication" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="subDetail" description="Insurer added line items" definition="The third-tier service adjudications for payor added services.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.AddItem.Detail.SubDetail" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.AddItem.Detail.SubDetail" retrievable="false" xsi:type="ClassInfo">
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item." comment="If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Service/Product billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group."/>
      <element name="factor" elementType="FHIR.decimal" description="Price scaling factor" definition="A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." comment="To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)."/>
      <element name="net" elementType="FHIR.Money" description="Total item cost" definition="The quantity times the unit price for an additional service or product or charge." comment="For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied."/>
      <element name="noteNumber" description="Applicable note numbers" definition="The numbers associated with notes below which apply to the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Added items adjudication" definition="The adjudication results.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ExplanationOfBenefit.Item.Adjudication" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.BenefitBalance" retrievable="false" xsi:type="ClassInfo">
      <element name="category" elementType="FHIR.CodeableConcept" description="Benefit classification" definition="Code to identify the general type of benefits under which products and services are provided." comment="Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.">
         <binding name="BenefitCategory" description="Benefit categories such as: oral, medical, vision, oral-basic etc." strength="Example"/>
      </element>
      <element name="excluded" elementType="FHIR.boolean" description="Excluded from the plan" definition="True if the indicated class of service is excluded from the plan, missing or False indicates the product or service is included in the coverage."/>
      <element name="name" elementType="FHIR.string" description="Short name for the benefit" definition="A short name or tag for the benefit." comment="For example: MED01, or DENT2."/>
      <element name="description" elementType="FHIR.string" description="Description of the benefit or services covered" definition="A richer description of the benefit or services covered." comment="For example, 'DENT2 covers 100% of basic, 50% of major but excludes Ortho, Implants and Cosmetic services'."/>
      <element name="network" elementType="FHIR.CodeableConcept" description="In or out of network" definition="Is a flag to indicate whether the benefits refer to in-network providers or out-of-network providers.">
         <binding name="BenefitNetwork" description="Code to classify in or out of network services." strength="Example"/>
      </element>
      <element name="unit" elementType="FHIR.CodeableConcept" description="Individual or family" definition="Indicates if the benefits apply to an individual or to the family.">
         <binding name="BenefitUnit" description="Unit covered/serviced - individual or family." strength="Example"/>
      </element>
      <element name="term" elementType="FHIR.CodeableConcept" description="Annual or lifetime" definition="The term or period of the values such as 'maximum lifetime benefit' or 'maximum annual visits'.">
         <binding name="BenefitTerm" description="Coverage unit - annual, lifetime." strength="Example"/>
      </element>
      <element name="financial" description="Benefit Summary" definition="Benefits Used to date.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.BenefitBalance.Financial" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.BenefitBalance.Financial" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Benefit classification" definition="Classification of benefit being provided." comment="For example: deductible, visits, benefit amount.">
         <binding name="BenefitType" description="Deductable, visits, co-pay, etc." strength="Example"/>
      </element>
      <element name="allowed" description="Benefits allowed" definition="The quantity of the benefit which is permitted under the coverage.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="used" description="Benefits used" definition="The quantity of the benefit which have been consumed to date.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.CareTeam" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Order of care team" definition="A number to uniquely identify care team entries."/>
      <element name="provider" elementType="FHIR.Reference" description="Practitioner or organization" definition="Member of the team who provided the product or service."/>
      <element name="responsible" elementType="FHIR.boolean" description="Indicator of the lead practitioner" definition="The party who is billing and/or responsible for the claimed products or services." comment="Responsible might not be required when there is only a single provider listed."/>
      <element name="role" elementType="FHIR.CodeableConcept" description="Function within the team" definition="The lead, assisting or supervising practitioner and their discipline if a multidisciplinary team." comment="Role might not be required when there is only a single provider listed.">
         <binding name="CareTeamRole" description="The role codes for the care team members." strength="Example"/>
      </element>
      <element name="qualification" elementType="FHIR.CodeableConcept" description="Practitioner credential or specialization" definition="The qualification of the practitioner which is applicable for this service.">
         <binding name="ProviderQualification" description="Provider professional qualifications." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.Diagnosis" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Diagnosis instance identifier" definition="A number to uniquely identify diagnosis entries." comment="Diagnosis are presented in list order to their expected importance: primary, secondary, etc."/>
      <element name="diagnosis" description="Nature of illness or problem" definition="The nature of illness or problem in a coded form or as a reference to an external defined Condition.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ICD10" description="ICD10 Diagnostic codes." strength="Example"/>
      </element>
      <element name="type" description="Timing or nature of the diagnosis" definition="When the condition was observed or the relative ranking." comment="For example: admitting, primary, secondary, discharge.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DiagnosisType" description="The type of the diagnosis: admitting, principal, discharge." strength="Example"/>
      </element>
      <element name="onAdmission" elementType="FHIR.CodeableConcept" description="Present on admission" definition="Indication of whether the diagnosis was present on admission to a facility.">
         <binding name="DiagnosisOnAdmission" description="Present on admission." strength="Example"/>
      </element>
      <element name="packageCode" elementType="FHIR.CodeableConcept" description="Package billing code" definition="A package billing code or bundle code used to group products and services to a particular health condition (such as heart attack) which is based on a predetermined grouping code system." comment="For example, DRG (Diagnosis Related Group) or a bundled billing code. A patient may have a diagnosis of a Myocardio-infarction and a DRG for HeartAttack would assigned. The Claim item (and possible subsequent claims) would refer to the DRG for those line items that were for services related to the heart attack event.">
         <binding name="DiagnosisRelatedGroup" description="The DRG codes associated with the diagnosis." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.Insurance" retrievable="false" xsi:type="ClassInfo">
      <element name="focal" elementType="FHIR.boolean" description="Coverage to be used for adjudication" definition="A flag to indicate that this Coverage is to be used for adjudication of this claim when set to true." comment="A patient may (will) have multiple insurance policies which provide reimbursement for healthcare services and products. For example, a person may also be covered by their spouse's policy and both appear in the list (and may be from the same insurer). This flag will be set to true for only one of the listed policies and that policy will be used for adjudicating this claim. Other claims would be created to request adjudication against the other listed policies."/>
      <element name="coverage" elementType="FHIR.Reference" description="Insurance information" definition="Reference to the insurance card level information contained in the Coverage resource. The coverage issuing insurer will use these details to locate the patient's actual coverage within the insurer's information system."/>
      <element name="preAuthRef" description="Prior authorization reference number" definition="Reference numbers previously provided by the insurer to the provider to be quoted on subsequent claims containing services or products related to the prior authorization." comment="This value is an alphanumeric string that may be provided over the phone, via text, via paper, or within a ClaimResponse resource and is not a FHIR Identifier.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.Item" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Item instance identifier" definition="A number to uniquely identify item entries."/>
      <element name="careTeamSequence" description="Applicable care team members" definition="Care team members related to this service or product.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="diagnosisSequence" description="Applicable diagnoses" definition="Diagnoses applicable for this service or product.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="procedureSequence" description="Applicable procedures" definition="Procedures applicable for this service or product.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="informationSequence" description="Applicable exception and supporting information" definition="Exceptions, special conditions and supporting information applicable for this service or product.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="revenue" elementType="FHIR.CodeableConcept" description="Revenue or cost center code" definition="The type of revenue or cost center providing the product and/or service.">
         <binding name="RevenueCenter" description="Codes for the revenue or cost centers supplying the service and/or products." strength="Example"/>
      </element>
      <element name="category" elementType="FHIR.CodeableConcept" description="Benefit classification" definition="Code to identify the general type of benefits under which products and services are provided." comment="Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.">
         <binding name="BenefitCategory" description="Benefit categories such as: oral, medical, vision, oral-basic etc." strength="Example"/>
      </element>
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item." comment="If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Product or service billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="programCode" description="Program the product or service is provided under" definition="Identifies the program under which this may be recovered." comment="For example: Neonatal program, child dental program or drug users recovery program.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProgramCode" description="Program specific reason codes." strength="Example"/>
      </element>
      <element name="serviced" description="Date or dates of service or product delivery" definition="The date or dates when the service or product was supplied, performed or completed.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="location" description="Place of service or where product was supplied" definition="Where the product or service was provided.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ServicePlace" description="Place where the service is rendered." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group."/>
      <element name="factor" elementType="FHIR.decimal" description="Price scaling factor" definition="A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." comment="To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)."/>
      <element name="net" elementType="FHIR.Money" description="Total item cost" definition="The quantity times the unit price for an additional service or product or charge." comment="For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied."/>
      <element name="udi" description="Unique device identifier" definition="Unique Device Identifiers associated with this line item.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="bodySite" elementType="FHIR.CodeableConcept" description="Anatomical location" definition="Physical service site on the patient (limb, tooth, etc.)." comment="For example: Providing a tooth code, allows an insurer to identify a provider performing a filling on a tooth that was previously removed.">
         <binding name="OralSites" description="The code for the teeth, quadrant, sextant and arch." strength="Example"/>
      </element>
      <element name="subSite" description="Anatomical sub-location" definition="A region or surface of the bodySite, e.g. limb region or tooth surface(s).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Surface" description="The code for the tooth surface and surface combinations." strength="Example"/>
      </element>
      <element name="encounter" description="Encounters related to this billed item" definition="A billed item may include goods or services provided in multiple encounters.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="noteNumber" description="Applicable note numbers" definition="The numbers associated with notes below which apply to the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Adjudication details" definition="If this item is a group then the values here are a summary of the adjudication of the detail items. If this item is a simple product or service then this is the result of the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.Item.Adjudication" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="detail" description="Additional items" definition="Second-tier of goods and services.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.Item.Detail" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.Item.Adjudication" retrievable="false" xsi:type="ClassInfo">
      <element name="category" elementType="FHIR.CodeableConcept" description="Type of adjudication information" definition="A code to indicate the information type of this adjudication record. Information types may include: the value submitted, maximum values or percentages allowed or payable under the plan, amounts that the patient is responsible for in-aggregate or pertaining to this item, amounts paid by other coverages, and the benefit payable for this item." comment="For example, codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc.">
         <binding name="Adjudication" description="The adjudication codes." strength="Example"/>
      </element>
      <element name="reason" elementType="FHIR.CodeableConcept" description="Explanation of adjudication outcome" definition="A code supporting the understanding of the adjudication result and explaining variance from expected amount." comment="For example, may indicate that the funds for this benefit type have been exhausted.">
         <binding name="AdjudicationReason" description="Adjudication reason codes." strength="Example"/>
      </element>
      <element name="amount" elementType="FHIR.Money" description="Monetary amount" definition="Monetary amount associated with the category." comment="For example, amount submitted, eligible amount, co-payment, and benefit payable."/>
      <element name="value" elementType="FHIR.decimal" description="Non-monitary value" definition="A non-monetary value associated with the category. Mutually exclusive to the amount element above." comment="For example: eligible percentage or co-payment percentage."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.Item.Detail" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Product or service provided" definition="A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items."/>
      <element name="revenue" elementType="FHIR.CodeableConcept" description="Revenue or cost center code" definition="The type of revenue or cost center providing the product and/or service.">
         <binding name="RevenueCenter" description="Codes for the revenue or cost centers supplying the service and/or products." strength="Example"/>
      </element>
      <element name="category" elementType="FHIR.CodeableConcept" description="Benefit classification" definition="Code to identify the general type of benefits under which products and services are provided." comment="Examples include: Medical Care, Periodontics, Renal Dialysis, Vision Coverage.">
         <binding name="BenefitCategory" description="Benefit categories such as: oral, medical, vision, oral-basic etc." strength="Example"/>
      </element>
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item." comment="If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Service/Product billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or out of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="programCode" description="Program the product or service is provided under" definition="Identifies the program under which this may be recovered." comment="For example: Neonatal program, child dental program or drug users recovery program.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProgramCode" description="Program specific reason codes." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group."/>
      <element name="factor" elementType="FHIR.decimal" description="Price scaling factor" definition="A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." comment="To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)."/>
      <element name="net" elementType="FHIR.Money" description="Total item cost" definition="The quantity times the unit price for an additional service or product or charge." comment="For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied."/>
      <element name="udi" description="Unique device identifier" definition="Unique Device Identifiers associated with this line item.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="noteNumber" description="Applicable note numbers" definition="The numbers associated with notes below which apply to the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Detail level adjudication details" definition="The adjudication results.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ExplanationOfBenefit.Item.Adjudication" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="subDetail" description="Additional items" definition="Third-tier of goods and services.">
         <elementTypeSpecifier elementType="FHIR.ExplanationOfBenefit.Item.Detail.SubDetail" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.Item.Detail.SubDetail" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Product or service provided" definition="A claim detail line. Either a simple (a product or service) or a 'group' of sub-details which are simple items."/>
      <element name="revenue" elementType="FHIR.CodeableConcept" description="Revenue or cost center code" definition="The type of revenue or cost center providing the product and/or service.">
         <binding name="RevenueCenter" description="Codes for the revenue or cost centers supplying the service and/or products." strength="Example"/>
      </element>
      <element name="category" elementType="FHIR.CodeableConcept" description="Benefit classification" definition="Code to identify the general type of benefits under which products and services are provided." comment="Examples include Medical Care, Periodontics, Renal Dialysis, Vision Coverage.">
         <binding name="BenefitCategory" description="Benefit categories such as: oral, medical, vision, oral-basic etc." strength="Example"/>
      </element>
      <element name="productOrService" elementType="FHIR.CodeableConcept" description="Billing, service, product, or drug code" definition="When the value is a group code then this item collects a set of related claim details, otherwise this contains the product, service, drug or other billing code for the item." comment="If this is an actual service or product line, i.e. not a Group, then use code to indicate the Professional Service or Product supplied (e.g. CTP, HCPCS, USCLS, ICD10, NCPDP, DIN, RxNorm, ACHI, CCI). If a grouping item then use a group code to indicate the type of thing being grouped e.g. 'glasses' or 'compound'.">
         <binding name="ServiceProduct" description="Allowable service and product codes." strength="Example"/>
      </element>
      <element name="modifier" description="Service/Product billing modifiers" definition="Item typification or modifiers codes to convey additional context for the product or service." comment="For example, in Oral whether the treatment is cosmetic or associated with TMJ, or for Medical whether the treatment was outside the clinic or outside of office hours.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Modifiers" description="Item type or modifiers codes, eg for Oral whether the treatment is cosmetic or associated with TMJ, or an appliance was lost or stolen." strength="Example"/>
      </element>
      <element name="programCode" description="Program the product or service is provided under" definition="Identifies the program under which this may be recovered." comment="For example: Neonatal program, child dental program or drug users recovery program.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProgramCode" description="Program specific reason codes." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Count of products or services" definition="The number of repetitions of a service or product."/>
      <element name="unitPrice" elementType="FHIR.Money" description="Fee, charge or cost per item" definition="If the item is not a group then this is the fee for the product or service, otherwise this is the total of the fees for the details of the group."/>
      <element name="factor" elementType="FHIR.decimal" description="Price scaling factor" definition="A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount." comment="To show a 10% senior's discount, the value entered is: 0.90 (1.00 - 0.10)."/>
      <element name="net" elementType="FHIR.Money" description="Total item cost" definition="The quantity times the unit price for an additional service or product or charge." comment="For example, the formula: quantity * unitPrice * factor  = net. Quantity and factor are assumed to be 1 if not supplied."/>
      <element name="udi" description="Unique device identifier" definition="Unique Device Identifiers associated with this line item.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="noteNumber" description="Applicable note numbers" definition="The numbers associated with notes below which apply to the adjudication of this item.">
         <elementTypeSpecifier elementType="FHIR.positiveInt" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="adjudication" description="Subdetail level adjudication details" definition="The adjudication results.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ExplanationOfBenefit.Item.Adjudication" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.Payee" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Category of recipient" definition="Type of Party to be reimbursed: Subscriber, provider, other.">
         <binding name="PayeeType" description="A code for the party to be reimbursed." strength="Example"/>
      </element>
      <element name="party" elementType="FHIR.Reference" description="Recipient reference" definition="Reference to the individual or organization to whom any payment will be made." comment="Not required if the payee is 'subscriber' or 'provider'."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.Payment" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Partial or complete payment" definition="Whether this represents partial or complete payment of the benefits payable.">
         <binding name="PaymentType" description="The type (partial, complete) of the payment." strength="Example"/>
      </element>
      <element name="adjustment" elementType="FHIR.Money" description="Payment adjustment for non-claim issues" definition="Total amount of all adjustments to this payment included in this transaction which are not related to this claim's adjudication." comment="Insurers will deduct amounts owing from the provider (adjustment), such as a prior overpayment, from the amount owing to the provider (benefits payable) when payment is made to the provider."/>
      <element name="adjustmentReason" elementType="FHIR.CodeableConcept" description="Explanation for the variance" definition="Reason for the payment adjustment.">
         <binding name="PaymentAdjustmentReason" description="Payment Adjustment reason codes." strength="Example"/>
      </element>
      <element name="date" elementType="FHIR.date" description="Expected date of payment" definition="Estimated date the payment will be issued or the actual issue date of payment."/>
      <element name="amount" elementType="FHIR.Money" description="Payable amount after adjustment" definition="Benefits payable less any payment adjustment."/>
      <element name="identifier" elementType="FHIR.Identifier" description="Business identifier for the payment" definition="Issuer's unique identifier for the payment instrument." comment="For example: EFT number or check number."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.Procedure" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Procedure instance identifier" definition="A number to uniquely identify procedure entries."/>
      <element name="type" description="Category of Procedure" definition="When the condition was observed or the relative ranking.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProcedureType" description="Example procedure type codes." strength="Example"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="When the procedure was performed" definition="Date and optionally time the procedure was performed."/>
      <element name="procedure" description="Specific clinical procedure" definition="The code or reference to a Procedure resource which identifies the clinical intervention performed.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ICD10_Procedures" description="ICD10 Procedure codes." strength="Example"/>
      </element>
      <element name="udi" description="Unique device identifier" definition="Unique Device Identifiers associated with this line item.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.ProcessNote" retrievable="false" xsi:type="ClassInfo">
      <element name="number" elementType="FHIR.positiveInt" description="Note instance identifier" definition="A number to uniquely identify a note entry."/>
      <element name="type" elementType="FHIR.NoteType" description="display | print | printoper" definition="The business purpose of the note text.">
         <binding name="NoteType" description="The presentation types of notes." strength="Required"/>
      </element>
      <element name="text" elementType="FHIR.string" description="Note explanatory text" definition="The explanation or description associated with the processing."/>
      <element name="language" elementType="FHIR.CodeableConcept" description="Language of the text" definition="A code to define the language used in the text of the note." comment="Only required if the language is different from the resource language.">
         <binding name="Language" description="A human language." strength="Preferred"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.Related" retrievable="false" xsi:type="ClassInfo">
      <element name="claim" elementType="FHIR.Reference" description="Reference to the related claim" definition="Reference to a related claim."/>
      <element name="relationship" elementType="FHIR.CodeableConcept" description="How the reference claim is related" definition="A code to convey how the claims are related." comment="For example, prior claim or umbrella.">
         <binding name="RelatedClaimRelationship" description="Relationship of this claim to a related Claim." strength="Example"/>
      </element>
      <element name="reference" elementType="FHIR.Identifier" description="File or case reference" definition="An alternate organizational reference to the case or file to which this particular claim pertains." comment="For example, Property/Casualty insurer claim number or Workers Compensation case number."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.SupportingInfo" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Information instance identifier" definition="A number to uniquely identify supporting information entries."/>
      <element name="category" elementType="FHIR.CodeableConcept" description="Classification of the supplied information" definition="The general class of the information supplied: information; exception; accident, employment; onset, etc." comment="This may contain a category for the local bill type codes.">
         <binding name="InformationCategory" description="The valuset used for additional information category codes." strength="Example"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Type of information" definition="System and code pertaining to the specific information regarding special conditions relating to the setting, treatment or patient  for which care is sought." comment="This may contain the local bill type codes such as the US UB-04 bill type code.">
         <binding name="InformationCode" description="The valuset used for additional information codes." strength="Example"/>
      </element>
      <element name="timing" description="When it occurred" definition="The date when or period to which this information refers.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="value" description="Data to be provided" definition="Additional data or information such as resources, documents, images etc. including references to the data or the actual inclusion of the data." comment="Could be used to provide references to other resources, document. For example, could contain a PDF in an Attachment of the Police Report for an Accident.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="reason" elementType="FHIR.Coding" description="Explanation for the information" definition="Provides the reason in the situation where a reason code is required in addition to the content." comment="For example: the reason for the additional stay, or why a tooth is  missing.">
         <binding name="MissingReason" description="Reason codes for the missing teeth." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ExplanationOfBenefit.Total" retrievable="false" xsi:type="ClassInfo">
      <element name="category" elementType="FHIR.CodeableConcept" description="Type of adjudication information" definition="A code to indicate the information type of this adjudication record. Information types may include: the value submitted, maximum values or percentages allowed or payable under the plan, amounts that the patient is responsible for in aggregate or pertaining to this item, amounts paid by other coverages, and the benefit payable for this item." comment="For example, codes indicating: Co-Pay, deductible, eligible, benefit, tax, etc.">
         <binding name="Adjudication" description="The adjudication codes." strength="Example"/>
      </element>
      <element name="amount" elementType="FHIR.Money" description="Financial total for the category" definition="Monetary total amount associated with the category."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ExplanationOfBenefitStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ExposureState" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Expression" identifier="http://hl7.org/fhir/StructureDefinition/Expression" label="Expression" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Natural language description of the condition" definition="A brief, natural language description of the condition that effectively communicates the intended semantics."/>
      <element name="name" elementType="FHIR.id" description="Short name assigned to expression for reuse" definition="A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined."/>
      <element name="language" elementType="FHIR.code" description="text/cql | text/fhirpath | application/x-fhir-query | etc." definition="The media type of the language for the expression.">
         <binding name="ExpressionLanguage" description="The media type of the expression language." strength="Extensible"/>
      </element>
      <element name="expression" elementType="FHIR.string" description="Expression in specified language" definition="An expression in the specified language that returns a value."/>
      <element name="reference" elementType="FHIR.uri" description="Where the expression is found" definition="A URI that defines where the expression is found." comment="If both a reference and an expression is found, the reference SHALL point to the same expression."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Extension" identifier="http://hl7.org/fhir/StructureDefinition/Extension" label="Extension" retrievable="false" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="identifies the meaning of the extension" definition="Source of the definition for the extension code - a logical name or a URL." comment="The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension."/>
      <element name="value" description="Value of extension" definition="Value of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="base64Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="code" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="id" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="instant" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="markdown" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="oid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="url" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uuid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Annotation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactPoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Count" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Distance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HumanName" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Identifier" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SampledData" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Signature" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactDetail" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contributor" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DataRequirement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Expression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ParameterDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedArtifact" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TriggerDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="UsageContext" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Dosage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Meta" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ExtensionContextType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="FHIRAllTypes" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="FHIRDefinedType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="FHIRDeviceStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="FHIRResourceType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="FHIRSubstanceStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="FHIRVersion" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="FamilyHistoryStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="FamilyMemberHistory" identifier="http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory" label="FamilyMemberHistory" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="External Id(s) for this record" definition="Business identifiers assigned to this family member history by the performer or other systems which remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesCanonical" description="Instantiates 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 this FamilyMemberHistory.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesUri" description="Instantiates 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 this FamilyMemberHistory." comment="This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.FamilyHistoryStatus" description="partial | completed | entered-in-error | health-unknown" definition="A code specifying the status of the record of the family history of a specific family member." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="FamilyHistoryStatus" description="A code that identifies the status of the family history record." strength="Required"/>
      </element>
      <element name="dataAbsentReason" elementType="FHIR.CodeableConcept" description="subject-unknown | withheld | unable-to-obtain | deferred" definition="Describes why the family member's history is not available.">
         <binding name="FamilyHistoryAbsentReason" description="Codes describing the reason why a family member's history is not available." strength="Example"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="Patient history is about" definition="The person who this history concerns."/>
      <element name="date" elementType="FHIR.dateTime" description="When history was recorded or last updated" definition="The date (and possibly time) when the family member history was recorded or last updated." comment="This should be captured even if the same as the date on the List aggregating the full family history."/>
      <element name="name" elementType="FHIR.string" description="The family member described" definition="This will either be a name or a description; e.g. &quot;Aunt Susan&quot;, &quot;my cousin with the red hair&quot;."/>
      <element name="relationship" elementType="FHIR.CodeableConcept" description="Relationship to the subject" definition="The type of relationship this person has to the patient (father, mother, brother etc.).">
         <binding name="FamilialRelationship" description="The nature of the relationship between the patient and the related person being described in the family member history." strength="Example"/>
      </element>
      <element name="sex" elementType="FHIR.CodeableConcept" description="male | female | other | unknown" definition="The birth sex of the family member." comment="This element should ideally reflect whether the individual is genetically male or female.  However, as reported information based on the knowledge of the patient or reporting friend/relative, there may be situations where the reported sex might not be totally accurate.  E.g. 'Aunt Sue' might be XY rather than XX.  Questions soliciting this information should be phrased to encourage capture of genetic sex where known.  However, systems performing analysis should also allow for the possibility of imprecision with this element.">
         <binding name="Sex" description="Codes describing the sex assigned at birth as documented on the birth registration." strength="Extensible"/>
      </element>
      <element name="born" description="(approximate) date of birth" definition="The actual or approximate date of birth of the relative.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="age" description="(approximate) age" definition="The age of the relative at the time the family member history is recorded." comment="use estimatedAge to indicate whether the age is actual or not.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="estimatedAge" elementType="FHIR.boolean" description="Age is estimated?" definition="If true, indicates that the age value specified is an estimated value." comment="This element is labeled as a modifier because the fact that age is estimated can/should change the results of any algorithm that calculates based on the specified age."/>
      <element name="deceased" description="Dead? How old/when?" definition="Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="reasonCode" description="Why was family member history performed?" definition="Describes why the family member history occurred in coded or textual form." comment="Textual reasons can be captured using reasonCode.text.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="FamilyHistoryReason" description="Codes indicating why the family member history was done." strength="Example"/>
      </element>
      <element name="reasonReference" description="Why was family member history performed?" definition="Indicates a Condition, Observation, AllergyIntolerance, or QuestionnaireResponse that justifies this family member history event.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="General note about related person" definition="This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="condition" description="Condition that the related person had" definition="The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.">
         <elementTypeSpecifier elementType="FHIR.FamilyMemberHistory.Condition" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="sex" path="sex" type="System.Code"/>
      <search name="instantiates-canonical" path="instantiatesCanonical">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="patient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="relationship" path="relationship" type="System.Code"/>
      <search name="code" path="condition.code" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="instantiates-uri" path="instantiatesUri" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="FamilyMemberHistory.Condition" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Condition suffered by relation" definition="The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system.">
         <binding name="ConditionCode" description="Identification of the Condition or diagnosis." strength="Example"/>
      </element>
      <element name="outcome" elementType="FHIR.CodeableConcept" description="deceased | permanent disability | etc." definition="Indicates what happened following the condition.  If the condition resulted in death, deceased date is captured on the relation.">
         <binding name="ConditionOutcome" description="The result of the condition for the patient; e.g. death, permanent disability, temporary disability, etc." strength="Example"/>
      </element>
      <element name="contributedToDeath" elementType="FHIR.boolean" description="Whether the condition contributed to the cause of death" definition="This condition contributed to the cause of death of the related person. If contributedToDeath is not populated, then it is unknown."/>
      <element name="onset" description="When condition first manifested" definition="Either the age of onset, range of approximate age or descriptive string can be recorded.  For conditions with multiple occurrences, this describes the first known occurrence.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="note" description="Extra information about condition" definition="An area where general notes can be placed about this specific condition.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="FilterOperator" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Flag" identifier="http://hl7.org/fhir/StructureDefinition/Flag" label="Flag" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifier" definition="Business identifiers assigned to this flag by the performer or other systems which remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.FlagStatus" description="active | inactive | entered-in-error" definition="Supports basic workflow." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="FlagStatus" description="Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or was entered in error." strength="Required"/>
      </element>
      <element name="category" description="Clinical, administrative, etc." definition="Allows a flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context." comment="The value set will often need to be adjusted based on local business rules and usage context.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="FlagCategory" description="A general category for flags for filtering/display purposes." strength="Example"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Coded or textual message to display to user" definition="The coded value or textual component of the flag to display to the user." comment="If non-coded, use CodeableConcept.text.  This element should always be included in the narrative.">
         <binding name="FlagCode" description="Detail codes identifying specific flagged issues." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who/What is flag about?" definition="The patient, location, group, organization, or practitioner etc. this is about record this flag is associated with."/>
      <element name="period" elementType="FHIR.Period" description="Time period when flag is active" definition="The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified."/>
      <element name="encounter" elementType="FHIR.Reference" description="Alert relevant during encounter" definition="This alert is only relevant during the encounter." comment="If both Flag.encounter and Flag.period are valued, then Flag.period.start shall not be before Encounter.period.start and Flag.period.end shall not be after Encounter.period.end."/>
      <element name="author" elementType="FHIR.Reference" description="Flag creator" definition="The person, organization or device that created the flag."/>
      <contextRelationship context="Practitioner" relatedKeyElement="author"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Device" relatedKeyElement="author"/>
      <search name="date" path="period" type="System.DateTime"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="encounter" path="encounter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="author" path="author">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="FlagStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Goal" identifier="http://hl7.org/fhir/StructureDefinition/Goal" label="Goal" retrievable="true" primaryCodePath="category" xsi:type="ClassInfo">
      <element name="identifier" description="External Ids for this goal" definition="Business identifiers assigned to this goal by the performer or other systems which remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="lifecycleStatus" elementType="FHIR.GoalLifecycleStatus" description="proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected" definition="The state of the goal throughout its lifecycle." comment="This element is labeled as a modifier because the lifecycleStatus contains codes that mark the resource as not currently valid.">
         <binding name="GoalLifecycleStatus" description="Codes that reflect the current state of a goal and whether the goal is still being targeted." strength="Required"/>
      </element>
      <element name="achievementStatus" elementType="FHIR.CodeableConcept" description="in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable" definition="Describes the progression, or lack thereof, towards the goal against the target.">
         <binding name="GoalAchievementStatus" description="Indicates the progression, or lack thereof, towards the goal against the target." strength="Preferred"/>
      </element>
      <element name="category" description="E.g. Treatment, dietary, behavioral, etc." definition="Indicates a category the goal falls within.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="GoalCategory" description="Codes for grouping and sorting goals." strength="Example"/>
      </element>
      <element name="priority" elementType="FHIR.CodeableConcept" description="high-priority | medium-priority | low-priority" definition="Identifies the mutually agreed level of importance associated with reaching/sustaining the goal." comment="Extensions are available to track priorities as established by each participant (i.e. Priority from the patient's perspective, different practitioners' perspectives, family member's perspectives)&#xd;&#xd;The ordinal extension on Coding can be used to convey a numerically comparable ranking to priority.  (Keep in mind that different coding systems may use a &quot;low value=important&quot;.">
         <binding name="GoalPriority" description="The level of importance associated with a goal." strength="Preferred"/>
      </element>
      <element name="description" elementType="FHIR.CodeableConcept" description="Code or text describing goal" definition="Human-readable and/or coded description of a specific desired objective of care, such as &quot;control blood pressure&quot; or &quot;negotiate an obstacle course&quot; or &quot;dance with child at wedding&quot;." comment="If no code is available, use CodeableConcept.text.">
         <binding name="GoalDescription" description="Codes providing the details of a particular goal.  This will generally be system or implementation guide-specific.  In many systems, only the text element will be used." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who this goal is intended for" definition="Identifies the patient, group or organization for whom the goal is being established."/>
      <element name="start" description="When goal pursuit begins" definition="The date or event after which the goal should begin being pursued.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="GoalStartEvent" description="Codes describing events that can trigger the initiation of a goal." strength="Example"/>
      </element>
      <element name="target" description="Target outcome for the goal" definition="Indicates what should be done by when." comment="When multiple targets are present for a single goal instance, all targets must be met for the overall goal to be met.">
         <elementTypeSpecifier elementType="FHIR.Goal.Target" xsi:type="ListTypeSpecifier"/>
         <constraint name="gol-1" severity="ERROR" message="Goal.target.measure is required if Goal.target.detail is populated">
            <expression language="text/fhirpath" expression="(detail.exists() and measure.exists()) or detail.exists().not()"/>
         </constraint>
      </element>
      <element name="statusDate" elementType="FHIR.date" description="When goal status took effect" definition="Identifies when the current status.  I.e. When initially created, when achieved, when cancelled, etc." comment="To see the date for past statuses, query history."/>
      <element name="statusReason" elementType="FHIR.string" description="Reason for current status" definition="Captures the reason for the current status." comment="This will typically be captured for statuses such as rejected, on-hold or cancelled, but could be present for others."/>
      <element name="expressedBy" elementType="FHIR.Reference" description="Who's responsible for creating Goal?" definition="Indicates whose goal this is - patient goal, practitioner goal, etc." comment="This is the individual responsible for establishing the goal, not necessarily who recorded it.  (For that, use the Provenance resource.)."/>
      <element name="addresses" description="Issues addressed by this goal" definition="The identified conditions and other health record elements that are intended to be addressed by the goal.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Comments about the goal" definition="Any comments related to the goal." comment="May be used for progress notes, concerns or other related information that doesn't actually describe the goal itself.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="outcomeCode" description="What result was achieved regarding the goal?" definition="Identifies the change (or lack of change) at the point when the status of the goal is assessed." comment="Note that this should not duplicate the goal status.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="GoalOutcome" description="The result of the goal; e.g. &quot;25% increase in shoulder mobility&quot;, &quot;Anxiety reduced to moderate levels&quot;.  &quot;15 kg weight loss sustained over 6 months&quot;." strength="Example"/>
      </element>
      <element name="outcomeReference" description="Observation that resulted from goal" definition="Details of what's changed (or not changed)." comment="The goal outcome is independent of the outcome of the related activities.  For example, if the Goal is to achieve a target body weight of 150 lb and a care plan activity is defined to diet, then the care plan’s activity outcome could be calories consumed whereas goal outcome is an observation for the actual body weight measured.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="achievement-status" path="achievementStatus" type="System.Code"/>
      <search name="lifecycle-status" path="lifecycleStatus" type="System.Code"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="category" path="category" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Goal.Target" retrievable="false" xsi:type="ClassInfo">
      <element name="measure" elementType="FHIR.CodeableConcept" description="The parameter whose value is being tracked" definition="The parameter whose value is being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.">
         <binding name="GoalTargetMeasure" description="Codes to identify the value being tracked, e.g. body weight, blood pressure, or hemoglobin A1c level." strength="Example"/>
      </element>
      <element name="detail" description="The target value to be achieved" definition="The target value of the focus to be achieved to signify the fulfillment of the goal, e.g. 150 pounds, 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any focus value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any focus value at or above the low value." comment="A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Goal.target.measure defines a coded value.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="GoalTargetDetail" description="Codes to identify the target value of the focus to be achieved to signify the fulfillment of the goal." strength="Example"/>
      </element>
      <element name="due" description="Reach goal on or before" definition="Indicates either the date or the duration after start by which the goal should be met.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="GoalLifecycleStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="GraphCompartmentRule" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="GraphCompartmentUse" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="GraphDefinition" identifier="http://hl7.org/fhir/StructureDefinition/GraphDefinition" label="GraphDefinition" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this graph definition, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this graph definition 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 graph definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the graph definition 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="version" elementType="FHIR.string" description="Business version of the graph definition" definition="The identifier that is used to identify this version of the graph definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the graph definition 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 graph definition 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 graph definition with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this graph definition (computer friendly)" definition="A natural language name identifying the graph definition. 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."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this graph definition. Enables tracking the life-cycle of the content." comment="Allows filtering of graph definitions that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this graph definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of graph definitions that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the graph definition 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 graph definition 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 graph definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the graph definition." comment="Usually an organization but may be an individual. The publisher (or steward) of the graph definition is the organization or individual primarily responsible for the maintenance and upkeep of the graph definition. 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 graph definition. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the graph definition" definition="A free text natural language description of the graph definition from a consumer's perspective." comment="This description can be used to capture details such as why the graph definition 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 graph definition 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 graph definition is presumed to be the predominant language in the place the graph definition was created)."/>
      <element name="useContext" description="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 graph definition instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for graph definition (if applicable)" definition="A legal or geographic region in which the graph definition is intended to be used." comment="It may be possible for the graph definition to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this graph definition is defined" definition="Explanation of why this graph definition is needed and why it has been designed as it has." comment="This element does not describe the usage of the graph definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this graph definition."/>
      <element name="start" elementType="FHIR.ResourceType" description="Type of resource at which the graph starts" definition="The type of FHIR resource at which instances of this graph start.">
         <binding name="ResourceType" description="One of the resource types defined as part of this version of FHIR." strength="Required"/>
      </element>
      <element name="profile" elementType="FHIR.canonical" description="Profile on base resource" definition="The profile that describes the use of the base resource." comment="The code does not include the '$' prefix that is always included in the URL when the operation is invoked."/>
      <element name="link" description="Links this graph makes rules about" definition="Links this graph makes rules about.">
         <elementTypeSpecifier elementType="FHIR.GraphDefinition.Link" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="url" path="url" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="start" path="start" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="GraphDefinition.Link" retrievable="false" xsi:type="ClassInfo">
      <element name="path" elementType="FHIR.string" description="Path in the resource that contains the link" definition="A FHIR expression that identifies one of FHIR References to other resources." comment="The path expression cannot contain a resolve() function. If there is no path, the link is a reverse lookup, using target.params. If the path is &quot;*&quot; then this means all references in the resource."/>
      <element name="sliceName" elementType="FHIR.string" description="Which slice (if profiled)" definition="Which slice (if profiled)."/>
      <element name="min" elementType="FHIR.integer" description="Minimum occurrences for this link" definition="Minimum occurrences for this link."/>
      <element name="max" elementType="FHIR.string" description="Maximum occurrences for this link" definition="Maximum occurrences for this link."/>
      <element name="description" elementType="FHIR.string" description="Why this link is specified" definition="Information about why this link is of interest in this graph definition."/>
      <element name="target" description="Potential target for the link" definition="Potential target for the link.">
         <elementTypeSpecifier elementType="FHIR.GraphDefinition.Link.Target" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="GraphDefinition.Link.Target" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.ResourceType" description="Type of resource this link refers to" definition="Type of resource this link refers to.">
         <binding name="ResourceType" description="One of the resource types defined as part of this version of FHIR." strength="Required"/>
      </element>
      <element name="params" elementType="FHIR.string" description="Criteria for reverse lookup" definition="A set of parameters to look up." comment="At least one of the parameters must have the value {ref} which identifies the focus resource."/>
      <element name="profile" elementType="FHIR.canonical" description="Profile for the target resource" definition="Profile for the target resource."/>
      <element name="compartment" description="Compartment Consistency Rules" definition="Compartment Consistency Rules.">
         <elementTypeSpecifier elementType="FHIR.GraphDefinition.Link.Target.Compartment" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="link" description="Additional links from target resource" definition="Additional links from target resource.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="GraphDefinition.Link" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="GraphDefinition.Link.Target.Compartment" retrievable="false" xsi:type="ClassInfo">
      <element name="use" elementType="FHIR.GraphCompartmentUse" description="condition | requirement" definition="Defines how the compartment rule is used - whether it it is used to test whether resources are subject to the rule, or whether it is a rule that must be followed." comment="All conditional rules are evaluated; if they are true, then the rules are evaluated.">
         <binding name="GraphCompartmentUse" description="Defines how a compartment rule is used." strength="Required"/>
      </element>
      <element name="code" elementType="FHIR.CompartmentCode" description="Patient | Encounter | RelatedPerson | Practitioner | Device" definition="Identifies the compartment.">
         <binding name="CompartmentCode" description="Identifies a compartment." strength="Required"/>
      </element>
      <element name="rule" elementType="FHIR.GraphCompartmentRule" description="identical | matching | different | custom" definition="identical | matching | different | no-rule | custom.">
         <binding name="GraphCompartmentRule" description="How a compartment must be linked." strength="Required"/>
      </element>
      <element name="expression" elementType="FHIR.string" description="Custom rule, as a FHIRPath expression" definition="Custom rule, as a FHIRPath expression."/>
      <element name="description" elementType="FHIR.string" description="Documentation for FHIRPath expression" definition="Documentation for FHIRPath expression."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Group" identifier="http://hl7.org/fhir/StructureDefinition/Group" label="Group" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Unique id" definition="A unique business identifier for this group.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="active" elementType="FHIR.boolean" description="Whether this group's record is in active use" definition="Indicates whether the record for the group is available for use or is merely being retained for historical purposes."/>
      <element name="type" elementType="FHIR.GroupType" description="person | animal | practitioner | device | medication | substance" definition="Identifies the broad classification of the kind of resources the group includes." comment="Group members SHALL be of the appropriate resource type (Patient for person or animal; or Practitioner, Device, Medication or Substance for the other types.).">
         <binding name="GroupType" description="Types of resources that are part of group." strength="Required"/>
      </element>
      <element name="actual" elementType="FHIR.boolean" description="Descriptive or actual" definition="If true, indicates that the resource refers to a specific group of real individuals.  If false, the group defines a set of intended individuals."/>
      <element name="code" elementType="FHIR.CodeableConcept" description="Kind of Group members" definition="Provides a specific type of resource the group includes; e.g. &quot;cow&quot;, &quot;syringe&quot;, etc." comment="This would generally be omitted for Person resources.">
         <binding name="GroupKind" description="Kind of particular resource; e.g. cow, syringe, lake, etc." strength="Example"/>
      </element>
      <element name="name" elementType="FHIR.string" description="Label for Group" definition="A label assigned to the group for human identification and communication."/>
      <element name="quantity" elementType="FHIR.unsignedInt" description="Number of members" definition="A count of the number of resource instances that are part of the group." comment="Note that the quantity may be less than the number of members if some of the members are not active."/>
      <element name="managingEntity" elementType="FHIR.Reference" description="Entity that is the custodian of the Group's definition" definition="Entity responsible for defining and maintaining Group characteristics and/or registered members." comment="This does not strictly align with ownership of a herd or flock, but may suffice to represent that relationship in simple cases. More complex cases will require an extension."/>
      <element name="characteristic" description="Include / Exclude group members by Trait" definition="Identifies traits whose presence r absence is shared by members of the group." comment="All the identified characteristics must be true for an entity to a member of the group.">
         <elementTypeSpecifier elementType="FHIR.Group.Characteristic" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="member" description="Who or what is in group" definition="Identifies the resource instances that are members of the group.">
         <elementTypeSpecifier elementType="FHIR.Group.Member" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="entity"/>
      <contextRelationship context="Patient" relatedKeyElement="entity"/>
      <contextRelationship context="Device" relatedKeyElement="entity"/>
      <search name="member" path="member.entity">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="exclude" path="characteristic.exclude" type="System.Code"/>
      <search name="characteristic" path="characteristic.code" type="System.Code"/>
      <search name="code" path="code" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="actual" path="actual" type="System.Code"/>
      <search name="managing-entity" path="managingEntity">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Group.Characteristic" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Kind of characteristic" definition="A code that identifies the kind of trait being asserted.">
         <binding name="GroupCharacteristicKind" description="List of characteristics used to describe group members; e.g. gender, age, owner, location, etc." strength="Example"/>
      </element>
      <element name="value" description="Value held by characteristic" definition="The value of the trait that holds (or does not hold - see 'exclude') for members of the group." comment="For Range, it means members of the group have a value that falls somewhere within the specified range.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="GroupCharacteristicValue" description="Value of descriptive member characteristic; e.g. red, male, pneumonia, Caucasian, etc." strength="Example"/>
      </element>
      <element name="exclude" elementType="FHIR.boolean" description="Group includes or excludes" definition="If true, indicates the characteristic is one that is NOT held by members of the group." comment="This is labeled as &quot;Is Modifier&quot; because applications cannot wrongly include excluded members as included or vice versa."/>
      <element name="period" elementType="FHIR.Period" description="Period over which characteristic is tested" definition="The period over which the characteristic is tested; e.g. the patient had an operation during the month of June."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Group.Member" retrievable="false" xsi:type="ClassInfo">
      <element name="entity" elementType="FHIR.Reference" description="Reference to the group member" definition="A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same."/>
      <element name="period" elementType="FHIR.Period" description="Period member belonged to the group" definition="The period that the member was in the group, if known."/>
      <element name="inactive" elementType="FHIR.boolean" description="If member is no longer in group" definition="A flag to indicate that the member is no longer in the group, but previously may have been a member."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="GroupMeasure" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="GroupType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="GuidanceResponse" identifier="http://hl7.org/fhir/StructureDefinition/GuidanceResponse" label="GuidanceResponse" retrievable="true" primaryCodePath="module" xsi:type="ClassInfo">
      <element name="requestIdentifier" elementType="FHIR.Identifier" description="The identifier of the request associated with this response, if any" definition="The identifier of the request associated with this response. If an identifier was given as part of the request, it will be reproduced here to enable the requester to more easily identify the response in a multi-request scenario."/>
      <element name="identifier" description="Business identifier" definition="Allows a service to provide  unique, business identifiers for the response.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="module" description="What guidance was requested" definition="An identifier, CodeableConcept or canonical reference to the guidance that was requested.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="status" elementType="FHIR.GuidanceResponseStatus" description="success | data-requested | data-required | in-progress | failure | entered-in-error" definition="The status of the response. If the evaluation is completed successfully, the status will indicate success. However, in order to complete the evaluation, the engine may require more information. In this case, the status will be data-required, and the response will contain a description of the additional required information. If the evaluation completed successfully, but the engine determines that a potentially more accurate response could be provided if more data was available, the status will be data-requested, and the response will contain a description of the additional requested information." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="GuidanceResponseStatus" description="The status of a guidance response." strength="Required"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Patient the request was performed for" definition="The patient for which the request was processed."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter during which the response was returned" definition="The encounter during which this response was created or to which the creation of this record is tightly associated." comment="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official copmletion of an encounter but still be tied to the context of the encounter."/>
      <element name="occurrenceDateTime" elementType="FHIR.dateTime" description="When the guidance response was processed" definition="Indicates when the guidance response was processed."/>
      <element name="performer" elementType="FHIR.Reference" description="Device returning the guidance" definition="Provides a reference to the device that performed the guidance."/>
      <element name="reasonCode" description="Why guidance is needed" definition="Describes the reason for the guidance response in coded or textual form.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reasonReference" description="Why guidance is needed" definition="Indicates the reason the request was initiated. This is typically provided as a parameter to the evaluation and echoed by the service, although for some use cases, such as subscription- or event-based scenarios, it may provide an indication of the cause for the response.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Additional notes about the response" definition="Provides a mechanism to communicate additional information about the response.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="evaluationMessage" description="Messages resulting from the evaluation of the artifact or artifacts" definition="Messages resulting from the evaluation of the artifact or artifacts. As part of evaluating the request, the engine may produce informational or warning messages. These messages will be provided by this element.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="outputParameters" elementType="FHIR.Reference" description="The output parameters of the evaluation, if any" definition="The output parameters of the evaluation, if any. Many modules will result in the return of specific resources such as procedure or communication requests that are returned as part of the operation result. However, modules may define specific outputs that would be returned as the result of the evaluation, and these would be returned in this element."/>
      <element name="result" elementType="FHIR.Reference" description="Proposed actions, if any" definition="The actions, if any, produced by the evaluation of the artifact."/>
      <element name="dataRequirement" description="Additional required data" definition="If the evaluation could not be completed due to lack of information, or additional information would potentially result in a more accurate response, this element will a description of the data required in order to proceed with the evaluation. A subsequent request to the service should include this data.">
         <elementTypeSpecifier elementType="FHIR.DataRequirement" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="request" path="requestIdentifier" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="GuidanceResponseStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="GuidePageGeneration" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="GuideParameterCode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="HTTPVerb" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="HealthcareService" identifier="http://hl7.org/fhir/StructureDefinition/HealthcareService" label="HealthcareService" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" description="External identifiers for this item" definition="External identifiers for this item.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="active" elementType="FHIR.boolean" description="Whether this HealthcareService record is in active use" definition="This flag is used to mark the record to not be used. This is not used when a center is closed for maintenance, or for holidays, the notAvailable period is to be used for this." comment="This element is labeled as a modifier because it may be used to mark that the resource was created in error."/>
      <element name="providedBy" elementType="FHIR.Reference" description="Organization that provides this service" definition="The organization that provides this healthcare service." comment="This property is recommended to be the same as the Location's managingOrganization, and if not provided should be interpreted as such. If the Location does not have a managing Organization, then this property should be populated."/>
      <element name="category" description="Broad category of service being performed or delivered" definition="Identifies the broad category of service being performed or delivered." comment="Selecting a Service Category then determines the list of relevant service types that can be selected in the primary service type.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="service-category" description="A category of the service(s) that could be provided." strength="Example"/>
      </element>
      <element name="type" description="Type of service that may be delivered or performed" definition="The specific type of service that may be delivered or performed.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="service-type" description="Additional details about where the content was created (e.g. clinical specialty)." strength="Example"/>
      </element>
      <element name="specialty" description="Specialties handled by the HealthcareService" definition="Collection of specialties handled by the service site. This is more of a medical term.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="service-specialty" description="A specialty that a healthcare service may provide." strength="Preferred"/>
      </element>
      <element name="location" description="Location(s) where service may be provided" definition="The location(s) where this healthcare service may be provided.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="name" elementType="FHIR.string" description="Description of service as presented to a consumer while searching" definition="Further description of the service as it would be presented to a consumer while searching."/>
      <element name="comment" elementType="FHIR.string" description="Additional description and/or any specific issues not covered elsewhere" definition="Any additional description of the service and/or any specific issues not covered by the other attributes, which can be displayed as further detail under the serviceName." comment="Would expect that a user would not see this information on a search results, and it would only be available when viewing the complete details of the service."/>
      <element name="extraDetails" elementType="FHIR.markdown" description="Extra details about the service that can't be placed in the other fields" definition="Extra details about the service that can't be placed in the other fields."/>
      <element name="photo" elementType="FHIR.Attachment" description="Facilitates quick identification of the service" definition="If there is a photo/symbol associated with this HealthcareService, it may be included here to facilitate quick identification of the service in a list."/>
      <element name="telecom" description="Contacts related to the healthcare service" definition="List of contacts related to this specific healthcare service." comment="If this is empty, then refer to the location's contacts.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="coverageArea" description="Location(s) service is intended for/available to" definition="The location(s) that this service is available to (not where the service is provided)." comment="The locations referenced by the coverage area can include both specific locations, including areas, and also conceptual domains too (mode = kind), such as a physical area (tri-state area) and some other attribute (covered by Example Care Organization). These types of Locations are often not managed by any specific organization. This could also include generic locations such as &quot;in-home&quot;.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="serviceProvisionCode" description="Conditions under which service is available/offered" definition="The code(s) that detail the conditions under which the healthcare service is available/offered." comment="The provision means being commissioned by, contractually obliged or financially sourced. Types of costings that may apply to this healthcare service, such if the service may be available for free, some discounts available, or fees apply.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ServiceProvisionConditions" description="The code(s) that detail the conditions under which the healthcare service is available/offered." strength="Example"/>
      </element>
      <element name="eligibility" description="Specific eligibility requirements required to use the service" definition="Does this service have specific eligibility requirements that need to be met in order to use the service?">
         <elementTypeSpecifier elementType="FHIR.HealthcareService.Eligibility" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="program" description="Programs that this service is applicable to" definition="Programs that this service is applicable to." comment="Programs are often defined externally to an Organization, commonly by governments; e.g. Home and Community Care Programs, Homeless Program, ….">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Program" description="Government or local programs that this service applies to." strength="Example"/>
      </element>
      <element name="characteristic" description="Collection of characteristics (attributes)" definition="Collection of characteristics (attributes)." comment="These could be such things as is wheelchair accessible.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ServiceCharacteristic" description="A custom attribute that could be provided at a service (e.g. Wheelchair accessibiliy)." strength="Example"/>
      </element>
      <element name="communication" description="The language that this service is offered in" definition="Some services are specifically made available in multiple languages, this property permits a directory to declare the languages this is offered in. Typically this is only provided where a service operates in communities with mixed languages used." comment="When using this property it indicates that the service is available with this language, it is not derived from the practitioners, and not all are required to use this language, just that this language is available while scheduling.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Language" description="A human language." strength="Preferred"/>
      </element>
      <element name="referralMethod" description="Ways that the service accepts referrals" definition="Ways that the service accepts referrals, if this is not provided then it is implied that no referral is required.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ReferralMethod" description="The methods of referral can be used when referring to a specific HealthCareService resource." strength="Example"/>
      </element>
      <element name="appointmentRequired" elementType="FHIR.boolean" description="If an appointment is required for access to this service" definition="Indicates whether or not a prospective consumer will require an appointment for a particular service at a site to be provided by the Organization. Indicates if an appointment is required for access to this service."/>
      <element name="availableTime" description="Times the Service Site is available" definition="A collection of times that the Service Site is available." comment="More detailed availability information may be provided in associated Schedule/Slot resources.">
         <elementTypeSpecifier elementType="FHIR.HealthcareService.AvailableTime" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="notAvailable" description="Not available during this time due to provided reason" definition="The HealthcareService is not available during this period of time due to the provided reason.">
         <elementTypeSpecifier elementType="FHIR.HealthcareService.NotAvailable" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="availabilityExceptions" elementType="FHIR.string" description="Description of availability exceptions" definition="A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times."/>
      <element name="endpoint" description="Technical endpoints providing access to electronic services operated for the healthcare service" definition="Technical endpoints providing access to services operated for the specific healthcare services defined at this resource.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="location" path="location" type="FHIR.Location"/>
      <search name="program" path="program" type="System.Code"/>
      <search name="name" path="name" type="System.String"/>
      <search name="coverage-area" path="coverageArea" type="FHIR.Location"/>
      <search name="service-type" path="type" type="System.Code"/>
      <search name="service-category" path="category" type="System.Code"/>
      <search name="characteristic" path="characteristic" type="System.Code"/>
      <search name="active" path="active" type="System.Code"/>
      <search name="specialty" path="specialty" type="System.Code"/>
      <search name="endpoint" path="endpoint" type="FHIR.Endpoint"/>
      <search name="organization" path="providedBy" type="FHIR.Organization"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="HealthcareService.AvailableTime" retrievable="false" xsi:type="ClassInfo">
      <element name="daysOfWeek" description="mon | tue | wed | thu | fri | sat | sun" definition="Indicates which days of the week are available between the start and end Times.">
         <elementTypeSpecifier elementType="FHIR.DaysOfWeek" xsi:type="ListTypeSpecifier"/>
         <binding name="DaysOfWeek" description="The days of the week." strength="Required"/>
      </element>
      <element name="allDay" elementType="FHIR.boolean" description="Always available? e.g. 24 hour service" definition="Is this always available? (hence times are irrelevant) e.g. 24 hour service."/>
      <element name="availableStartTime" elementType="FHIR.time" description="Opening time of day (ignored if allDay = true)" definition="The opening time of day. Note: If the AllDay flag is set, then this time is ignored." comment="The time zone is expected to be for where this HealthcareService is provided at."/>
      <element name="availableEndTime" elementType="FHIR.time" description="Closing time of day (ignored if allDay = true)" definition="The closing time of day. Note: If the AllDay flag is set, then this time is ignored." comment="The time zone is expected to be for where this HealthcareService is provided at."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="HealthcareService.Eligibility" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Coded value for the eligibility" definition="Coded value for the eligibility.">
         <binding name="ServiceEligibility" description="Coded values underwhich a specific service is made available." strength="Example"/>
      </element>
      <element name="comment" elementType="FHIR.markdown" description="Describes the eligibility conditions for the service" definition="Describes the eligibility conditions for the service." comment="The description of service eligibility should, in general, not exceed one or two paragraphs. It should be sufficient for a prospective consumer to determine if they are likely to be eligible or not. Where eligibility requirements and conditions are complex, it may simply be noted that an eligibility assessment is required. Where eligibility is determined by an outside source, such as an Act of Parliament, this should be noted, preferably with a reference to a commonly available copy of the source document such as a web page."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="HealthcareService.NotAvailable" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Reason presented to the user explaining why time not available" definition="The reason that can be presented to the user as to why this time is not available."/>
      <element name="during" elementType="FHIR.Period" description="Service not available from this date" definition="Service is not available (seasonally or for a public holiday) from this date."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="HumanName" identifier="http://hl7.org/fhir/StructureDefinition/HumanName" label="HumanName" retrievable="false" xsi:type="ClassInfo">
      <element name="use" elementType="FHIR.NameUse" description="usual | official | temp | nickname | anonymous | old | maiden" definition="Identifies the purpose for this name." comment="Applications can assume that a name is current unless it explicitly says that it is temporary or old.">
         <binding name="NameUse" description="The use of a human name." strength="Required"/>
      </element>
      <element name="text" elementType="FHIR.string" description="Text representation of the full name" definition="Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts." comment="Can provide both a text representation and parts. Applications updating a name SHALL ensure that when both text and parts are present,  no content is included in the text that isn't found in a part."/>
      <element name="family" elementType="FHIR.string" description="Family name (often called 'Surname')" definition="The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father." comment="Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures)."/>
      <element name="given" description="Given names (not always 'first'). Includes middle names" definition="Given name." comment="If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to paractical limitations.  This element is not called &quot;first name&quot; since given names do not always come first.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="prefix" description="Parts that come before the name" definition="Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="suffix" description="Parts that come after the name" definition="Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Time period when name was/is in use" definition="Indicates the period of time when this name was valid for the named person."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Identifier" identifier="http://hl7.org/fhir/StructureDefinition/Identifier" label="Identifier" retrievable="false" xsi:type="ClassInfo">
      <element name="use" elementType="FHIR.IdentifierUse" description="usual | official | temp | secondary | old (If known)" definition="The purpose of this identifier." comment="Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.">
         <binding name="IdentifierUse" description="Identifies the purpose for this identifier, if known ." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Description of identifier" definition="A coded type for the identifier that can be used to determine which identifier to use for a specific purpose." comment="This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.">
         <binding name="IdentifierType" description="A coded type for an identifier that can be used to determine which identifier to use for a specific purpose." strength="Extensible"/>
      </element>
      <element name="system" elementType="FHIR.uri" description="The namespace for the identifier value" definition="Establishes the namespace for the value - that is, a URL that describes a set values that are unique." comment="Identifier.system is always case sensitive."/>
      <element name="value" elementType="FHIR.string" description="The value that is unique" definition="The portion of the identifier typically relevant to the user and which is unique within the context of the system." comment="If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe."/>
      <element name="period" elementType="FHIR.Period" description="Time period when id is/was valid for use" definition="Time period during which identifier is/was valid for use."/>
      <element name="assigner" elementType="FHIR.Reference" description="Organization that issued id (may be just text)" definition="Organization that issued/manages the identifier." comment="The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="IdentifierUse" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="IdentityAssuranceLevel" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ImagingStudy" identifier="http://hl7.org/fhir/StructureDefinition/ImagingStudy" label="ImagingStudy" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Identifiers for the whole study" definition="Identifiers for the ImagingStudy such as DICOM Study Instance UID, and Accession Number." comment="See discussion under [Imaging Study Implementation Notes](imagingstudy.html#notes) for encoding of DICOM Study Instance UID. Accession Number should use ACSN Identifier type.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ImagingStudyStatus" description="registered | available | cancelled | entered-in-error | unknown" definition="The current state of the ImagingStudy." comment="Unknown does not represent &quot;other&quot; - one of the defined statuses must apply.  Unknown is used when the authoring system is not sure what the current status is.">
         <binding name="ImagingStudyStatus" description="The status of the ImagingStudy." strength="Required"/>
      </element>
      <element name="modality" description="All series modality if actual acquisition modalities" definition="A list of all the series.modality values that are actual acquisition modalities, i.e. those in the DICOM Context Group 29 (value set OID 1.2.840.10008.6.1.19).">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="ImagingModality" description="Type of acquired data in the instance." strength="Extensible"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who or what is the subject of the study" definition="The subject, typically a patient, of the imaging study." comment="QA phantoms can be recorded with a Device; multiple subjects (such as mice) can be recorded with a Group."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter with which this imaging study is associated" definition="The healthcare event (e.g. a patient and healthcare provider interaction) during which this ImagingStudy is made." comment="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission test)."/>
      <element name="started" elementType="FHIR.dateTime" description="When the study was started" definition="Date and time the study started."/>
      <element name="basedOn" description="Request fulfilled" definition="A list of the diagnostic requests that resulted in this imaging study being performed.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="referrer" elementType="FHIR.Reference" description="Referring physician" definition="The requesting/referring physician."/>
      <element name="interpreter" description="Who interpreted images" definition="Who read the study and interpreted the images or other content.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endpoint" description="Study access endpoint" definition="The network service providing access (e.g., query, view, or retrieval) for the study. See implementation notes for information about using DICOM endpoints. A study-level endpoint applies to each series in the study, unless overridden by a series-level endpoint with the same Endpoint.connectionType." comment="Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG), formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances; or IHE Invoke Image Display (IID), which provides standard invocation of an imaging web viewer.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="numberOfSeries" elementType="FHIR.unsignedInt" description="Number of Study Related Series" definition="Number of Series in the Study. This value given may be larger than the number of series elements this Resource contains due to resource availability, security, or other factors. This element should be present if any series elements are present."/>
      <element name="numberOfInstances" elementType="FHIR.unsignedInt" description="Number of Study Related Instances" definition="Number of SOP Instances in Study. This value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present."/>
      <element name="procedureReference" elementType="FHIR.Reference" description="The performed Procedure reference" definition="The procedure which this ImagingStudy was part of."/>
      <element name="procedureCode" description="The performed procedure code" definition="The code for the performed procedure type.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ImagingProcedureCode" description="The performed procedure type." strength="Extensible"/>
      </element>
      <element name="location" elementType="FHIR.Reference" description="Where ImagingStudy occurred" definition="The principal physical location where the ImagingStudy was performed."/>
      <element name="reasonCode" description="Why the study was requested" definition="Description of clinical condition indicating why the ImagingStudy was requested.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ImagingReason" description="The reason for the study." strength="Example"/>
      </element>
      <element name="reasonReference" description="Why was study performed" definition="Indicates another resource whose existence justifies this Study.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="User-defined comments" definition="Per the recommended DICOM mapping, this element is derived from the Study Description attribute (0008,1030). Observations or findings about the imaging study should be recorded in another resource, e.g. Observation, and not in this element.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Institution-generated description" definition="The Imaging Manager description of the study. Institution-generated description or classification of the Study (component) performed."/>
      <element name="series" description="Each study has one or more series of instances" definition="Each study has one or more series of images or other content.">
         <elementTypeSpecifier elementType="FHIR.ImagingStudy.Series" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="instance" path="series.instance.uid" type="System.Code"/>
      <search name="interpreter" path="interpreter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="dicom-class" path="series.instance.sopClass" type="System.Code"/>
      <search name="bodysite" path="series.bodySite" type="System.Code"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="reason" path="reasonCode" type="System.Code"/>
      <search name="referrer" path="referrer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="basedon" path="basedOn">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="performer" path="series.performer.actor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="series" path="series.uid" type="System.Code"/>
      <search name="modality" path="series.modality" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="endpoint" path="endpoint|series.endpoint" type="FHIR.Endpoint"/>
      <search name="encounter" path="encounter" type="FHIR.Encounter"/>
      <search name="started" path="started" type="System.DateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImagingStudy.Series" retrievable="false" xsi:type="ClassInfo">
      <element name="uid" elementType="FHIR.id" description="DICOM Series Instance UID for the series" definition="The DICOM Series Instance UID for the series." comment="See [DICOM PS3.3 C.7.3](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.3.html)."/>
      <element name="number" elementType="FHIR.unsignedInt" description="Numeric identifier of this series" definition="The numeric identifier of this series in the study."/>
      <element name="modality" elementType="FHIR.Coding" description="The modality of the instances in the series" definition="The modality of this series sequence.">
         <binding name="ImagingModality" description="Type of acquired data in the instance." strength="Extensible"/>
      </element>
      <element name="description" elementType="FHIR.string" description="A short human readable summary of the series" definition="A description of the series."/>
      <element name="numberOfInstances" elementType="FHIR.unsignedInt" description="Number of Series Related Instances" definition="Number of SOP Instances in the Study. The value given may be larger than the number of instance elements this resource contains due to resource availability, security, or other factors. This element should be present if any instance elements are present."/>
      <element name="endpoint" description="Series access endpoint" definition="The network service providing access (e.g., query, view, or retrieval) for this series. See implementation notes for information about using DICOM endpoints. A series-level endpoint, if present, has precedence over a study-level endpoint with the same Endpoint.connectionType." comment="Typical endpoint types include DICOM WADO-RS, which is used to retrieve DICOM instances in native or rendered (e.g., JPG, PNG) formats using a RESTful API; DICOM WADO-URI, which can similarly retrieve native or rendered instances, except using an HTTP query-based approach; and DICOM QIDO-RS, which allows RESTful query for DICOM information without retrieving the actual instances.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="bodySite" elementType="FHIR.Coding" description="Body part examined" definition="The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality.">
         <binding name="BodySite" description="Codes describing anatomical locations. May include laterality." strength="Example"/>
      </element>
      <element name="laterality" elementType="FHIR.Coding" description="Body part laterality" definition="The laterality of the (possibly paired) anatomic structures examined. E.g., the left knee, both lungs, or unpaired abdomen. If present, shall be consistent with any laterality information indicated in ImagingStudy.series.bodySite.">
         <binding name="Laterality" description="Codes describing body site laterality (left, right, etc.)." strength="Example"/>
      </element>
      <element name="specimen" description="Specimen imaged" definition="The specimen imaged, e.g., for whole slide imaging of a biopsy.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="started" elementType="FHIR.dateTime" description="When the series started" definition="The date and time the series was started."/>
      <element name="performer" description="Who performed the series" definition="Indicates who or what performed the series and how they were involved." comment="If the person who performed the series is not known, their Organization may be recorded. A patient, or related person, may be the performer, e.g. for patient-captured images.">
         <elementTypeSpecifier elementType="FHIR.ImagingStudy.Series.Performer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instance" description="A single SOP instance from the series" definition="A single SOP instance within the series, e.g. an image, or presentation state.">
         <elementTypeSpecifier elementType="FHIR.ImagingStudy.Series.Instance" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImagingStudy.Series.Instance" retrievable="false" xsi:type="ClassInfo">
      <element name="uid" elementType="FHIR.id" description="DICOM SOP Instance UID" definition="The DICOM SOP Instance UID for this image or other DICOM content." comment="See  [DICOM PS3.3 C.12.1](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.12.html#sect_C.12.1)."/>
      <element name="sopClass" elementType="FHIR.Coding" description="DICOM class type" definition="DICOM instance  type.">
         <binding name="sopClass" description="The sopClass for the instance." strength="Extensible"/>
      </element>
      <element name="number" elementType="FHIR.unsignedInt" description="The number of this instance in the series" definition="The number of instance in the series."/>
      <element name="title" elementType="FHIR.string" description="Description of instance" definition="The description of the instance." comment="Particularly for post-acquisition analytic objects, such as SR, presentation states, value mapping, etc."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImagingStudy.Series.Performer" retrievable="false" xsi:type="ClassInfo">
      <element name="function" elementType="FHIR.CodeableConcept" description="Type of performance" definition="Distinguishes the type of involvement of the performer in the series.">
         <binding name="EventPerformerFunction" description="The type of involvement of the performer." strength="Extensible"/>
      </element>
      <element name="actor" elementType="FHIR.Reference" description="Who performed the series" definition="Indicates who or what performed the series."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ImagingStudyStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Immunization" identifier="http://hl7.org/fhir/StructureDefinition/Immunization" label="Immunization" retrievable="true" primaryCodePath="vaccineCode" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifier" definition="A unique identifier assigned to this immunization record.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ImmunizationStatus" description="completed | entered-in-error | not-done" definition="Indicates the current status of the immunization event." comment="Will generally be set to show that the immunization has been completed or not done.  This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="ImmunizationStatus" description="A set of codes indicating the current status of an Immunization." strength="Required"/>
      </element>
      <element name="statusReason" elementType="FHIR.CodeableConcept" description="Reason not done" definition="Indicates the reason the immunization event was not performed." comment="This is generally only used for the status of &quot;not-done&quot;. The reason for performing the immunization event is captured in reasonCode, not here.">
         <binding name="ImmunizationStatusReason" description="The reason why a vaccine was not administered." strength="Example"/>
      </element>
      <element name="vaccineCode" elementType="FHIR.CodeableConcept" description="Vaccine product administered" definition="Vaccine that was administered or was to be administered.">
         <binding name="VaccineCode" description="The code for vaccine product administered." strength="Example"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="Who was immunized" definition="The patient who either received or did not receive the immunization."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter immunization was part of" definition="The visit or admission or other contact between patient and health care provider the immunization was performed as part of."/>
      <element name="occurrence" description="Vaccine administration date" definition="Date vaccine administered or was to be administered." comment="When immunizations are given a specific date and time should always be known.   When immunizations are patient reported, a specific date might not be known.  Although partial dates are allowed, an adult patient might not be able to recall the year a childhood immunization was given. An exact date is always preferable, but the use of the String data type is acceptable when an exact date is not known. A small number of vaccines (e.g. live oral typhoid vaccine) are given as a series of patient self-administered dose over a span of time. In cases like this, often, only the first dose (typically a provider supervised dose) is recorded with the occurrence indicating the date/time of the first dose.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="recorded" elementType="FHIR.dateTime" description="When the immunization was first captured in the subject's record" definition="The date the occurrence of the immunization was first captured in the record - potentially significantly after the occurrence of the event."/>
      <element name="primarySource" elementType="FHIR.boolean" description="Indicates context the data was recorded in" definition="An indication that the content of the record is based on information from the person who administered the vaccine. This reflects the context under which the data was originally recorded." comment="Reflects the “reliability” of the content."/>
      <element name="reportOrigin" elementType="FHIR.CodeableConcept" description="Indicates the source of a secondarily reported record" definition="The source of the data when the report of the immunization event is not based on information from the person who administered the vaccine." comment="Should not be populated if primarySource = True, not required even if primarySource = False.">
         <binding name="ImmunizationReportOrigin" description="The source of the data for a record which is not from a primary source." strength="Example"/>
      </element>
      <element name="location" elementType="FHIR.Reference" description="Where immunization occurred" definition="The service delivery location where the vaccine administration occurred."/>
      <element name="manufacturer" elementType="FHIR.Reference" description="Vaccine manufacturer" definition="Name of vaccine manufacturer."/>
      <element name="lotNumber" elementType="FHIR.string" description="Vaccine lot number" definition="Lot number of the  vaccine product."/>
      <element name="expirationDate" elementType="FHIR.date" description="Vaccine expiration date" definition="Date vaccine batch expires."/>
      <element name="site" elementType="FHIR.CodeableConcept" description="Body site vaccine  was administered" definition="Body site where vaccine was administered.">
         <binding name="ImmunizationSite" description="The site at which the vaccine was administered." strength="Example"/>
      </element>
      <element name="route" elementType="FHIR.CodeableConcept" description="How vaccine entered body" definition="The path by which the vaccine product is taken into the body.">
         <binding name="ImmunizationRoute" description="The route by which the vaccine was administered." strength="Example"/>
      </element>
      <element name="doseQuantity" elementType="FHIR.SimpleQuantity" description="Amount of vaccine administered" definition="The quantity of vaccine product that was administered."/>
      <element name="performer" description="Who performed event" definition="Indicates who performed the immunization event.">
         <elementTypeSpecifier elementType="FHIR.Immunization.Performer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Additional immunization notes" definition="Extra information about the immunization that is not conveyed by the other attributes.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reasonCode" description="Why immunization occurred" definition="Reasons why the vaccine was administered.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ImmunizationReason" description="The reason why a vaccine was administered." strength="Example"/>
      </element>
      <element name="reasonReference" description="Why immunization occurred" definition="Condition, Observation or DiagnosticReport that supports why the immunization was administered.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="isSubpotent" elementType="FHIR.boolean" description="Dose potency" definition="Indication if a dose is considered to be subpotent. By default, a dose should be considered to be potent." comment="Typically, the recognition of the dose being sub-potent is retrospective, after the administration (ex. notification of a manufacturer recall after administration). However, in the case of a partial administration (the patient moves unexpectedly and only some of the dose is actually administered), subpotency may be recognized immediately, but it is still important to record the event."/>
      <element name="subpotentReason" description="Reason for being subpotent" definition="Reason why a dose is considered to be subpotent.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="SubpotentReason" description="The reason why a dose is considered to be subpotent." strength="Example"/>
      </element>
      <element name="education" description="Educational material presented to patient" definition="Educational material presented to the patient (or guardian) at the time of vaccine administration.">
         <elementTypeSpecifier elementType="FHIR.Immunization.Education" xsi:type="ListTypeSpecifier"/>
         <constraint name="imm-1" severity="ERROR" message="One of documentType or reference SHALL be present">
            <expression language="text/fhirpath" expression="documentType.exists() or reference.exists()"/>
         </constraint>
      </element>
      <element name="programEligibility" description="Patient eligibility for a vaccination program" definition="Indicates a patient's eligibility for a funding program.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProgramEligibility" description="The patient's eligibility for a vaccation program." strength="Example"/>
      </element>
      <element name="fundingSource" elementType="FHIR.CodeableConcept" description="Funding source for the vaccine" definition="Indicates the source of the vaccine actually administered. This may be different than the patient eligibility (e.g. the patient may be eligible for a publically purchased vaccine but due to inventory issues, vaccine purchased with private funds was actually administered).">
         <binding name="FundingSource" description="The source of funding used to purchase the vaccine administered." strength="Example"/>
      </element>
      <element name="reaction" description="Details of a reaction that follows immunization" definition="Categorical data indicating that an adverse event is associated in time to an immunization." comment="A reaction may be an indication of an allergy or intolerance and, if this is determined to be the case, it should be recorded as a new AllergyIntolerance resource instance as most systems will not query against past Immunization.reaction elements.">
         <elementTypeSpecifier elementType="FHIR.Immunization.Reaction" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="protocolApplied" description="Protocol followed by the provider" definition="The protocol (set of recommendations) being followed by the provider who administered the dose.">
         <elementTypeSpecifier elementType="FHIR.Immunization.ProtocolApplied" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="actor"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="date" path="occurrence" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="series" path="protocolApplied.series" type="System.String"/>
      <search name="lot-number" path="lotNumber" type="System.String"/>
      <search name="patient" path="patient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="reaction-date" path="reaction.date" type="System.DateTime"/>
      <search name="location" path="location" type="FHIR.Location"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="reason-code" path="reasonCode" type="System.Code"/>
      <search name="target-disease" path="protocolApplied.targetDisease" type="System.Code"/>
      <search name="vaccine-code" path="vaccineCode" type="System.Code"/>
      <search name="reaction" path="reaction.detail" type="FHIR.Observation"/>
      <search name="manufacturer" path="manufacturer" type="FHIR.Organization"/>
      <search name="status-reason" path="statusReason" type="System.Code"/>
      <search name="reason-reference" path="reasonReference">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="performer" path="performer.actor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Immunization.Education" retrievable="false" xsi:type="ClassInfo">
      <element name="documentType" elementType="FHIR.string" description="Educational material document identifier" definition="Identifier of the material presented to the patient."/>
      <element name="reference" elementType="FHIR.uri" description="Educational material reference pointer" definition="Reference pointer to the educational material given to the patient if the information was on line."/>
      <element name="publicationDate" elementType="FHIR.dateTime" description="Educational material publication date" definition="Date the educational material was published."/>
      <element name="presentationDate" elementType="FHIR.dateTime" description="Educational material presentation date" definition="Date the educational material was given to the patient."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Immunization.Performer" retrievable="false" xsi:type="ClassInfo">
      <element name="function" elementType="FHIR.CodeableConcept" description="What type of performance was done" definition="Describes the type of performance (e.g. ordering provider, administering provider, etc.).">
         <binding name="ImmunizationFunction" description="The role a practitioner or organization plays in the immunization event." strength="Extensible"/>
      </element>
      <element name="actor" elementType="FHIR.Reference" description="Individual or organization who was performing" definition="The practitioner or organization who performed the action." comment="When the individual practitioner who performed the action is known, it is best to send."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Immunization.ProtocolApplied" retrievable="false" xsi:type="ClassInfo">
      <element name="series" elementType="FHIR.string" description="Name of vaccine series" definition="One possible path to achieve presumed immunity against a disease - within the context of an authority."/>
      <element name="authority" elementType="FHIR.Reference" description="Who is responsible for publishing the recommendations" definition="Indicates the authority who published the protocol (e.g. ACIP) that is being followed."/>
      <element name="targetDisease" description="Vaccine preventatable disease being targetted" definition="The vaccine preventable disease the dose is being administered against.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="TargetDisease" description="The vaccine preventable disease the dose is being administered for." strength="Example"/>
      </element>
      <element name="doseNumber" description="Dose number within series" definition="Nominal position in a series." comment="The use of an integer is preferred if known. A string should only be used in cases where an integer is not available (such as when documenting a recurring booster dose).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="seriesDoses" description="Recommended number of doses for immunity" definition="The recommended number of doses to achieve immunity." comment="The use of an integer is preferred if known. A string should only be used in cases where an integer is not available (such as when documenting a recurring booster dose).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Immunization.Reaction" retrievable="false" xsi:type="ClassInfo">
      <element name="date" elementType="FHIR.dateTime" description="When reaction started" definition="Date of reaction to the immunization."/>
      <element name="detail" elementType="FHIR.Reference" description="Additional information on reaction" definition="Details of the reaction."/>
      <element name="reported" elementType="FHIR.boolean" description="Indicates self-reported reaction" definition="Self-reported indicator."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ImmunizationEvaluation" identifier="http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation" label="ImmunizationEvaluation" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifier" definition="A unique identifier assigned to this immunization evaluation record.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ImmunizationEvaluationStatus" description="completed | entered-in-error" definition="Indicates the current status of the evaluation of the vaccination administration event.">
         <binding name="ImmunizationEvaluationStatus" description="The status of the evaluation being done." strength="Required"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="Who this evaluation is for" definition="The individual for whom the evaluation is being done."/>
      <element name="date" elementType="FHIR.dateTime" description="Date evaluation was performed" definition="The date the evaluation of the vaccine administration event was performed."/>
      <element name="authority" elementType="FHIR.Reference" description="Who is responsible for publishing the recommendations" definition="Indicates the authority who published the protocol (e.g. ACIP)."/>
      <element name="targetDisease" elementType="FHIR.CodeableConcept" description="Evaluation target disease" definition="The vaccine preventable disease the dose is being evaluated against.">
         <binding name="EvaluationTargetDisease" description="The vaccine preventable disease the dose is being evaluated against." strength="Example"/>
      </element>
      <element name="immunizationEvent" elementType="FHIR.Reference" description="Immunization being evaluated" definition="The vaccine administration event being evaluated."/>
      <element name="doseStatus" elementType="FHIR.CodeableConcept" description="Status of the dose relative to published recommendations" definition="Indicates if the dose is valid or not valid with respect to the published recommendations.">
         <binding name="EvaluationDoseStatus" description="The status of the administered dose relative to the published recommendations for the target disease." strength="Example"/>
      </element>
      <element name="doseStatusReason" description="Reason for the dose status" definition="Provides an explanation as to why the vaccine administration event is valid or not relative to the published recommendations.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="EvaluationDoseStatusReason" description="The reason the dose status was assigned." strength="Example"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Evaluation notes" definition="Additional information about the evaluation."/>
      <element name="series" elementType="FHIR.string" description="Name of vaccine series" definition="One possible path to achieve presumed immunity against a disease - within the context of an authority."/>
      <element name="doseNumber" description="Dose number within series" definition="Nominal position in a series." comment="The use of an integer is preferred if known. A string should only be used in cases where an integer is not available (such as when documenting a recurring booster dose).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="seriesDoses" description="Recommended number of doses for immunity" definition="The recommended number of doses to achieve immunity." comment="The use of an integer is preferred if known. A string should only be used in cases where an integer is not available (such as when documenting a recurring booster dose).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="immunization-event" path="immunizationEvent" type="FHIR.Immunization"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="dose-status" path="doseStatus" type="System.Code"/>
      <search name="patient" path="patient" type="FHIR.Patient"/>
      <search name="target-disease" path="targetDisease" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ImmunizationEvaluationStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ImmunizationRecommendation" identifier="http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" label="ImmunizationRecommendation" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifier" definition="A unique identifier assigned to this particular recommendation record.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="Who this profile is for" definition="The patient the recommendation(s) are for."/>
      <element name="date" elementType="FHIR.dateTime" description="Date recommendation(s) created" definition="The date the immunization recommendation(s) were created."/>
      <element name="authority" elementType="FHIR.Reference" description="Who is responsible for protocol" definition="Indicates the authority who published the protocol (e.g. ACIP)."/>
      <element name="recommendation" description="Vaccine administration recommendations" definition="Vaccine administration recommendations.">
         <elementTypeSpecifier elementType="FHIR.ImmunizationRecommendation.Recommendation" xsi:type="ListTypeSpecifier"/>
         <constraint name="imr-1" severity="ERROR" message="One of vaccineCode or targetDisease SHALL be present">
            <expression language="text/fhirpath" expression="vaccineCode.exists() or targetDisease.exists()"/>
         </constraint>
      </element>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="target-disease" path="recommendation.targetDisease" type="System.Code"/>
      <search name="patient" path="patient" type="FHIR.Patient"/>
      <search name="support" path="recommendation.supportingImmunization">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="recommendation.forecastStatus" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="vaccine-type" path="recommendation.vaccineCode" type="System.Code"/>
      <search name="information" path="recommendation.supportingPatientInformation">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImmunizationRecommendation.Recommendation" retrievable="false" xsi:type="ClassInfo">
      <element name="vaccineCode" description="Vaccine  or vaccine group recommendation applies to" definition="Vaccine(s) or vaccine group that pertain to the recommendation.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="VaccineCode" description="The type of vaccine administered." strength="Example"/>
      </element>
      <element name="targetDisease" elementType="FHIR.CodeableConcept" description="Disease to be immunized against" definition="The targeted disease for the recommendation.">
         <binding name="TargetDisease" description="The disease that the recommended vaccination targets." strength="Example"/>
      </element>
      <element name="contraindicatedVaccineCode" description="Vaccine which is contraindicated to fulfill the recommendation" definition="Vaccine(s) which should not be used to fulfill the recommendation.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="VaccineCode" description="The type of vaccine administered." strength="Example"/>
      </element>
      <element name="forecastStatus" elementType="FHIR.CodeableConcept" description="Vaccine recommendation status" definition="Indicates the patient status with respect to the path to immunity for the target disease.">
         <binding name="ImmunizationRecommendationStatus" description="The patient's status with respect to a vaccination protocol." strength="Example"/>
      </element>
      <element name="forecastReason" description="Vaccine administration status reason" definition="The reason for the assigned forecast status.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ImmunizationRecommendationReason" description="The reason for the patient's status with respect to a vaccination protocol." strength="Example"/>
      </element>
      <element name="dateCriterion" description="Dates governing proposed immunization" definition="Vaccine date recommendations.  For example, earliest date to administer, latest date to administer, etc.">
         <elementTypeSpecifier elementType="FHIR.ImmunizationRecommendation.Recommendation.DateCriterion" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Protocol details" definition="Contains the description about the protocol under which the vaccine was administered."/>
      <element name="series" elementType="FHIR.string" description="Name of vaccination series" definition="One possible path to achieve presumed immunity against a disease - within the context of an authority."/>
      <element name="doseNumber" description="Recommended dose number within series" definition="Nominal position of the recommended dose in a series (e.g. dose 2 is the next recommended dose)." comment="The use of an integer is prefered if known. A string should only be used in cases where an interger is not available (such as when documenting a recurring booster dose).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="seriesDoses" description="Recommended number of doses for immunity" definition="The recommended number of doses to achieve immunity." comment="The use of an integer is prefered if known. A string should only be used in cases where an interger is not available (such as when documenting a recurring booster dose).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="supportingImmunization" description="Past immunizations supporting recommendation" definition="Immunization event history and/or evaluation that supports the status and recommendation.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="supportingPatientInformation" description="Patient observations supporting recommendation" definition="Patient Information that supports the status and recommendation.  This includes patient observations, adverse reactions and allergy/intolerance information.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImmunizationRecommendation.Recommendation.DateCriterion" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Type of date" definition="Date classification of recommendation.  For example, earliest date to give, latest date to give, etc.">
         <binding name="ImmunizationRecommendationDateCriterion" description="Classifies date criterion with respect to conveying information about a patient's vaccination status (e.g. due date, latest to give date, etc.)." strength="Example"/>
      </element>
      <element name="value" elementType="FHIR.dateTime" description="Recommended date" definition="The date whose meaning is specified by dateCriterion.code."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ImmunizationStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ImplementationGuide" identifier="http://hl7.org/fhir/StructureDefinition/ImplementationGuide" label="ImplementationGuide" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="version" elementType="FHIR.string" description="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]."/>
      <element name="name" elementType="FHIR.string" description="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."/>
      <element name="title" elementType="FHIR.string" description="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."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="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.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="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."/>
      <element name="date" elementType="FHIR.dateTime" description="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."/>
      <element name="publisher" elementType="FHIR.string" description="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."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="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)."/>
      <element name="useContext" description="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.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="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.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="copyright" elementType="FHIR.markdown" description="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."/>
      <element name="packageId" elementType="FHIR.id" description="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."/>
      <element name="license" elementType="FHIR.SPDXLicense" description="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'.">
         <binding name="SPDXLicense" 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/)." strength="Required"/>
      </element>
      <element name="fhirVersion" description="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.3.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.">
         <elementTypeSpecifier elementType="FHIR.FHIRVersion" xsi:type="ListTypeSpecifier"/>
         <binding name="FHIRVersion" description="All published FHIR Versions." strength="Required"/>
      </element>
      <element name="dependsOn" description="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.">
         <elementTypeSpecifier elementType="FHIR.ImplementationGuide.DependsOn" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="global" description="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.">
         <elementTypeSpecifier elementType="FHIR.ImplementationGuide.Global" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="definition" elementType="FHIR.ImplementationGuide.Definition" description="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.">
         <constraint name="ig-1" severity="ERROR" message="If a resource has a groupingId, it must refer to a grouping defined in the Implementation Guide">
            <expression language="text/fhirpath" expression="resource.groupingId.all(%context.grouping.id contains $this)"/>
         </constraint>
      </element>
      <element name="manifest" elementType="FHIR.ImplementationGuide.Manifest" description="Information about an assembled IG" definition="Information about an assembled implementation guide, created by the publication tooling."/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="url" path="url" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="resource" path="definition.resource.reference">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="depends-on" path="dependsOn.uri" type="FHIR.ImplementationGuide"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="experimental" path="experimental" type="System.Code"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="global" path="global.profile" type="FHIR.StructureDefinition"/>
      <search name="version" path="version" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImplementationGuide.Definition" retrievable="false" xsi:type="ClassInfo">
      <element name="grouping" description="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.">
         <elementTypeSpecifier elementType="FHIR.ImplementationGuide.Definition.Grouping" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="resource" description="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.">
         <elementTypeSpecifier elementType="FHIR.ImplementationGuide.Definition.Resource" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="page" elementType="FHIR.ImplementationGuide.Definition.Page" description="Page/Section in the Guide" definition="A page / section in the implementation guide. The root page is the implementation guide home page." comment="Pages automatically become sections if they have sub-pages. By convention, the home page is called index.html."/>
      <element name="parameter" description="Defines how IG is built by tools" definition="Defines how IG is built by tools.">
         <elementTypeSpecifier elementType="FHIR.ImplementationGuide.Definition.Parameter" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="template" description="A template for building resources" definition="A template for building resources.">
         <elementTypeSpecifier elementType="FHIR.ImplementationGuide.Definition.Template" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImplementationGuide.Definition.Grouping" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Descriptive name for the package" definition="The human-readable title to display for the package of resources when rendering the implementation guide."/>
      <element name="description" elementType="FHIR.string" description="Human readable text describing the package" definition="Human readable text describing the package."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImplementationGuide.Definition.Page" retrievable="false" xsi:type="ClassInfo">
      <element name="name" description="Where to find that page" definition="The source address for the page." comment="The publishing tool will autogenerate source for list (source = n/a) and inject included implementations for include (source = uri of guide to include).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="url" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="title" elementType="FHIR.string" description="Short title shown for navigational assistance" definition="A short title used to represent this page in navigational structures such as table of contents, bread crumbs, etc."/>
      <element name="generation" elementType="FHIR.GuidePageGeneration" description="html | markdown | xml | generated" definition="A code that indicates how the page is generated.">
         <binding name="GuidePageGeneration" description="A code that indicates how the page is generated." strength="Required"/>
      </element>
      <element name="page" description="Nested Pages / Sections" definition="Nested Pages/Sections under this page." comment="The implementation guide breadcrumbs are generated from this structure.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ImplementationGuide.Definition.Page" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImplementationGuide.Definition.Parameter" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.GuideParameterCode" description="apply | path-resource | path-pages | path-tx-cache | expansion-parameter | rule-broken-links | generate-xml | generate-json | generate-turtle | html-template" definition="apply | path-resource | path-pages | path-tx-cache | expansion-parameter | rule-broken-links | generate-xml | generate-json | generate-turtle | html-template.">
         <binding name="GuideParameterCode" description="Code of parameter that is input to the guide." strength="Required"/>
      </element>
      <element name="value" elementType="FHIR.string" description="Value for named type" definition="Value for named type."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImplementationGuide.Definition.Resource" retrievable="false" xsi:type="ClassInfo">
      <element name="reference" elementType="FHIR.Reference" description="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."/>
      <element name="fhirVersion" description="Versions this applies to (if different to IG)" definition="Indicates the FHIR Version(s) this artifact is intended to apply to. If no versions are specified, the resource is assumed to apply to all the versions stated in ImplementationGuide.fhirVersion." comment="The resource SHALL be valid against all the versions it is specified to apply to. If the resource referred to is a StructureDefinition, the fhirVersion stated in the StructureDefinition cannot disagree with the version specified here; the specified versions SHALL include the version specified by the StructureDefinition, and may include additional versions using the [applicable-version](extension-structuredefinition-applicable-version.html) extension.">
         <elementTypeSpecifier elementType="FHIR.FHIRVersion" xsi:type="ListTypeSpecifier"/>
         <binding name="FHIRVersion" description="All published FHIR Versions." strength="Required"/>
      </element>
      <element name="name" elementType="FHIR.string" description="Human Name for the resource" definition="A human assigned name for the resource. All resources SHOULD have a name, but the name may be extracted from the resource (e.g. ValueSet.name)."/>
      <element name="description" elementType="FHIR.string" description="Reason why included in guide" definition="A description of the reason that a resource has been included in the implementation guide." comment="This is mostly used with examples to explain why it is present (though they can have extensive comments in the examples)."/>
      <element name="example" description="Is an example/What is this an example of?" definition="If true or a reference, indicates the resource is an example instance.  If a reference is present, indicates that the example is an example of the specified profile." comment="Examples: &#xa;&#xa;* StructureDefinition -> Any &#xa;* ValueSet -> expansion &#xa;* OperationDefinition -> Parameters &#xa;* Questionnaire -> QuestionnaireResponse.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="groupingId" elementType="FHIR.id" description="Grouping this is part of" definition="Reference to the id of the grouping this resource appears in." comment="This must correspond to a package.id element within this implementation guide."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImplementationGuide.Definition.Template" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.code" description="Type of template specified" definition="Type of template specified."/>
      <element name="source" elementType="FHIR.string" description="The source location for the template" definition="The source location for the template."/>
      <element name="scope" elementType="FHIR.string" description="The scope in which the template applies" definition="The scope in which the template applies."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImplementationGuide.DependsOn" retrievable="false" xsi:type="ClassInfo">
      <element name="uri" elementType="FHIR.canonical" description="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."/>
      <element name="packageId" elementType="FHIR.id" description="NPM Package name for IG this depends on" definition="The NPM package name for the Implementation Guide that this IG depends on."/>
      <element name="version" elementType="FHIR.string" description="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]]."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImplementationGuide.Global" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.ResourceType" description="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.">
         <binding name="ResourceType" description="One of the resource types defined as part of this version of FHIR." strength="Required"/>
      </element>
      <element name="profile" elementType="FHIR.canonical" description="Profile that all resources must conform to" definition="A reference to the profile that all instances must conform to."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImplementationGuide.Manifest" retrievable="false" xsi:type="ClassInfo">
      <element name="rendering" elementType="FHIR.url" description="Location of rendered implementation guide" definition="A pointer to official web page, PDF or other rendering of the implementation guide."/>
      <element name="resource" description="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.">
         <elementTypeSpecifier elementType="FHIR.ImplementationGuide.Manifest.Resource" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="page" description="HTML page within the parent IG" definition="Information about a page within the IG.">
         <elementTypeSpecifier elementType="FHIR.ImplementationGuide.Manifest.Page" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="image" description="Image within the IG" definition="Indicates a relative path to an image that exists within the IG.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="other" description="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.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImplementationGuide.Manifest.Page" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="HTML page name" definition="Relative path to the page." comment="Appending 'rendering' + &quot;/&quot; + this should resolve to the page."/>
      <element name="title" elementType="FHIR.string" description="Title of the page, for references" definition="Label for the page intended for human display."/>
      <element name="anchor" description="Anchor available on the page" definition="The name of an anchor available on the page." comment="Appending 'rendering' + &quot;/&quot; + page.name + &quot;#&quot; + page.anchor should resolve to the anchor.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ImplementationGuide.Manifest.Resource" retrievable="false" xsi:type="ClassInfo">
      <element name="reference" elementType="FHIR.Reference" description="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."/>
      <element name="example" description="Is an example/What is this an example of?" definition="If true or a reference, indicates the resource is an example instance.  If a reference is present, indicates that the example is an example of the specified profile." comment="Typically, conformance resources and knowledge resources are directly part of the implementation guide, with their normal meaning, and patient linked resources are usually examples. However this is not always true.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="relativePath" elementType="FHIR.url" description="Relative path for page in IG" definition="The relative path for primary page for this resource within the IG." comment="Appending 'rendering' + &quot;/&quot; + this should resolve to the resource page."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="InsurancePlan" identifier="http://hl7.org/fhir/StructureDefinition/InsurancePlan" label="InsurancePlan" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for Product" definition="Business identifiers assigned to this health insurance product which remain constant as the resource is updated and propagates from server to server.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The current state of the health insurance product.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="type" description="Kind of product" definition="The kind of health insurance product.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="InsurancePlanType" description="Used to categorize the product/plan." strength="Example"/>
      </element>
      <element name="name" elementType="FHIR.string" description="Official name" definition="Official name of the health insurance product as designated by the owner." comment="If the name of the product/plan changes, consider putting the old name in the alias column so that it can still be located through searches."/>
      <element name="alias" description="Alternate names" definition="A list of alternate names that the product is known as, or was known as in the past." comment="There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the product/plan.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="When the product is available" definition="The period of time that the health insurance product is available."/>
      <element name="ownedBy" elementType="FHIR.Reference" description="Plan issuer" definition="The entity that is providing  the health insurance product and underwriting the risk.  This is typically an insurance carriers, other third-party payers, or health plan sponsors comonly referred to as 'payers'."/>
      <element name="administeredBy" elementType="FHIR.Reference" description="Product administrator" definition="An organization which administer other services such as underwriting, customer service and/or claims processing on behalf of the health insurance product owner."/>
      <element name="coverageArea" description="Where product applies" definition="The geographic region in which a health insurance product's benefits apply.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="contact" description="Contact for the product" definition="The contact for the health insurance product for a certain purpose." comment="Where multiple contacts for the same purpose are provided there is a standard extension that can be used to determine which one is the preferred contact to use.">
         <elementTypeSpecifier elementType="FHIR.InsurancePlan.Contact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endpoint" description="Technical endpoint" definition="The technical endpoints providing access to services operated for the health insurance product.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="network" description="What networks are Included" definition="Reference to the network included in the health insurance product." comment="Networks are represented as a hierarchy of organization resources.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="coverage" description="Coverage details" definition="Details about the coverage offered by the insurance product.">
         <elementTypeSpecifier elementType="FHIR.InsurancePlan.Coverage" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="plan" description="Plan details" definition="Details about an insurance plan.">
         <elementTypeSpecifier elementType="FHIR.InsurancePlan.Plan" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="owned-by" path="ownedBy" type="FHIR.Organization"/>
      <search name="address-state" path="contact.address.state" type="System.String"/>
      <search name="address-country" path="contact.address.country" type="System.String"/>
      <search name="address-use" path="contact.address.use" type="System.Code"/>
      <search name="address" path="contact.address" type="System.String"/>
      <search name="phonetic" path="name" type="System.String"/>
      <search name="address-postalcode" path="contact.address.postalCode" type="System.String"/>
      <search name="endpoint" path="endpoint" type="FHIR.Endpoint"/>
      <search name="address-city" path="contact.address.city" type="System.String"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="administered-by" path="administeredBy" type="FHIR.Organization"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="InsurancePlan.Contact" retrievable="false" xsi:type="ClassInfo">
      <element name="purpose" elementType="FHIR.CodeableConcept" description="The type of contact" definition="Indicates a purpose for which the contact can be reached.">
         <binding name="ContactPartyType" description="The purpose for which you would contact a contact party." strength="Extensible"/>
      </element>
      <element name="name" elementType="FHIR.HumanName" description="A name associated with the contact" definition="A name associated with the contact."/>
      <element name="telecom" description="Contact details (telephone, email, etc.)  for a contact" definition="A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="address" elementType="FHIR.Address" description="Visiting or postal addresses for the contact" definition="Visiting or postal addresses for the contact."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="InsurancePlan.Coverage" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of coverage" definition="Type of coverage  (Medical; Dental; Mental Health; Substance Abuse; Vision; Drug; Short Term; Long Term Care; Hospice; Home Health)."/>
      <element name="network" description="What networks provide coverage" definition="Reference to the network that providing the type of coverage." comment="Networks are represented as a hierarchy of organization resources.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="benefit" description="List of benefits" definition="Specific benefits under this type of coverage.">
         <elementTypeSpecifier elementType="FHIR.InsurancePlan.Coverage.Benefit" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="InsurancePlan.Coverage.Benefit" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of benefit" definition="Type of benefit (primary care; speciality care; inpatient; outpatient)."/>
      <element name="requirement" elementType="FHIR.string" description="Referral requirements" definition="The referral requirements to have access/coverage for this benefit."/>
      <element name="limit" description="Benefit limits" definition="The specific limits on the benefit.">
         <elementTypeSpecifier elementType="FHIR.InsurancePlan.Coverage.Benefit.Limit" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="InsurancePlan.Coverage.Benefit.Limit" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="FHIR.Quantity" description="Maximum value allowed" definition="The maximum amount of a service item a plan will pay for a covered benefit.  For examples. wellness visits, or eyeglasses." comment="May also be called “eligible expense,” “payment allowance,” or “negotiated rate.”."/>
      <element name="code" elementType="FHIR.CodeableConcept" description="Benefit limit details" definition="The specific limit on the benefit." comment="Use `CodeableConcept.text` element if the data is free (uncoded) text."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="InsurancePlan.Plan" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for Product" definition="Business identifiers assigned to this health insurance plan which remain constant as the resource is updated and propagates from server to server.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of plan" definition="Type of plan. For example, &quot;Platinum&quot; or &quot;High Deductable&quot;."/>
      <element name="coverageArea" description="Where product applies" definition="The geographic region in which a health insurance plan's benefits apply.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="network" description="What networks provide coverage" definition="Reference to the network that providing the type of coverage." comment="Networks are represented as a hierarchy of organization resources.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="generalCost" description="Overall costs" definition="Overall costs associated with the plan.">
         <elementTypeSpecifier elementType="FHIR.InsurancePlan.Plan.GeneralCost" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="specificCost" description="Specific costs" definition="Costs associated with the coverage provided by the product.">
         <elementTypeSpecifier elementType="FHIR.InsurancePlan.Plan.SpecificCost" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="InsurancePlan.Plan.GeneralCost" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of cost" definition="Type of cost."/>
      <element name="groupSize" elementType="FHIR.positiveInt" description="Number of enrollees" definition="Number of participants enrolled in the plan."/>
      <element name="cost" elementType="FHIR.Money" description="Cost value" definition="Value of the cost."/>
      <element name="comment" elementType="FHIR.string" description="Additional cost information" definition="Additional information about the general costs associated with this plan."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="InsurancePlan.Plan.SpecificCost" retrievable="false" xsi:type="ClassInfo">
      <element name="category" elementType="FHIR.CodeableConcept" description="General category of benefit" definition="General category of benefit (Medical; Dental; Vision; Drug; Mental Health; Substance Abuse; Hospice, Home Health)."/>
      <element name="benefit" description="Benefits list" definition="List of the specific benefits under this category of benefit.">
         <elementTypeSpecifier elementType="FHIR.InsurancePlan.Plan.SpecificCost.Benefit" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="InsurancePlan.Plan.SpecificCost.Benefit" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of specific benefit" definition="Type of specific benefit (preventative; primary care office visit; speciality office visit; hospitalization; emergency room; urgent care)."/>
      <element name="cost" description="List of the costs" definition="List of the costs associated with a specific benefit.">
         <elementTypeSpecifier elementType="FHIR.InsurancePlan.Plan.SpecificCost.Benefit.Cost" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="InsurancePlan.Plan.SpecificCost.Benefit.Cost" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of cost" definition="Type of cost (copay; individual cap; family cap; coinsurance; deductible)."/>
      <element name="applicability" elementType="FHIR.CodeableConcept" description="in-network | out-of-network | other" definition="Whether the cost applies to in-network or out-of-network providers (in-network; out-of-network; other).">
         <binding name="BenefitCostApplicability" description="Whether the cost applies to in-network or out-of-network providers." strength="Required"/>
      </element>
      <element name="qualifiers" description="Additional information about the cost" definition="Additional information about the cost, such as information about funding sources (e.g. HSA, HRA, FSA, RRA).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="value" elementType="FHIR.Quantity" description="The actual cost value" definition="The actual cost value. (some of the costs may be represented as percentages rather than currency, e.g. 10% coinsurance)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Invoice" identifier="http://hl7.org/fhir/StructureDefinition/Invoice" label="Invoice" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for item" definition="Identifier of this Invoice, often used for reference in correspondence about this invoice or for tracking of payments.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.InvoiceStatus" description="draft | issued | balanced | cancelled | entered-in-error" definition="The current state of the Invoice.">
         <binding name="InvoiceStatus" description="Codes identifying the lifecycle stage of an Invoice." strength="Required"/>
      </element>
      <element name="cancelledReason" elementType="FHIR.string" description="Reason for cancellation of this Invoice" definition="In case of Invoice cancellation a reason must be given (entered in error, superseded by corrected invoice etc.)." comment="Derived Profiles may choose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of Invoice" definition="Type of Invoice depending on domain, realm an usage (e.g. internal/external, dental, preliminary)."/>
      <element name="subject" elementType="FHIR.Reference" description="Recipient(s) of goods and services" definition="The individual or set of individuals receiving the goods and services billed in this invoice."/>
      <element name="recipient" elementType="FHIR.Reference" description="Recipient of this invoice" definition="The individual or Organization responsible for balancing of this invoice."/>
      <element name="date" elementType="FHIR.dateTime" description="Invoice date / posting date" definition="Date/time(s) of when this Invoice was posted." comment="The list of types may be constrained as appropriate for the type of charge item."/>
      <element name="participant" description="Participant in creation of this Invoice" definition="Indicates who or what performed or participated in the charged service.">
         <elementTypeSpecifier elementType="FHIR.Invoice.Participant" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="issuer" elementType="FHIR.Reference" description="Issuing Organization of Invoice" definition="The organizationissuing the Invoice." comment="Practitioners and Devices can be associated with multiple organizations. It has to be made clear, on behalf of which Organization the services have been rendered."/>
      <element name="account" elementType="FHIR.Reference" description="Account that is being balanced" definition="Account which is supposed to be balanced with this Invoice." comment="Systems posting the ChargeItems might not always be able to determine, which accounts the Items need to be places into. It is up to the potprocessing Financial System to apply internal rules to decide based on the Encounter/EpisodeOfCare/Patient/Coverage context and the type of ChargeItem, which Account is appropriate."/>
      <element name="lineItem" description="Line items of this Invoice" definition="Each line item represents one charge for goods and services rendered. Details such as date, code and amount are found in the referenced ChargeItem resource.">
         <elementTypeSpecifier elementType="FHIR.Invoice.LineItem" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="totalPriceComponent" description="Components of Invoice total" definition="The total amount for the Invoice may be calculated as the sum of the line items with surcharges/deductions that apply in certain conditions.  The priceComponent element can be used to offer transparency to the recipient of the Invoice of how the total price was calculated.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="Invoice.LineItem.PriceComponent" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="totalNet" elementType="FHIR.Money" description="Net total of this Invoice" definition="Invoice total , taxes excluded." comment="There is no reason to carry the price in the instance of a ChargeItem unless circumstances require a manual override. The list prices or are usually defined in a back catalogue of the billing codes  (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden."/>
      <element name="totalGross" elementType="FHIR.Money" description="Gross total of this Invoice" definition="Invoice total, tax included." comment="There is no reason to carry the price in the instance of a ChargeItem unless circumstances require a manual override. The list prices or are usually defined in a back catalogue of the billing codes  (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden."/>
      <element name="paymentTerms" elementType="FHIR.markdown" description="Payment details" definition="Payment details such as banking details, period of payment, deductibles, methods of payment." comment="Derived Profiles may chose to add invariants requiring this field to be populated if either priceOverride or factorOverride have been filled."/>
      <element name="note" description="Comments made about the invoice" definition="Comments made about the invoice by the issuer, subject, or other participants.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="actor"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="where(resolve() is Patient)"/>
      <contextRelationship context="Patient" relatedKeyElement="recipient"/>
      <contextRelationship context="Device" relatedKeyElement="actor"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="recipient"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="participant-role" path="participant.role" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="issuer" path="issuer" type="FHIR.Organization"/>
      <search name="account" path="account" type="FHIR.Account"/>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="totalgross" path="totalGross" type="System.Quantity"/>
      <search name="totalnet" path="totalNet" type="System.Quantity"/>
      <search name="participant" path="participant.actor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="recipient" path="recipient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Invoice.LineItem" retrievable="false" xsi:type="ClassInfo">
      <element name="sequence" elementType="FHIR.positiveInt" description="Sequence number of line item" definition="Sequence in which the items appear on the invoice."/>
      <element name="chargeItem" description="Reference to ChargeItem containing details of this line item or an inline billing code" definition="The ChargeItem contains information such as the billing code, date, amount etc. If no further details are required for the lineItem, inline billing codes can be added using the CodeableConcept data type instead of the Reference.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="priceComponent" description="Components of total line item price" definition="The price for a ChargeItem may be calculated as a base price with surcharges/deductions that apply in certain conditions. A ChargeItemDefinition resource that defines the prices, factors and conditions that apply to a billing code is currently under development. The priceComponent element can be used to offer transparency to the recipient of the Invoice as to how the prices have been calculated.">
         <elementTypeSpecifier elementType="FHIR.Invoice.LineItem.PriceComponent" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Invoice.LineItem.PriceComponent" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.InvoicePriceComponentType" description="base | surcharge | deduction | discount | tax | informational" definition="This code identifies the type of the component.">
         <binding name="InvoicePriceComponentType" description="Codes indicating the kind of the price component." strength="Required"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Code identifying the specific component" definition="A code that identifies the component. Codes may be used to differentiate between kinds of taxes, surcharges, discounts etc."/>
      <element name="factor" elementType="FHIR.decimal" description="Factor used for calculating this component" definition="The factor that has been applied on the base price for calculating this component." comment="There is no reason to carry the price in the instance of a ChargeItem unless circumstances require a manual override. The list prices or are usually defined in a back catalogue of the billing codes  (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden."/>
      <element name="amount" elementType="FHIR.Money" description="Monetary amount associated with this component" definition="The amount calculated for this component." comment="There is no reason to carry the price in the instance of a ChargeItem unless circumstances require a manual override. The list prices or are usually defined in a back catalogue of the billing codes  (see ChargeItem.definition). Derived profiles may require a ChargeItem.overrideReason to be provided if either factor or price are manually overridden."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Invoice.Participant" retrievable="false" xsi:type="ClassInfo">
      <element name="role" elementType="FHIR.CodeableConcept" description="Type of involvement in creation of this Invoice" definition="Describes the type of involvement (e.g. transcriptionist, creator etc.). If the invoice has been created automatically, the Participant may be a billing engine or another kind of device."/>
      <element name="actor" elementType="FHIR.Reference" description="Individual who was involved" definition="The device, practitioner, etc. who performed or participated in the service."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="InvoicePriceComponentType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="InvoiceStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="IssueSeverity" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="IssueType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Library" identifier="http://hl7.org/fhir/StructureDefinition/Library" label="Library" retrievable="true" primaryCodePath="topic" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this library, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this library 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 library is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the library 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the library" definition="A formal identifier that is used to identify this library when it is represented in other formats, or referenced in a specification, model, design or an instance. e.g. CMS or NQF identifiers for a measure artifact. Note that at least one identifier is required for non-experimental active artifacts." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this library outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the library" definition="The identifier that is used to identify this version of the library when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the library 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. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts." comment="There may be different library 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 library with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this library (computer friendly)" definition="A natural language name identifying the library. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this library (human friendly)" definition="A short, descriptive, user-friendly title for the library." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="subtitle" elementType="FHIR.string" description="Subordinate title of the library" definition="An explanatory or alternate title for the library giving additional information about its content."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this library. Enables tracking the life-cycle of the content." comment="Allows filtering of libraries that are appropriate for use vs. not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this library is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of librarys that are appropriate for use versus not."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="logic-library | model-definition | asset-collection | module-definition" definition="Identifies the type of library such as a Logic Library, Model Definition, Asset Collection, or Module Definition.">
         <binding name="LibraryType" description="The type of knowledge asset this library contains." strength="Extensible"/>
      </element>
      <element name="subject" description="Type of individual the library content is focused on" definition="A code or group definition that describes the intended subject of the contents of the library.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SubjectType" description="The possible types of subjects for a library (E.g. Patient, Practitioner, Organization, Location, etc.)." strength="Extensible"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the library 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 library 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 library. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the library." comment="Usually an organization but may be an individual. The publisher (or steward) of the library is the organization or individual primarily responsible for the maintenance and upkeep of the library. 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 library. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the library" definition="A free text natural language description of the library from a consumer's perspective." comment="This description can be used to capture details such as why the library 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 library 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 library is presumed to be the predominant language in the place the library was created)."/>
      <element name="useContext" description="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 library instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for library (if applicable)" definition="A legal or geographic region in which the library is intended to be used." comment="It may be possible for the library to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this library is defined" definition="Explanation of why this library is needed and why it has been designed as it has." comment="This element does not describe the usage of the library. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this library."/>
      <element name="usage" elementType="FHIR.string" description="Describes the clinical usage of the library" definition="A detailed description of how the library is used from a clinical perspective."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the library and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the library."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the library was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the library was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the library is expected to be used" definition="The period during which the library content was or is planned to be in active use." comment="The effective period for a library  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 might be published in 2015."/>
      <element name="topic" description="E.g. Education, Treatment, Assessment, etc." definition="Descriptive topics related to the content of the library. Topics provide a high-level categorization of the library that can be useful for filtering and searching.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DefinitionTopic" description="High-level categorization of the definition, used for searching, sorting, and filtering." strength="Example"/>
      </element>
      <element name="author" description="Who authored the content" definition="An individiual or organization primarily involved in the creation and maintenance of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="editor" description="Who edited the content" definition="An individual or organization primarily responsible for internal coherence of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reviewer" description="Who reviewed the content" definition="An individual or organization primarily responsible for review of some aspect of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endorser" description="Who endorsed the content" definition="An individual or organization responsible for officially endorsing the content for use in some setting.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedArtifact" description="Additional documentation, citations, etc." definition="Related artifacts such as additional documentation, justification, or bibliographic references." comment="Each related artifact is either an attachment, or a reference to another resource, but not both.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="parameter" description="Parameters defined by the library" definition="The parameter element defines parameters used by the library.">
         <elementTypeSpecifier elementType="FHIR.ParameterDefinition" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="dataRequirement" description="What data is referenced by this library" definition="Describes a set of data that must be provided in order to be able to successfully perform the computations defined by the library.">
         <elementTypeSpecifier elementType="FHIR.DataRequirement" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="content" description="Contents of the library, either embedded or referenced" definition="The content of the library as an Attachment. The content may be a reference to a url, or may be directly embedded as a base-64 string. Either way, the contentType of the attachment determines how to interpret the content.">
         <elementTypeSpecifier elementType="FHIR.Attachment" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="content-type" path="content.contentType" type="System.Code"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="name" path="name" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="depends-on" path="relatedArtifact.where(type='depends-on').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="version" path="version" type="System.Code"/>
      <search name="successor" path="relatedArtifact.where(type='successor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="predecessor" path="relatedArtifact.where(type='predecessor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="derived-from" path="relatedArtifact.where(type='derived-from').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="description" path="description" type="System.String"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="composed-of" path="relatedArtifact.where(type='composed-of').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="topic" path="topic" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="LinkType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Linkage" identifier="http://hl7.org/fhir/StructureDefinition/Linkage" label="Linkage" retrievable="true" xsi:type="ClassInfo">
      <element name="active" elementType="FHIR.boolean" description="Whether this linkage assertion is active or not" definition="Indicates whether the asserted set of linkages are considered to be &quot;in effect&quot;." comment="If false, any asserted linkages should not be considered current/relevant/applicable."/>
      <element name="author" elementType="FHIR.Reference" description="Who is responsible for linkages" definition="Identifies the user or organization responsible for asserting the linkages as well as the user or organization who establishes the context in which the nature of each linkage is evaluated."/>
      <element name="item" description="Item to be linked" definition="Identifies which record considered as the reference to the same real-world occurrence as well as how the items should be evaluated within the collection of linked items.">
         <elementTypeSpecifier elementType="FHIR.Linkage.Item" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="author"/>
      <search name="item" path="item.resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="source" path="item.resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="author" path="author">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Linkage.Item" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.LinkageType" description="source | alternate | historical" definition="Distinguishes which item is &quot;source of truth&quot; (if any) and which items are no longer considered to be current representations.">
         <binding name="LinkageType" description="Used to distinguish different roles a resource can play within a set of linked resources." strength="Required"/>
      </element>
      <element name="resource" elementType="FHIR.Reference" description="Resource being linked" definition="The resource instance being linked as part of the group."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="LinkageType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="List" identifier="http://hl7.org/fhir/StructureDefinition/List" label="List" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifier" definition="Identifier for the List assigned for business purposes outside the context of FHIR.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ListStatus" description="current | retired | entered-in-error" definition="Indicates the current state of this list." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="ListStatus" description="The current state of the list." strength="Required"/>
      </element>
      <element name="mode" elementType="FHIR.ListMode" description="working | snapshot | changes" definition="How this list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted." comment="This element is labeled as a modifier because a change list must not be misunderstood as a complete list.">
         <binding name="ListMode" description="The processing mode that applies to this list." strength="Required"/>
      </element>
      <element name="title" elementType="FHIR.string" description="Descriptive name for the list" definition="A label for the list assigned by the author."/>
      <element name="code" elementType="FHIR.CodeableConcept" description="What the purpose of this list is" definition="This code defines the purpose of the list - why it was created." comment="If there is no code, the purpose of the list is implied where it is used, such as in a document section using Document.section.code.">
         <binding name="ListPurpose" description="What the purpose of a list is." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="If all resources have the same subject" definition="The common subject (or patient) of the resources that are in the list if there is one." comment="Some purely arbitrary lists do not have a common subject, so this is optional."/>
      <element name="encounter" elementType="FHIR.Reference" description="Context in which list created" definition="The encounter that is the context in which this list was created."/>
      <element name="date" elementType="FHIR.dateTime" description="When the list was prepared" definition="The date that the list was prepared." comment="The actual important date is the date of currency of the resources that were summarized, but it is usually assumed that these are current when the preparation occurs."/>
      <element name="source" elementType="FHIR.Reference" description="Who and/or what defined the list contents (aka Author)" definition="The entity responsible for deciding what the contents of the list were. Where the list was created by a human, this is the same as the author of the list." comment="The primary source is the entity that made the decisions what items are in the list. This may be software or user."/>
      <element name="orderedBy" elementType="FHIR.CodeableConcept" description="What order the list has" definition="What order applies to the items in the list." comment="Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.">
         <binding name="ListOrder" description="What order applies to the items in a list." strength="Preferred"/>
      </element>
      <element name="note" description="Comments about the list" definition="Comments that apply to the overall list.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="entry" description="Entries in the list" definition="Entries in this list." comment="If there are no entries in the list, an emptyReason SHOULD be provided.">
         <elementTypeSpecifier elementType="FHIR.List.Entry" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="emptyReason" elementType="FHIR.CodeableConcept" description="Why list is empty" definition="If the list is empty, why the list is empty." comment="The various reasons for an empty list make a significant interpretation to its interpretation. Note that this code is for use when the entire list has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.">
         <binding name="ListEmptyReason" description="If a list is empty, why it is empty." strength="Preferred"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="source"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="source"/>
      <contextRelationship context="Device" relatedKeyElement="subject"/>
      <contextRelationship context="Device" relatedKeyElement="source"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="encounter" path="encounter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="code" path="code" type="System.Code"/>
      <search name="notes" path="note.text" type="System.String"/>
      <search name="empty-reason" path="emptyReason" type="System.Code"/>
      <search name="item" path="entry.item">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="source" path="source">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="title" path="title" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="List.Entry" retrievable="false" xsi:type="ClassInfo">
      <element name="flag" elementType="FHIR.CodeableConcept" description="Status/Workflow information about this item" definition="The flag allows the system constructing the list to indicate the role and significance of the item in the list." comment="The flag can only be understood in the context of the List.code. If the flag means that the entry has actually been deleted from the list, the deleted element SHALL be true. Deleted can only be used if the List.mode is &quot;changes&quot;.">
         <binding name="ListItemFlag" description="Codes that provide further information about the reason and meaning of the item in the list." strength="Example"/>
      </element>
      <element name="deleted" elementType="FHIR.boolean" description="If this item is actually marked as deleted" definition="True if this item is marked as deleted in the list." comment="If the flag means that the entry has actually been deleted from the list, the deleted element SHALL be true. Both flag and deleted can only be used if the List.mode is &quot;changes&quot;. A deleted entry should be displayed in narrative as deleted.  This element is labeled as a modifier because it indicates that an item is (to be) no longer in the list."/>
      <element name="date" elementType="FHIR.dateTime" description="When item added to list" definition="When this item was added to the list."/>
      <element name="item" elementType="FHIR.Reference" description="Actual entry" definition="A reference to the actual resource from which data was derived."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ListMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ListStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Location" identifier="http://hl7.org/fhir/StructureDefinition/Location" label="Location" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" description="Unique code or number identifying the location to its users" definition="Unique code or number identifying the location to its users.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.LocationStatus" description="active | suspended | inactive" definition="The status property covers the general availability of the resource, not the current value which may be covered by the operationStatus, or by a schedule/slots if they are configured for the location.">
         <binding name="LocationStatus" description="Indicates whether the location is still in use." strength="Required"/>
      </element>
      <element name="operationalStatus" elementType="FHIR.Coding" description="The operational status of the location (typically only for a bed/room)" definition="The operational status covers operation values most relevant to beds (but can also apply to rooms/units/chairs/etc. such as an isolation unit/dialysis chair). This typically covers concepts such as contamination, housekeeping, and other activities like maintenance.">
         <binding name="OperationalStatus" description="The operational status if the location (where typically a bed/room)." strength="Preferred"/>
      </element>
      <element name="name" elementType="FHIR.string" description="Name of the location as used by humans" definition="Name of the location as used by humans. Does not need to be unique." comment="If the name of a location changes, consider putting the old name in the alias column so that it can still be located through searches."/>
      <element name="alias" description="A list of alternate names that the location is known as, or was known as, in the past" definition="A list of alternate names that the location is known as, or was known as, in the past." comment="There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the location.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Additional details about the location that could be displayed as further information to identify the location beyond its name" definition="Description of the Location, which helps in finding or referencing the place."/>
      <element name="mode" elementType="FHIR.LocationMode" description="instance | kind" definition="Indicates whether a resource instance represents a specific location or a class of locations." comment="This is labeled as a modifier because whether or not the location is a class of locations changes how it can be used and understood.">
         <binding name="LocationMode" description="Indicates whether a resource instance represents a specific location or a class of locations." strength="Required"/>
      </element>
      <element name="type" description="Type of function performed" definition="Indicates the type of function performed at the location.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="LocationType" description="Indicates the type of function performed at the location." strength="Extensible"/>
      </element>
      <element name="telecom" description="Contact details of the location" definition="The contact details of communication devices available at the location. This can include phone numbers, fax numbers, mobile numbers, email addresses and web sites.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="address" elementType="FHIR.Address" description="Physical location" definition="Physical location." comment="Additional addresses should be recorded using another instance of the Location resource, or via the Organization."/>
      <element name="physicalType" elementType="FHIR.CodeableConcept" description="Physical form of the location" definition="Physical form of the location, e.g. building, room, vehicle, road.">
         <binding name="PhysicalType" description="Physical form of the location." strength="Example"/>
      </element>
      <element name="position" elementType="FHIR.Location.Position" description="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)."/>
      <element name="managingOrganization" elementType="FHIR.Reference" description="Organization responsible for provisioning and upkeep" definition="The organization responsible for the provisioning and upkeep of the location." comment="This can also be used as the part of the organization hierarchy where this location provides services. These services can be defined through the HealthcareService resource."/>
      <element name="partOf" elementType="FHIR.Reference" description="Another Location this one is physically a part of" definition="Another Location of which this Location is physically a part of."/>
      <element name="hoursOfOperation" description="What days/times during a week is this location usually open" definition="What days/times during a week is this location usually open." comment="This type of information is commonly found published in directories and on websites informing customers when the facility is available.&#xa;&#xa;Specific services within the location may have their own hours which could be shorter (or longer) than the locations hours.">
         <elementTypeSpecifier elementType="FHIR.Location.HoursOfOperation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="availabilityExceptions" elementType="FHIR.string" description="Description of availability exceptions" definition="A description of when the locations opening ours are different to normal, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as detailed in the opening hours Times."/>
      <element name="endpoint" description="Technical endpoints providing access to services operated for the location" definition="Technical endpoints providing access to services operated for the location.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="address-use" path="address.use" type="System.Code"/>
      <search name="address-postalcode" path="address.postalCode" type="System.String"/>
      <search name="organization" path="managingOrganization" type="FHIR.Organization"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="address-state" path="address.state" type="System.String"/>
      <search name="near" path="position" type="System.Any"/>
      <search name="endpoint" path="endpoint" type="FHIR.Endpoint"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="name" path="name|alias" type="System.String"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="partof" path="partOf" type="FHIR.Location"/>
      <search name="operational-status" path="operationalStatus" type="System.Code"/>
      <search name="address-city" path="address.city" type="System.String"/>
      <search name="address" path="address" type="System.String"/>
      <search name="address-country" path="address.country" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Location.HoursOfOperation" retrievable="false" xsi:type="ClassInfo">
      <element name="daysOfWeek" description="mon | tue | wed | thu | fri | sat | sun" definition="Indicates which days of the week are available between the start and end Times.">
         <elementTypeSpecifier elementType="FHIR.DaysOfWeek" xsi:type="ListTypeSpecifier"/>
         <binding name="DaysOfWeek" description="The days of the week." strength="Required"/>
      </element>
      <element name="allDay" elementType="FHIR.boolean" description="The Location is open all day" definition="The Location is open all day."/>
      <element name="openingTime" elementType="FHIR.time" description="Time that the Location opens" definition="Time that the Location opens."/>
      <element name="closingTime" elementType="FHIR.time" description="Time that the Location closes" definition="Time that the Location closes."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Location.Position" retrievable="false" xsi:type="ClassInfo">
      <element name="longitude" elementType="FHIR.decimal" description="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)."/>
      <element name="latitude" elementType="FHIR.decimal" description="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)."/>
      <element name="altitude" elementType="FHIR.decimal" description="Altitude with WGS84 datum" definition="Altitude. The value domain and the interpretation are the same as for the text of the altitude element in KML (see notes below)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="LocationMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="LocationStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MarketingStatus" identifier="http://hl7.org/fhir/StructureDefinition/MarketingStatus" label="MarketingStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="country" elementType="FHIR.CodeableConcept" description="The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements" definition="The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements."/>
      <element name="jurisdiction" elementType="FHIR.CodeableConcept" description="Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified" definition="Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified."/>
      <element name="status" elementType="FHIR.CodeableConcept" description="This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples" definition="This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples."/>
      <element name="dateRange" elementType="FHIR.Period" description="The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain" definition="The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain."/>
      <element name="restoreDate" elementType="FHIR.dateTime" description="The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain" definition="The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Measure" identifier="http://hl7.org/fhir/StructureDefinition/Measure" label="Measure" retrievable="true" primaryCodePath="topic" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this measure, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this measure 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 measure is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the measure 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the measure" definition="A formal identifier that is used to identify this measure when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this measure outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the measure" definition="The identifier that is used to identify this version of the measure when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the measure 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. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts." comment="There may be different measure 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 measure with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this measure (computer friendly)" definition="A natural language name identifying the measure. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this measure (human friendly)" definition="A short, descriptive, user-friendly title for the measure." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="subtitle" elementType="FHIR.string" description="Subordinate title of the measure" definition="An explanatory or alternate title for the measure giving additional information about its content."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this measure. Enables tracking the life-cycle of the content." comment="Allows filtering of measures that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this measure is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of measures that are appropriate for use versus not."/>
      <element name="subject" description="E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device" definition="The intended subjects for the measure. If this element is not provided, a Patient subject is assumed, but the subject of the measure can be anything." comment="The subject of the measure is critical in interpreting the criteria definitions, as the logic in the measures is evaluated with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what content is available based on its relationship to the subject. In CQL, this corresponds to the context declaration.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SubjectType" description="The possible types of subjects for a measure (E.g. Patient, Practitioner, Organization, Location, etc.)." strength="Extensible"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the measure 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 measure 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 measure. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the measure." comment="Usually an organization but may be an individual. The publisher (or steward) of the measure is the organization or individual primarily responsible for the maintenance and upkeep of the measure. 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 measure. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the measure" definition="A free text natural language description of the measure from a consumer's perspective." comment="This description can be used to capture details such as why the measure 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 measure 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 measure is presumed to be the predominant language in the place the measure was created)."/>
      <element name="useContext" description="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 measure instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for measure (if applicable)" definition="A legal or geographic region in which the measure is intended to be used." comment="It may be possible for the measure to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this measure is defined" definition="Explanation of why this measure is needed and why it has been designed as it has." comment="This element does not describe the usage of the measure. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this measure."/>
      <element name="usage" elementType="FHIR.string" description="Describes the clinical usage of the measure" definition="A detailed description, from a clinical perspective, of how the measure is used."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the measure and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the measure."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the measure was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the measure was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the measure is expected to be used" definition="The period during which the measure content was or is planned to be in active use." comment="The effective period for a measure  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 might be published in 2015."/>
      <element name="topic" description="The category of the measure, such as Education, Treatment, Assessment, etc." definition="Descriptive topics related to the content of the measure. Topics provide a high-level categorization grouping types of measures that can be useful for filtering and searching.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DefinitionTopic" description="High-level categorization of the definition, used for searching, sorting, and filtering." strength="Example"/>
      </element>
      <element name="author" description="Who authored the content" definition="An individiual or organization primarily involved in the creation and maintenance of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="editor" description="Who edited the content" definition="An individual or organization primarily responsible for internal coherence of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reviewer" description="Who reviewed the content" definition="An individual or organization primarily responsible for review of some aspect of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endorser" description="Who endorsed the content" definition="An individual or organization responsible for officially endorsing the content for use in some setting.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedArtifact" description="Additional documentation, citations, etc." definition="Related artifacts such as additional documentation, justification, or bibliographic references." comment="Each related artifact is either an attachment, or a reference to another resource, but not both.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="library" description="Logic used by the measure" definition="A reference to a Library resource containing the formal logic used by the measure.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="disclaimer" elementType="FHIR.markdown" description="Disclaimer for use of the measure or its referenced content" definition="Notices and disclaimers regarding the use of the measure or related to intellectual property (such as code systems) referenced by the measure."/>
      <element name="scoring" elementType="FHIR.CodeableConcept" description="proportion | ratio | continuous-variable | cohort" definition="Indicates how the calculation is performed for the measure, including proportion, ratio, continuous-variable, and cohort. The value set is extensible, allowing additional measure scoring types to be represented.">
         <binding name="MeasureScoring" description="The scoring type of the measure." strength="Extensible"/>
      </element>
      <element name="compositeScoring" elementType="FHIR.CodeableConcept" description="opportunity | all-or-nothing | linear | weighted" definition="If this is a composite measure, the scoring method used to combine the component measures to determine the composite score.">
         <binding name="CompositeMeasureScoring" description="The composite scoring method of the measure." strength="Extensible"/>
      </element>
      <element name="type" description="process | outcome | structure | patient-reported-outcome | composite" definition="Indicates whether the measure is used to examine a process, an outcome over time, a patient-reported outcome, or a structure measure such as utilization.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="MeasureType" description="The type of measure (includes codes from 2.16.840.1.113883.1.11.20368)." strength="Extensible"/>
      </element>
      <element name="riskAdjustment" elementType="FHIR.string" description="How risk adjustment is applied for this measure" definition="A description of the risk adjustment factors that may impact the resulting score for the measure and how they may be accounted for when computing and reporting measure results." comment="Describes the method of adjusting for clinical severity and conditions present at the start of care that can influence patient outcomes for making valid comparisons of outcome measures across providers. Indicates whether a measure is subject to the statistical process for reducing, removing, or clarifying the influences of confounding factors to allow for more useful comparisons."/>
      <element name="rateAggregation" elementType="FHIR.string" description="How is rate aggregation performed for this measure" definition="Describes how to combine the information calculated, based on logic in each of several populations, into one summarized result." comment="The measure rate for an organization or clinician is based upon the entities’ aggregate data and summarizes the performance of the entity over a given time period (e.g., monthly, quarterly, yearly). The aggregated data are derived from the results of a specific measure algorithm and, if appropriate, the application of specific risk adjustment models.  Can also be used to describe how to risk adjust the data based on supplemental data elements described in the eMeasure (e.g., pneumonia hospital measures antibiotic selection in the ICU versus non-ICU and then the roll-up of the two). This could be applied to aggregated cohort measure definitions (e.g., CDC's aggregate reporting for TB at the state level)."/>
      <element name="rationale" elementType="FHIR.markdown" description="Detailed description of why the measure exists" definition="Provides a succinct statement of the need for the measure. Usually includes statements pertaining to importance criterion: impact, gap in care, and evidence."/>
      <element name="clinicalRecommendationStatement" elementType="FHIR.markdown" description="Summary of clinical guidelines" definition="Provides a summary of relevant clinical guidelines or other clinical recommendations supporting the measure."/>
      <element name="improvementNotation" elementType="FHIR.CodeableConcept" description="increase | decrease" definition="Information on whether an increase or decrease in score is the preferred result (e.g., a higher score indicates better quality OR a lower score indicates better quality OR quality is within a range).">
         <binding name="MeasureImprovementNotation" description="Observation values that indicate what change in a measurement value or score is indicative of an improvement in the measured item or scored issue." strength="Required"/>
      </element>
      <element name="definition" description="Defined terms used in the measure documentation" definition="Provides a description of an individual term used within the measure.">
         <elementTypeSpecifier elementType="FHIR.markdown" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="guidance" elementType="FHIR.markdown" description="Additional guidance for implementers" definition="Additional guidance for the measure including how it can be used in a clinical context, and the intent of the measure."/>
      <element name="group" description="Population criteria group" definition="A group of population criteria for the measure.">
         <elementTypeSpecifier elementType="FHIR.Measure.Group" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="supplementalData" description="What other data should be reported with the measure" definition="The supplemental data criteria for the measure report, specified as either the name of a valid CQL expression within a referenced library, or a valid FHIR Resource Path." comment="Note that supplemental data are reported as observations for each patient and included in the evaluatedResources bundle. See the MeasureReport resource or the Quality Reporting topic for more information.">
         <elementTypeSpecifier elementType="FHIR.Measure.SupplementalData" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="composed-of" path="relatedArtifact.where(type='composed-of').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="title" path="title" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="successor" path="relatedArtifact.where(type='successor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="topic" path="topic" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="derived-from" path="relatedArtifact.where(type='derived-from').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="description" path="description" type="System.String"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="depends-on" path="relatedArtifact.where(type='depends-on').resource|library">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="version" path="version" type="System.Code"/>
      <search name="name" path="name" type="System.String"/>
      <search name="predecessor" path="relatedArtifact.where(type='predecessor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Measure.Group" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Meaning of the group" definition="Indicates a meaning for the group. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing groups to be correlated across measures."/>
      <element name="description" elementType="FHIR.string" description="Summary description" definition="The human readable description of this population group."/>
      <element name="population" description="Population criteria" definition="A population criteria for the measure.">
         <elementTypeSpecifier elementType="FHIR.Measure.Group.Population" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="stratifier" description="Stratifier criteria for the measure" definition="The stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path.">
         <elementTypeSpecifier elementType="FHIR.Measure.Group.Stratifier" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Measure.Group.Population" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation" definition="The type of population criteria.">
         <binding name="MeasurePopulationType" description="The type of population." strength="Extensible"/>
      </element>
      <element name="description" elementType="FHIR.string" description="The human readable description of this population criteria" definition="The human readable description of this population criteria."/>
      <element name="criteria" elementType="FHIR.Expression" description="The criteria that defines this population" definition="An expression that specifies the criteria for the population, typically the name of an expression in a library." comment="In the case of a continuous-variable or ratio measure, this may be the name of a function that calculates the value of the individual observation for each patient or event in the population. For these types of measures, individual observations are reported as observation resources included in the evaluatedResources bundle for each patient. See the MeasureReport resource or the Quality Reporting topic for more information."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Measure.Group.Stratifier" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Meaning of the stratifier" definition="Indicates a meaning for the stratifier. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures."/>
      <element name="description" elementType="FHIR.string" description="The human readable description of this stratifier" definition="The human readable description of this stratifier criteria."/>
      <element name="criteria" elementType="FHIR.Expression" description="How the measure should be stratified" definition="An expression that specifies the criteria for the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element."/>
      <element name="component" description="Stratifier criteria component for the measure" definition="A component of the stratifier criteria for the measure report, specified as either the name of a valid CQL expression defined within a referenced library or a valid FHIR Resource Path." comment="Stratifiers are defined either as a single criteria, or as a set of component criteria.">
         <elementTypeSpecifier elementType="FHIR.Measure.Group.Stratifier.Component" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Measure.Group.Stratifier.Component" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Meaning of the stratifier component" definition="Indicates a meaning for the stratifier component. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing stratifiers to be correlated across measures."/>
      <element name="description" elementType="FHIR.string" description="The human readable description of this stratifier component" definition="The human readable description of this stratifier criteria component."/>
      <element name="criteria" elementType="FHIR.Expression" description="Component of how the measure should be stratified" definition="An expression that specifies the criteria for this component of the stratifier. This is typically the name of an expression defined within a referenced library, but it may also be a path to a stratifier element."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Measure.SupplementalData" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Meaning of the supplemental data" definition="Indicates a meaning for the supplemental data. This can be as simple as a unique identifier, or it can establish meaning in a broader context by drawing from a terminology, allowing supplemental data to be correlated across measures."/>
      <element name="usage" description="supplemental-data | risk-adjustment-factor" definition="An indicator of the intended usage for the supplemental data element. Supplemental data indicates the data is additional information requested to augment the measure information. Risk adjustment factor indicates the data is additional information used to calculate risk adjustment factors when applying a risk model to the measure calculation.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="MeasureDataUsage" description="The intended usage for supplemental data elements in the measure." strength="Extensible"/>
      </element>
      <element name="description" elementType="FHIR.string" description="The human readable description of this supplemental data" definition="The human readable description of this supplemental data."/>
      <element name="criteria" elementType="FHIR.Expression" description="Expression describing additional data to be reported" definition="The criteria for the supplemental data. This is typically the name of a valid expression defined within a referenced library, but it may also be a path to a specific data element. The criteria defines the data to be returned for this element."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MeasureReport" identifier="http://hl7.org/fhir/StructureDefinition/MeasureReport" label="MeasureReport" retrievable="true" primaryCodePath="measure.topic" xsi:type="ClassInfo">
      <element name="identifier" description="Additional identifier for the MeasureReport" definition="A formal identifier that is used to identify this MeasureReport when it is represented in other formats or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II data type - e.g. to identify this {{title}} outside of FHIR, where the logical URL is not possible to use.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.MeasureReportStatus" description="complete | pending | error" definition="The MeasureReport status. No data will be available until the MeasureReport status is complete." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="MeasureReportStatus" description="The status of the measure report." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.MeasureReportType" description="individual | subject-list | summary | data-collection" definition="The type of measure report. This may be an individual report, which provides the score for the measure for an individual member of the population; a subject-listing, which returns the list of members that meet the various criteria in the measure; a summary report, which returns a population count for each of the criteria in the measure; or a data-collection, which enables the MeasureReport to be used to exchange the data-of-interest for a quality measure." comment="Data-collection reports are used only to communicate data-of-interest for a measure. They do not necessarily include all the data for a particular subject or population, but they may.">
         <binding name="MeasureReportType" description="The type of the measure report." strength="Required"/>
      </element>
      <element name="measure" elementType="FHIR.canonical" description="What measure was calculated" definition="A reference to the Measure that was calculated to produce this report."/>
      <element name="subject" elementType="FHIR.Reference" description="What individual(s) the report is for" definition="Optional subject identifying the individual or individuals the report is for."/>
      <element name="date" elementType="FHIR.dateTime" description="When the report was generated" definition="The date this measure report was generated."/>
      <element name="reporter" elementType="FHIR.Reference" description="Who is reporting the data" definition="The individual, location, or organization that is reporting the data."/>
      <element name="period" elementType="FHIR.Period" description="What period the report covers" definition="The reporting period for which the report was calculated."/>
      <element name="improvementNotation" elementType="FHIR.CodeableConcept" description="increase | decrease" definition="Whether improvement in the measure is noted by an increase or decrease in the measure score." comment="This element is typically defined by the measure, but reproduced here to ensure the measure score can be interpreted. The element is labeled as a modifier because it changes the interpretation of the reported measure score.">
         <binding name="MeasureImprovementNotation" description="Observation values that indicate what change in a measurement value or score is indicative of an improvement in the measured item or scored issue." strength="Required"/>
      </element>
      <element name="group" description="Measure results for each group" definition="The results of the calculation, one for each population group in the measure.">
         <elementTypeSpecifier elementType="FHIR.MeasureReport.Group" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="evaluatedResource" description="What data was used to calculate the measure score" definition="A reference to a Bundle containing the Resources that were used in the calculation of this measure.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Patient" relatedKeyElement="where(resolve() is Patient)"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="measure" path="measure" type="FHIR.Measure"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="reporter" path="reporter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="evaluated-resource" path="evaluatedResource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="period" path="period" type="System.DateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MeasureReport.Group" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Meaning of the group" definition="The meaning of the population group as defined in the measure definition."/>
      <element name="population" description="The populations in the group" definition="The populations that make up the population group, one for each type of population appropriate for the measure.">
         <elementTypeSpecifier elementType="FHIR.MeasureReport.Group.Population" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="measureScore" elementType="FHIR.Quantity" description="What score this group achieved" definition="The measure score for this population group, calculated as appropriate for the measure type and scoring method, and based on the contents of the populations defined in the group."/>
      <element name="stratifier" description="Stratification results" definition="When a measure includes multiple stratifiers, there will be a stratifier group for each stratifier defined by the measure.">
         <elementTypeSpecifier elementType="FHIR.MeasureReport.Group.Stratifier" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MeasureReport.Group.Population" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation" definition="The type of the population.">
         <binding name="MeasurePopulation" description="The type of population (e.g. initial, numerator, denominator, etc.)." strength="Extensible"/>
      </element>
      <element name="count" elementType="FHIR.integer" description="Size of the population" definition="The number of members of the population."/>
      <element name="subjectResults" elementType="FHIR.Reference" description="For subject-list reports, the subject results in this population" definition="This element refers to a List of subject level MeasureReport resources, one for each subject in this population."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MeasureReport.Group.Stratifier" retrievable="false" xsi:type="ClassInfo">
      <element name="code" description="What stratifier of the group" definition="The meaning of this stratifier, as defined in the measure definition.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="stratum" description="Stratum results, one for each unique value, or set of values, in the stratifier, or stratifier components" definition="This element contains the results for a single stratum within the stratifier. For example, when stratifying on administrative gender, there will be four strata, one for each possible gender value.">
         <elementTypeSpecifier elementType="FHIR.MeasureReport.Group.Stratifier.Stratum" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MeasureReport.Group.Stratifier.Stratum" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="FHIR.CodeableConcept" description="The stratum value, e.g. male" definition="The value for this stratum, expressed as a CodeableConcept. When defining stratifiers on complex values, the value must be rendered such that the value for each stratum within the stratifier is unique."/>
      <element name="component" description="Stratifier component values" definition="A stratifier component value.">
         <elementTypeSpecifier elementType="FHIR.MeasureReport.Group.Stratifier.Stratum.Component" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="population" description="Population results in this stratum" definition="The populations that make up the stratum, one for each type of population appropriate to the measure.">
         <elementTypeSpecifier elementType="FHIR.MeasureReport.Group.Stratifier.Stratum.Population" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="measureScore" elementType="FHIR.Quantity" description="What score this stratum achieved" definition="The measure score for this stratum, calculated as appropriate for the measure type and scoring method, and based on only the members of this stratum."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MeasureReport.Group.Stratifier.Stratum.Component" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="What stratifier component of the group" definition="The code for the stratum component value."/>
      <element name="value" elementType="FHIR.CodeableConcept" description="The stratum component value, e.g. male" definition="The stratum component value."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MeasureReport.Group.Stratifier.Stratum.Population" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation" definition="The type of the population.">
         <binding name="MeasurePopulation" description="The type of population (e.g. initial, numerator, denominator, etc.)." strength="Extensible"/>
      </element>
      <element name="count" elementType="FHIR.integer" description="Size of the population" definition="The number of members of the population in this stratum."/>
      <element name="subjectResults" elementType="FHIR.Reference" description="For subject-list reports, the subject results in this population" definition="This element refers to a List of subject level MeasureReport resources, one for each subject in this population in this stratum."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MeasureReportStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MeasureReportType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Media" identifier="http://hl7.org/fhir/StructureDefinition/Media" label="Media" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Identifier(s) for the image" definition="Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers." comment="The identifier label and use can be used to determine what kind of identifier it is.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="Procedure that caused this media to be created" definition="A procedure that is fulfilled in whole or in part by the creation of this media.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" description="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 Media.encounter for that.&#xd;&#xd;[The allowed reference resources may be adjusted as appropriate for the event resource].">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.MediaStatus" description="preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown" definition="The current state of the {{title}}." comment="A nominal state-transition diagram can be found in the [[event.html#statemachine | Event pattern]] documentation&#xd;&#xd;Unknown does not represent &quot;other&quot; - one of the defined statuses must apply.  Unknown is used when the authoring system is not sure what the current status is.">
         <binding name="MediaStatus" description="Codes identifying the lifecycle stage of an event." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Classification of media as image, video, or audio" definition="A code that classifies whether the media is an image, video or audio recording or some other media category.">
         <binding name="MediaType" description="Codes for high level media categories." strength="Extensible"/>
      </element>
      <element name="modality" elementType="FHIR.CodeableConcept" description="The type of acquisition equipment/process" definition="Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality.">
         <binding name="MediaModality" description="Detailed information about the type of the image - its kind, purpose, or the kind of equipment used to generate it." strength="Example"/>
      </element>
      <element name="view" elementType="FHIR.CodeableConcept" description="Imaging view, e.g. Lateral or Antero-posterior" definition="The name of the imaging view e.g. Lateral or Antero-posterior (AP).">
         <binding name="MediaView" description="Imaging view (projection) used when collecting an image." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who/What this Media is a record of" definition="Who/What this Media is a record of."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter associated with media" definition="The encounter that establishes the context for this media." comment="This will typically be the encounter the media occurred within."/>
      <element name="created" description="When Media was collected" definition="The date and time(s) at which the media was collected.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="issued" elementType="FHIR.instant" description="Date/Time this version was made available" definition="The date and time this version of the media was made available to providers, typically after having been reviewed." comment="It may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that does not require the new version to be reviewed and verified again."/>
      <element name="operator" elementType="FHIR.Reference" description="The person who generated the image" definition="The person who administered the collection of the image."/>
      <element name="reasonCode" description="Why was event performed?" definition="Describes why the event occurred in coded or textual form." comment="Textual reasons can be captured using reasonCode.text.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="MediaReason" description="The reason for the media." strength="Example"/>
      </element>
      <element name="bodySite" elementType="FHIR.CodeableConcept" description="Observed body part" definition="Indicates the site on the subject's body where the observation was made (i.e. the target site)." comment="Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.   &#xa;&#xa;If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](extension-bodysite.html).">
         <binding name="BodySite" description="Codes describing anatomical locations. May include laterality." strength="Example"/>
      </element>
      <element name="deviceName" elementType="FHIR.string" description="Name of the device/manufacturer" definition="The name of the device / manufacturer of the device  that was used to make the recording."/>
      <element name="device" elementType="FHIR.Reference" description="Observing Device" definition="The device used to collect the media." comment="An extension should be used if further typing of the device is needed.  Secondary devices used to support collecting a media can be represented using either extension or through the Observation.related element."/>
      <element name="height" elementType="FHIR.positiveInt" description="Height of the image in pixels (photo/video)" definition="Height of the image in pixels (photo/video)."/>
      <element name="width" elementType="FHIR.positiveInt" description="Width of the image in pixels (photo/video)" definition="Width of the image in pixels (photo/video)."/>
      <element name="frames" elementType="FHIR.positiveInt" description="Number of frames if > 1 (photo)" definition="The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required." comment="if the number of frames is not supplied, the value may be unknown. Applications should not assume that there is only one frame unless it is explicitly stated."/>
      <element name="duration" elementType="FHIR.decimal" description="Length in seconds (audio / video)" definition="The duration of the recording in seconds - for audio and video." comment="The duration might differ from occurrencePeriod if recording was paused."/>
      <element name="content" elementType="FHIR.Attachment" description="Actual Media - reference or data" definition="The actual content of the media - inline or by direct reference to the media source file." comment="Recommended content types: image/jpeg, image/png, image/tiff, video/mpeg, audio/mp4, application/dicom. Application/dicom can contain the transfer syntax as a parameter.  For media that covers a period of time (video/sound), the content.creationTime is the end time. Creation time is used for tracking, organizing versions and searching."/>
      <element name="note" description="Comments made about the media" definition="Comments made about the media by the performer, subject or other participants." comment="Not to be used for observations, conclusions, etc. Instead use an [Observation](observation.html) based on the Media/ImagingStudy resource.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="subject"/>
      <contextRelationship context="Practitioner" relatedKeyElement="operator"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="subject"/>
      <search name="view" path="view" type="System.Code"/>
      <search name="device" path="device">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="created" path="created" type="System.DateTime"/>
      <search name="encounter" path="encounter" type="FHIR.Encounter"/>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="site" path="bodySite" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="modality" path="modality" type="System.Code"/>
      <search name="operator" path="operator">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="based-on" path="basedOn">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MediaStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Medication" identifier="http://hl7.org/fhir/StructureDefinition/Medication" label="Medication" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifier for this medication" definition="Business identifier for this medication." comment="The serial number could be included as an identifier.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Codes that identify this medication" definition="A code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems." comment="Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true.  As described in the coding datatype: &quot;A coding may be marked as a &quot;userSelected&quot; if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. Other codes can only be literal translations to alternative code systems, or codes at a lower level of granularity (e.g. a generic code for a vendor-specific primary one).">
         <binding name="MedicationFormalRepresentation" description="A coded concept that defines the type of a medication." strength="Example"/>
      </element>
      <element name="status" elementType="FHIR.MedicationStatus" description="active | inactive | entered-in-error" definition="A code to indicate if the medication is in active use." comment="This status is intended to identify if the medication in a local system is in active use within a drug database or inventory.  For example, a pharmacy system may create a new drug file record for a compounded product &quot;ABC Hospital Special Cream&quot; with an active status.  At some point in the future, it may be determined that the drug record was created with an error and the status is changed to &quot;entered in error&quot;.   This status is not intended to specify if a medication is part of a particular formulary.  It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.">
         <binding name="MedicationStatus" description="A coded concept defining if the medication is in active use." strength="Required"/>
      </element>
      <element name="manufacturer" elementType="FHIR.Reference" description="Manufacturer of the item" definition="Describes the details of the manufacturer of the medication product.  This is not intended to represent the distributor of a medication product."/>
      <element name="form" elementType="FHIR.CodeableConcept" description="powder | tablets | capsule +" definition="Describes the form of the item.  Powder; tablets; capsule." comment="When Medication is referenced from MedicationRequest, this is the ordered form.  When Medication is referenced within MedicationDispense, this is the dispensed form.  When Medication is referenced within MedicationAdministration, this is administered form.">
         <binding name="MedicationForm" description="A coded concept defining the form of a medication." strength="Example"/>
      </element>
      <element name="amount" elementType="FHIR.Ratio" description="Amount of drug in package" definition="Specific amount of the drug in the packaged product.  For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.)."/>
      <element name="ingredient" description="Active or inactive ingredient" definition="Identifies a particular constituent of interest in the product." comment="The ingredients need not be a complete list.  If an ingredient is not specified, this does not indicate whether an ingredient is present or absent.  If an ingredient is specified it does not mean that all ingredients are specified.  It is possible to specify both inactive and active ingredients.">
         <elementTypeSpecifier elementType="FHIR.Medication.Ingredient" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="batch" elementType="FHIR.Medication.Batch" description="Details about packaged medications" definition="Information that only applies to packages (not products)."/>
      <search name="lot-number" path="batch.lotNumber" type="System.Code"/>
      <search name="code" path="code" type="System.Code"/>
      <search name="expiration-date" path="batch.expirationDate" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="manufacturer" path="manufacturer" type="FHIR.Organization"/>
      <search name="form" path="form" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Medication.Batch" retrievable="false" xsi:type="ClassInfo">
      <element name="lotNumber" elementType="FHIR.string" description="Identifier assigned to batch" definition="The assigned lot number of a batch of the specified product."/>
      <element name="expirationDate" elementType="FHIR.dateTime" description="When batch will expire" definition="When this specific batch of product will expire."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Medication.Ingredient" retrievable="false" xsi:type="ClassInfo">
      <element name="item" description="The actual ingredient or content" definition="The actual ingredient - either a substance (simple ingredient) or another medication of a medication.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="isActive" elementType="FHIR.boolean" description="Active ingredient indicator" definition="Indication of whether this ingredient affects the therapeutic action of the drug."/>
      <element name="strength" elementType="FHIR.Ratio" description="Quantity of ingredient present" definition="Specifies how many (or how much) of the items there are in this Medication.  For example, 250 mg per tablet.  This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicationAdministration" identifier="http://hl7.org/fhir/StructureDefinition/MedicationAdministration" label="MedicationAdministration" retrievable="true" primaryCodePath="medication" xsi:type="ClassInfo">
      <element name="identifier" description="External identifier" definition="Identifiers associated with this Medication Administration that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiates" description="Instantiates protocol or definition" definition="A protocol, guideline, orderset, or other definition that was adhered to in whole or in part by this event.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" description="Part of referenced event" definition="A larger event of which this particular event is a component or step.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.MedicationAdministrationStatus" description="in-progress | not-done | on-hold | completed | entered-in-error | stopped | unknown" definition="Will generally be set to show that the administration has been completed.  For some long running administrations such as infusions, it is possible for an administration to be started but not completed or it may be paused while some other process is under way." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="MedicationAdministrationStatus" description="A set of codes indicating the current status of a MedicationAdministration." strength="Required"/>
      </element>
      <element name="statusReason" description="Reason administration not performed" definition="A code indicating why the administration was not performed.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="MedicationAdministrationNegationReason" description="A set of codes indicating the reason why the MedicationAdministration is negated." strength="Example"/>
      </element>
      <element name="category" elementType="FHIR.CodeableConcept" description="Type of medication usage" definition="Indicates where the medication is expected to be consumed or administered.">
         <binding name="MedicationAdministrationCategory" description="A coded concept describing where the medication administered is expected to occur." strength="Preferred"/>
      </element>
      <element name="medication" description="What was administered" definition="Identifies the medication that was administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications." comment="If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended.  For example, if you require form or lot number, then you must reference the Medication resource.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="MedicationCode" description="Codes identifying substance or product that can be administered." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who received medication" definition="The person or animal or group receiving the medication."/>
      <element name="context" elementType="FHIR.Reference" description="Encounter or Episode of Care administered as part of" definition="The visit, admission, or other contact between patient and health care provider during which the medication administration was performed."/>
      <element name="supportingInformation" description="Additional information to support administration" definition="Additional information (for example, patient height and weight) that supports the administration of the medication.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="effective" description="Start and end time of administration" definition="A specific date/time or interval of time during which the administration took place (or did not take place, when the 'notGiven' attribute is true). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="performer" description="Who performed the medication administration and what they did" definition="Indicates who or what performed the medication administration and how they were involved.">
         <elementTypeSpecifier elementType="FHIR.MedicationAdministration.Performer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reasonCode" description="Reason administration performed" definition="A code indicating why the medication was given.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="MedicationAdministrationReason" description="A set of codes indicating the reason why the MedicationAdministration was made." strength="Example"/>
      </element>
      <element name="reasonReference" description="Condition or observation that supports why the medication was administered" definition="Condition or observation that supports why the medication was administered." comment="This is a reference to a condition that is the reason for the medication request.  If only a code exists, use reasonCode.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="request" elementType="FHIR.Reference" description="Request administration performed against" definition="The original request, instruction or authority to perform the administration." comment="This is a reference to the MedicationRequest  where the intent is either order or instance-order.  It should not reference MedicationRequests where the intent is any other value."/>
      <element name="device" description="Device used to administer" definition="The device used in administering the medication to the patient.  For example, a particular infusion pump.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Information about the administration" definition="Extra information about the medication administration that is not conveyed by the other attributes.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="dosage" elementType="FHIR.MedicationAdministration.Dosage" description="Details of how medication was taken" definition="Describes the medication dosage information details e.g. dose, rate, site, route, etc.">
         <constraint name="mad-1" severity="ERROR" message="SHALL have at least one of dosage.dose or dosage.rate[x]">
            <expression language="text/fhirpath" expression="dose.exists() or rate.exists()"/>
         </constraint>
      </element>
      <element name="eventHistory" description="A list of events of interest in the lifecycle" definition="A summary of the events of interest that have occurred, such as when the administration was verified." comment="This might not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the Provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="actor"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Patient" relatedKeyElement="actor"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Encounter" relatedKeyElement="context"/>
      <contextRelationship context="Device" relatedKeyElement="device"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="actor"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="performer" path="performer.actor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="reason-not-given" path="statusReason" type="System.Code"/>
      <search name="device" path="device" type="FHIR.Device"/>
      <search name="request" path="request" type="FHIR.MedicationRequest"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="effective-time" path="effective" type="System.DateTime"/>
      <search name="reason-given" path="reasonCode" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="context" path="context">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationAdministration.Dosage" retrievable="false" xsi:type="ClassInfo">
      <element name="text" elementType="FHIR.string" description="Free text dosage instructions e.g. SIG" definition="Free text dosage can be used for cases where the dosage administered is too complex to code. When coded dosage is present, the free text dosage may still be present for display to humans.&#xd;&#xd;The dosage instructions should reflect the dosage of the medication that was administered."/>
      <element name="site" elementType="FHIR.CodeableConcept" description="Body site administered to" definition="A coded specification of the anatomic site where the medication first entered the body.  For example, &quot;left arm&quot;." comment="If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [bodySite](extension-bodysite.html).  May be a summary code, or a reference to a very precise definition of the location, or both.">
         <binding name="MedicationAdministrationSite" description="A coded concept describing the site location the medicine enters into or onto the body." strength="Example"/>
      </element>
      <element name="route" elementType="FHIR.CodeableConcept" description="Path of substance into body" definition="A code specifying the route or physiological path of administration of a therapeutic agent into or onto the patient.  For example, topical, intravenous, etc.">
         <binding name="RouteOfAdministration" description="A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject." strength="Example"/>
      </element>
      <element name="method" elementType="FHIR.CodeableConcept" description="How drug was administered" definition="A coded value indicating the method by which the medication is intended to be or was introduced into or on the body.  This attribute will most often NOT be populated.  It is most commonly used for injections.  For example, Slow Push, Deep IV." comment="One of the reasons this attribute is not used often, is that the method is often pre-coordinated with the route and/or form of administration.  This means the codes used in route or form may pre-coordinate the method in the route code or the form code.  The implementation decision about what coding system to use for route or form code will determine how frequently the method code will be populated e.g. if route or form code pre-coordinate method code, then this attribute will not be populated often; if there is no pre-coordination then method code may  be used frequently.">
         <binding name="MedicationAdministrationMethod" description="A coded concept describing the technique by which the medicine is administered." strength="Example"/>
      </element>
      <element name="dose" elementType="FHIR.SimpleQuantity" description="Amount of medication per dose" definition="The amount of the medication given at one administration event.   Use this value when the administration is essentially an instantaneous event such as a swallowing a tablet or giving an injection." comment="If the administration is not instantaneous (rate is present), this can be specified to convey the total amount administered over period of time of a single administration."/>
      <element name="rate" description="Dose quantity per unit of time" definition="Identifies the speed with which the medication was or will be introduced into the patient.  Typically, the rate for an infusion e.g. 100 ml per 1 hour or 100 ml/hr.  May also be expressed as a rate per unit of time, e.g. 500 ml per 2 hours.  Other examples:  200 mcg/min or 200 mcg/1 minute; 1 liter/8 hours." comment="If the rate changes over time, and you want to capture this in MedicationAdministration, then each change should be captured as a distinct MedicationAdministration, with a specific MedicationAdministration.dosage.rate, and the date time when the rate change occurred. Typically, the MedicationAdministration.dosage.rate element is not used to convey an average rate.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SimpleQuantity" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationAdministration.Performer" retrievable="false" xsi:type="ClassInfo">
      <element name="function" elementType="FHIR.CodeableConcept" description="Type of performance" definition="Distinguishes the type of involvement of the performer in the medication administration.">
         <binding name="MedicationAdministrationPerformerFunction" description="A code describing the role an individual played in administering the medication." strength="Example"/>
      </element>
      <element name="actor" elementType="FHIR.Reference" description="Who performed the medication administration" definition="Indicates who or what performed the medication administration."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MedicationAdministrationStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicationDispense" identifier="http://hl7.org/fhir/StructureDefinition/MedicationDispense" label="MedicationDispense" retrievable="true" primaryCodePath="medication" xsi:type="ClassInfo">
      <element name="identifier" description="External identifier" definition="Identifiers associated with this Medication Dispense that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" description="Event that dispense is part of" definition="The procedure that trigger the dispense.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.MedicationDispenseStatus" description="preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown" definition="A code specifying the state of the set of dispense events." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="MedicationDispenseStatus" description="A coded concept specifying the state of the dispense event." strength="Required"/>
      </element>
      <element name="statusReason" description="Why a dispense was not performed" definition="Indicates the reason why a dispense was not performed.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="MedicationDispenseStatusReason" description="A code describing why a dispense was not performed." strength="Example"/>
      </element>
      <element name="category" elementType="FHIR.CodeableConcept" description="Type of medication dispense" definition="Indicates the type of medication dispense (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient))." comment="The category can be used to include where the medication is expected to be consumed or other types of dispenses.  Invariants can be used to bind to different value sets when profiling to bind.">
         <binding name="MedicationDispenseCategory" description="A code describing where the dispensed medication is expected to be consumed or administered." strength="Preferred"/>
      </element>
      <element name="medication" description="What medication was supplied" definition="Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications." comment="If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended.  For example, if you require form or lot number, then you must reference the Medication resource.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="MedicationCode" description="A coded concept identifying which substance or product can be dispensed." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who the dispense is for" definition="A link to a resource representing the person or the group to whom the medication will be given." comment="SubstanceAdministration->subject->Patient."/>
      <element name="context" elementType="FHIR.Reference" description="Encounter / Episode associated with event" definition="The encounter or episode of care that establishes the context for this event."/>
      <element name="supportingInformation" description="Information that supports the dispensing of the medication" definition="Additional information that supports the medication being dispensed.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="performer" description="Who performed event" definition="Indicates who or what performed the event.">
         <elementTypeSpecifier elementType="FHIR.MedicationDispense.Performer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="location" elementType="FHIR.Reference" description="Where the dispense occurred" definition="The principal physical location where the dispense was performed."/>
      <element name="authorizingPrescription" description="Medication order that authorizes the dispense" definition="Indicates the medication order that is being dispensed against." comment="Maps to basedOn in Event logical model.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Trial fill, partial fill, emergency fill, etc." definition="Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.">
         <binding name="MedicationDispenseType" description="Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Amount dispensed" definition="The amount of medication that has been dispensed. Includes unit of measure."/>
      <element name="daysSupply" elementType="FHIR.SimpleQuantity" description="Amount of medication expressed as a timing amount" definition="The amount of medication expressed as a timing amount."/>
      <element name="whenPrepared" elementType="FHIR.dateTime" description="When product was packaged and reviewed" definition="The time when the dispensed product was packaged and reviewed."/>
      <element name="whenHandedOver" elementType="FHIR.dateTime" description="When product was given out" definition="The time the dispensed product was provided to the patient or their representative."/>
      <element name="destination" elementType="FHIR.Reference" description="Where the medication was sent" definition="Identification of the facility/location where the medication was shipped to, as part of the dispense event."/>
      <element name="receiver" description="Who collected the medication" definition="Identifies the person who picked up the medication.  This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Information about the dispense" definition="Extra information about the dispense that could not be conveyed in the other attributes.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="dosageInstruction" description="How the medication is to be used by the patient or administered by the caregiver" definition="Indicates how the medication is to be used by the patient." comment="When the dose or rate is intended to change over the entire administration period (e.g. Tapering dose prescriptions), multiple instances of dosage instructions will need to be supplied to convey the different doses/rates.&#xd;The pharmacist reviews the medication order prior to dispense and updates the dosageInstruction based on the actual product being dispensed.">
         <elementTypeSpecifier elementType="FHIR.Dosage" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="substitution" elementType="FHIR.MedicationDispense.Substitution" description="Whether a substitution was performed on the dispense" definition="Indicates whether or not substitution was made as part of the dispense.  In some cases, substitution will be expected but does not happen, in other cases substitution is not expected but does happen.  This block explains what substitution did or did not happen and why.  If nothing is specified, substitution was not done."/>
      <element name="detectedIssue" description="Clinical issue with action" definition="Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. drug-drug interaction, duplicate therapy, dosage alert etc." comment="This element can include a detected issue that has been identified either by a decision support system or by a clinician and may include information on the steps that were taken to address the issue.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="eventHistory" description="A list of relevant lifecycle events" definition="A summary of the events of interest that have occurred, such as when the dispense was verified." comment="This might not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the Provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="actor"/>
      <contextRelationship context="Practitioner" relatedKeyElement="receiver"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Patient" relatedKeyElement="receiver"/>
      <search name="whenhandedover" path="whenHandedOver" type="System.DateTime"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="destination" path="destination" type="FHIR.Location"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="whenprepared" path="whenPrepared" type="System.DateTime"/>
      <search name="prescription" path="authorizingPrescription" type="FHIR.MedicationRequest"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="type" path="type" type="System.Code"/>
      <search name="responsibleparty" path="substitution.responsibleParty">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="context" path="context">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="performer" path="performer.actor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="receiver" path="receiver">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationDispense.Performer" retrievable="false" xsi:type="ClassInfo">
      <element name="function" elementType="FHIR.CodeableConcept" description="Who performed the dispense and what they did" definition="Distinguishes the type of performer in the dispense.  For example, date enterer, packager, final checker.">
         <binding name="MedicationDispensePerformerFunction" description="A code describing the role an individual played in dispensing a medication." strength="Example"/>
      </element>
      <element name="actor" elementType="FHIR.Reference" description="Individual who was performing" definition="The device, practitioner, etc. who performed the action.  It should be assumed that the actor is the dispenser of the medication."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationDispense.Substitution" retrievable="false" xsi:type="ClassInfo">
      <element name="wasSubstituted" elementType="FHIR.boolean" description="Whether a substitution was or was not performed on the dispense" definition="True if the dispenser dispensed a different drug or product from what was prescribed."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Code signifying whether a different drug was dispensed from what was prescribed" definition="A code signifying whether a different drug was dispensed from what was prescribed.">
         <binding name="MedicationIntendedSubstitutionType" description="A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription." strength="Example"/>
      </element>
      <element name="reason" description="Why was substitution made" definition="Indicates the reason for the substitution (or lack of substitution) from what was prescribed.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="MedicationIntendedSubstitutionReason" description="A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed." strength="Example"/>
      </element>
      <element name="responsibleParty" description="Who is responsible for the substitution" definition="The person or organization that has primary responsibility for the substitution.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MedicationDispenseStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicationKnowledge" identifier="http://hl7.org/fhir/StructureDefinition/MedicationKnowledge" label="MedicationKnowledge" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Code that identifies this medication" definition="A code that specifies this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems." comment="Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true.  As described in the coding datatype: &quot;A coding may be marked as a &quot;userSelected&quot; if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. Other codes can only be literal translations to alternative code systems, or codes at a lower level of granularity (e.g. a generic code for a vendor-specific primary one).">
         <binding name="MedicationFormalRepresentation" description="A coded concept that defines the type of a medication." strength="Example"/>
      </element>
      <element name="status" elementType="FHIR.MedicationKnowledgeStatus" description="active | inactive | entered-in-error" definition="A code to indicate if the medication is in active use.  The status refers to the validity about the information of the medication and not to its medicinal properties." comment="This status is intended to identify if the medication in a local system is in active use within a drug database or inventory.  For example, a pharmacy system may create a new drug file record for a compounded product &quot;ABC Hospital Special Cream&quot; with an active status.  At some point in the future, it may be determined that the drug record was created with an error and the status is changed to &quot;entered in error&quot;.   This status is not intended to specify if a medication is part of a particular formulary.  It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.">
         <binding name="MedicationKnowledgeStatus" description="A coded concept defining if the medication is in active use." strength="Required"/>
      </element>
      <element name="manufacturer" elementType="FHIR.Reference" description="Manufacturer of the item" definition="Describes the details of the manufacturer of the medication product.  This is not intended to represent the distributor of a medication product."/>
      <element name="doseForm" elementType="FHIR.CodeableConcept" description="powder | tablets | capsule +" definition="Describes the form of the item.  Powder; tablets; capsule." comment="When Medication is referenced from MedicationRequest, this is the ordered form.  When Medication is referenced within MedicationDispense, this is the dispensed form.  When Medication is referenced within MedicationAdministration, this is administered form.">
         <binding name="MedicationForm" description="A coded concept defining the form of a medication." strength="Example"/>
      </element>
      <element name="amount" elementType="FHIR.SimpleQuantity" description="Amount of drug in package" definition="Specific amount of the drug in the packaged product.  For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.)." comment="This is the quantity of medication in a package.  To specify the strength of the medication, the Ingredient.strength attribute is used."/>
      <element name="synonym" description="Additional names for a medication" definition="Additional names for a medication, for example, the name(s) given to a medication in different countries.  For example, acetaminophen and paracetamol or salbutamol and albuterol.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedMedicationKnowledge" description="Associated or related medication information" definition="Associated or related knowledge about a medication.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.RelatedMedicationKnowledge" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="associatedMedication" description="A medication resource that is associated with this medication" definition="Associated or related medications.  For example, if the medication is a branded product (e.g. Crestor), this is the Therapeutic Moeity (e.g. Rosuvastatin) or if this is a generic medication (e.g. Rosuvastatin), this would link to a branded product (e.g. Crestor).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="productType" description="Category of the medication or product" definition="Category of the medication or product (e.g. branded product, therapeutic moeity, generic product, innovator product, etc.).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="monograph" description="Associated documentation about the medication" definition="Associated documentation about the medication.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.Monograph" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="ingredient" description="Active or inactive ingredient" definition="Identifies a particular constituent of interest in the product.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.Ingredient" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="preparationInstruction" elementType="FHIR.markdown" description="The instructions for preparing the medication" definition="The instructions for preparing the medication."/>
      <element name="intendedRoute" description="The intended or approved route of administration" definition="The intended or approved route of administration.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="MedicationRoute" description="A coded concept defining the intended route of administration." strength="Example"/>
      </element>
      <element name="cost" description="The pricing of the medication" definition="The price of the medication.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.Cost" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="monitoringProgram" description="Program under which a medication is reviewed" definition="The program under which the medication is reviewed.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.MonitoringProgram" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="administrationGuidelines" description="Guidelines for administration of the medication" definition="Guidelines for the administration of the medication.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.AdministrationGuidelines" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="medicineClassification" description="Categorization of the medication within a formulary or classification system" definition="Categorization of the medication within a formulary or classification system.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.MedicineClassification" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="packaging" elementType="FHIR.MedicationKnowledge.Packaging" description="Details about packaged medications" definition="Information that only applies to packages (not products)."/>
      <element name="drugCharacteristic" description="Specifies descriptive properties of the medicine" definition="Specifies descriptive properties of the medicine, such as color, shape, imprints, etc.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.DrugCharacteristic" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="contraindication" description="Potential clinical issue with or between medication(s)" definition="Potential clinical issue with or between medication(s) (for example, drug-drug interaction, drug-disease contraindication, drug-allergy interaction, etc.).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="regulatory" description="Regulatory information about a medication" definition="Regulatory information about a medication.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.Regulatory" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="kinetics" description="The time course of drug absorption, distribution, metabolism and excretion of a medication from the body" definition="The time course of drug absorption, distribution, metabolism and excretion of a medication from the body.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.Kinetics" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="code" path="code" type="System.Code"/>
      <search name="classification" path="medicineClassification.classification" type="System.Code"/>
      <search name="monograph" path="monograph.source">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="doseform" path="doseForm" type="System.Code"/>
      <search name="source-cost" path="cost.source" type="System.Code"/>
      <search name="monitoring-program-name" path="monitoringProgram.name" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="classification-type" path="medicineClassification.type" type="System.Code"/>
      <search name="monitoring-program-type" path="monitoringProgram.type" type="System.Code"/>
      <search name="manufacturer" path="manufacturer" type="FHIR.Organization"/>
      <search name="monograph-type" path="monograph.type" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.AdministrationGuidelines" retrievable="false" xsi:type="ClassInfo">
      <element name="dosage" description="Dosage for the medication for the specific guidelines" definition="Dosage for the medication for the specific guidelines.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.AdministrationGuidelines.Dosage" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="indication" description="Indication for use that apply to the specific administration guidelines" definition="Indication for use that apply to the specific administration guidelines.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="patientCharacteristics" description="Characteristics of the patient that are relevant to the administration guidelines" definition="Characteristics of the patient that are relevant to the administration guidelines (for example, height, weight, gender, etc.).">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.AdministrationGuidelines.PatientCharacteristics" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.AdministrationGuidelines.Dosage" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of dosage" definition="The type of dosage (for example, prophylaxis, maintenance, therapeutic, etc.)."/>
      <element name="dosage" description="Dosage for the medication for the specific guidelines" definition="Dosage for the medication for the specific guidelines.">
         <elementTypeSpecifier elementType="FHIR.Dosage" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.AdministrationGuidelines.PatientCharacteristics" retrievable="false" xsi:type="ClassInfo">
      <element name="characteristic" description="Specific characteristic that is relevant to the administration guideline" definition="Specific characteristic that is relevant to the administration guideline (e.g. height, weight, gender).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SimpleQuantity" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="value" description="The specific characteristic" definition="The specific characteristic (e.g. height, weight, gender, etc.).">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.Cost" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="The category of the cost information" definition="The category of the cost information.  For example, manufacturers' cost, patient cost, claim reimbursement cost, actual acquisition cost."/>
      <element name="source" elementType="FHIR.string" description="The source or owner for the price information" definition="The source or owner that assigns the price to the medication."/>
      <element name="cost" elementType="FHIR.Money" description="The price of the medication" definition="The price of the medication."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.DrugCharacteristic" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Code specifying the type of characteristic of medication" definition="A code specifying which characteristic of the medicine is being described (for example, colour, shape, imprint).">
         <binding name="MedicationCharacteristic" description="A coded concept defining the characteristic types of a medication." strength="Example"/>
      </element>
      <element name="value" description="Description of the characteristic" definition="Description of the characteristic." comment="The description should be provided as a CodeableConcept, SimpleQuantity or an image.  The description can be a string only when these others are not available.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SimpleQuantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="base64Binary" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.Ingredient" retrievable="false" xsi:type="ClassInfo">
      <element name="item" description="Medication(s) or substance(s) contained in the medication" definition="The actual ingredient - either a substance (simple ingredient) or another medication.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="isActive" elementType="FHIR.boolean" description="Active ingredient indicator" definition="Indication of whether this ingredient affects the therapeutic action of the drug."/>
      <element name="strength" elementType="FHIR.Ratio" description="Quantity of ingredient present" definition="Specifies how many (or how much) of the items there are in this Medication.  For example, 250 mg per tablet.  This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.Kinetics" retrievable="false" xsi:type="ClassInfo">
      <element name="areaUnderCurve" description="The drug concentration measured at certain discrete points in time" definition="The drug concentration measured at certain discrete points in time.">
         <elementTypeSpecifier elementType="FHIR.SimpleQuantity" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="lethalDose50" description="The median lethal dose of a drug" definition="The median lethal dose of a drug.">
         <elementTypeSpecifier elementType="FHIR.SimpleQuantity" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="halfLifePeriod" elementType="FHIR.Duration" description="Time required for concentration in the body to decrease by half" definition="The time required for any specified property (e.g., the concentration of a substance in the body) to decrease by half."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.MedicineClassification" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="The type of category for the medication (for example, therapeutic classification, therapeutic sub-classification)" definition="The type of category for the medication (for example, therapeutic classification, therapeutic sub-classification)."/>
      <element name="classification" description="Specific category assigned to the medication" definition="Specific category assigned to the medication (e.g. anti-infective, anti-hypertensive, antibiotic, etc.).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.MonitoringProgram" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of program under which the medication is monitored" definition="Type of program under which the medication is monitored."/>
      <element name="name" elementType="FHIR.string" description="Name of the reviewing program" definition="Name of the reviewing program."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.Monograph" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="The category of medication document" definition="The category of documentation about the medication. (e.g. professional monograph, patient education monograph)."/>
      <element name="source" elementType="FHIR.Reference" description="Associated documentation about the medication" definition="Associated documentation about the medication."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.Packaging" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="A code that defines the specific type of packaging that the medication can be found in" definition="A code that defines the specific type of packaging that the medication can be found in (e.g. blister sleeve, tube, bottle).">
         <binding name="MedicationPackageType" description="A coded concept defining the type of packaging of a medication." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="The number of product units the package would contain if fully loaded" definition="The number of product units the package would contain if fully loaded."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.Regulatory" retrievable="false" xsi:type="ClassInfo">
      <element name="regulatoryAuthority" elementType="FHIR.Reference" description="Specifies the authority of the regulation" definition="The authority that is specifying the regulations."/>
      <element name="substitution" description="Specifies if changes are allowed when dispensing a medication from a regulatory perspective" definition="Specifies if changes are allowed when dispensing a medication from a regulatory perspective.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.Regulatory.Substitution" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="schedule" description="Specifies the schedule of a medication in jurisdiction" definition="Specifies the schedule of a medication in jurisdiction.">
         <elementTypeSpecifier elementType="FHIR.MedicationKnowledge.Regulatory.Schedule" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="maxDispense" elementType="FHIR.MedicationKnowledge.Regulatory.MaxDispense" description="The maximum number of units of the medication that can be dispensed in a period" definition="The maximum number of units of the medication that can be dispensed in a period."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.Regulatory.MaxDispense" retrievable="false" xsi:type="ClassInfo">
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="The maximum number of units of the medication that can be dispensed" definition="The maximum number of units of the medication that can be dispensed."/>
      <element name="period" elementType="FHIR.Duration" description="The period that applies to the maximum number of units" definition="The period that applies to the maximum number of units."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.Regulatory.Schedule" retrievable="false" xsi:type="ClassInfo">
      <element name="schedule" elementType="FHIR.CodeableConcept" description="Specifies the specific drug schedule" definition="Specifies the specific drug schedule."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.Regulatory.Substitution" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Specifies the type of substitution allowed" definition="Specifies the type of substitution allowed."/>
      <element name="allowed" elementType="FHIR.boolean" description="Specifies if regulation allows for changes in the medication when dispensing" definition="Specifies if regulation allows for changes in the medication when dispensing."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationKnowledge.RelatedMedicationKnowledge" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Category of medicationKnowledge" definition="The category of the associated medication knowledge reference."/>
      <element name="reference" description="Associated documentation about the associated medication knowledge" definition="Associated documentation about the associated medication knowledge.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MedicationKnowledgeStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicationRequest" identifier="http://hl7.org/fhir/StructureDefinition/MedicationRequest" label="MedicationRequest" retrievable="true" primaryCodePath="medication" xsi:type="ClassInfo">
      <element name="identifier" description="External ids for this request" definition="Identifiers associated with this medication request that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.MedicationRequestStatus" description="active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown" definition="A code specifying the current state of the order.  Generally, this will be active or completed state." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="MedicationRequestStatus" description="A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription." strength="Required"/>
      </element>
      <element name="statusReason" elementType="FHIR.CodeableConcept" description="Reason for current status" definition="Captures the reason for the current state of the MedicationRequest." comment="This is generally only used for &quot;exception&quot; statuses such as &quot;suspended&quot; or &quot;cancelled&quot;. The reason why the MedicationRequest was created at all is captured in reasonCode, not here.">
         <binding name="MedicationRequestStatusReason" description="Identifies the reasons for a given status." strength="Example"/>
      </element>
      <element name="intent" elementType="FHIR.MedicationRequestIntent" description="proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option" definition="Whether the request is a proposal, plan, or an original order." comment="It is expected that the type of requester will be restricted for different stages of a MedicationRequest.  For example, Proposals can be created by a patient, relatedPerson, Practitioner or Device.  Plans can be created by Practitioners, Patients, RelatedPersons and Devices.  Original orders can be created by a Practitioner only.&#xd;&#xd;An instance-order is an instantiation of a request or order and may be used to populate Medication Administration Record.&#xd;&#xd;This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.">
         <binding name="MedicationRequestIntent" description="The kind of medication order." strength="Required"/>
      </element>
      <element name="category" description="Type of medication usage" definition="Indicates the type of medication request (for example, where the medication is expected to be consumed or administered (i.e. inpatient or outpatient))." comment="The category can be used to include where the medication is expected to be consumed or other types of requests.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="MedicationRequestCategory" description="A coded concept identifying the category of medication request.  For example, where the medication is to be consumed or administered, or the type of medication treatment." strength="Example"/>
      </element>
      <element name="priority" elementType="FHIR.MedicationRequestPriority" description="routine | urgent | asap | stat" definition="Indicates how quickly the Medication Request should be addressed with respect to other requests.">
         <binding name="MedicationRequestPriority" description="Identifies the level of importance to be assigned to actioning the request." strength="Required"/>
      </element>
      <element name="doNotPerform" elementType="FHIR.boolean" description="True if request is prohibiting action" definition="If true indicates that the provider is asking for the medication request not to occur." comment="If do not perform is not specified, the request is a positive request e.g. &quot;do perform&quot;."/>
      <element name="reported" description="Reported rather than primary record" definition="Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record.  It may also indicate the source of the report.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="medication" description="Medication to be taken" definition="Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications." comment="If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the Medication resource is recommended.  For example, if you require form or lot number or if the medication is compounded or extemporaneously prepared, then you must reference the Medication resource.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="MedicationCode" description="A coded concept identifying substance or product that can be ordered." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who or group medication request is for" definition="A link to a resource representing the person or set of individuals to whom the medication will be given." comment="The subject on a medication request is mandatory.  For the secondary use case where the actual subject is not provided, there still must be an anonymized subject specified."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter created as part of encounter/admission/stay" definition="The Encounter during which this [x] was created or to which the creation of this record is tightly associated." comment="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter.&quot;    If there is a need to link to episodes of care they will be handled with an extension."/>
      <element name="supportingInformation" description="Information to support ordering of the medication" definition="Include additional information (for example, patient height and weight) that supports the ordering of the medication.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="authoredOn" elementType="FHIR.dateTime" description="When request was initially authored" definition="The date (and perhaps time) when the prescription was initially written or authored on."/>
      <element name="requester" elementType="FHIR.Reference" description="Who/What requested the Request" definition="The individual, organization, or device that initiated the request and has responsibility for its activation."/>
      <element name="performer" elementType="FHIR.Reference" description="Intended performer of administration" definition="The specified desired performer of the medication treatment (e.g. the performer of the medication administration)."/>
      <element name="performerType" elementType="FHIR.CodeableConcept" description="Desired kind of performer of the medication administration" definition="Indicates the type of performer of the administration of the medication." comment="If specified without indicating a performer, this indicates that the performer must be of the specified type. If specified with a performer then it indicates the requirements of the performer if the designated performer is not available.">
         <binding name="MedicationRequestPerformerType" description="Identifies the type of individual that is desired to administer the medication." strength="Example"/>
      </element>
      <element name="recorder" elementType="FHIR.Reference" description="Person who entered the request" definition="The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order."/>
      <element name="reasonCode" description="Reason or indication for ordering or not ordering the medication" definition="The reason or the indication for ordering or not ordering the medication." comment="This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="MedicationRequestReason" description="A coded concept indicating why the medication was ordered." strength="Example"/>
      </element>
      <element name="reasonReference" description="Condition or observation that supports why the prescription is being written" definition="Condition or observation that supports why the medication was ordered." comment="This is a reference to a condition or observation that is the reason for the medication order.  If only a code exists, use reasonCode.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesCanonical" description="Instantiates FHIR protocol or definition" definition="The URL pointing to a protocol, guideline, orderset, or other definition that is adhered to in whole or in part by this MedicationRequest.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesUri" description="Instantiates 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 this MedicationRequest.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="What request fulfills" definition="A plan or request that is fulfilled in whole or in part by this medication request.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="groupIdentifier" elementType="FHIR.Identifier" description="Composite request this is part of" definition="A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition or prescription."/>
      <element name="courseOfTherapyType" elementType="FHIR.CodeableConcept" description="Overall pattern of medication administration" definition="The description of the overall patte3rn of the administration of the medication to the patient." comment="This attribute should not be confused with the protocol of the medication.">
         <binding name="MedicationRequestCourseOfTherapy" description="Identifies the overall pattern of medication administratio." strength="Example"/>
      </element>
      <element name="insurance" description="Associated insurance coverage" definition="Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be required for delivering the requested service.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Information about the prescription" definition="Extra information about the prescription that could not be conveyed by the other attributes.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="dosageInstruction" description="How the medication should be taken" definition="Indicates how the medication is to be used by the patient." comment="There are examples where a medication request may include the option of an oral dose or an Intravenous or Intramuscular dose.  For example, &quot;Ondansetron 8mg orally or IV twice a day as needed for nausea&quot; or &quot;Compazine® (prochlorperazine) 5-10mg PO or 25mg PR bid prn nausea or vomiting&quot;.  In these cases, two medication requests would be created that could be grouped together.  The decision on which dose and route of administration to use is based on the patient's condition at the time the dose is needed.">
         <elementTypeSpecifier elementType="FHIR.Dosage" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="dispenseRequest" elementType="FHIR.MedicationRequest.DispenseRequest" description="Medication supply authorization" definition="Indicates the specific details for the dispense or medication supply part of a medication request (also known as a Medication Prescription or Medication Order).  Note that this information is not always sent with the order.  There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department."/>
      <element name="substitution" elementType="FHIR.MedicationRequest.Substitution" description="Any restrictions on medication substitution" definition="Indicates whether or not substitution can or should be part of the dispense. In some cases, substitution must happen, in other cases substitution must not happen. This block explains the prescriber's intent. If nothing is specified substitution may be done."/>
      <element name="priorPrescription" elementType="FHIR.Reference" description="An order/prescription that is being replaced" definition="A link to a resource representing an earlier order related order or prescription."/>
      <element name="detectedIssue" description="Clinical Issue with action" definition="Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc." comment="This element can include a detected issue that has been identified either by a decision support system or by a clinician and may include information on the steps that were taken to address the issue.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="eventHistory" description="A list of events of interest in the lifecycle" 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 might not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="requester"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="intent" path="intent" type="System.Code"/>
      <search name="intended-performertype" path="performerType" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="authoredon" path="authoredOn" type="System.DateTime"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="date" path="dosageInstruction.timing.event" type="System.DateTime"/>
      <search name="intended-performer" path="performer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="priority" path="priority" type="System.Code"/>
      <search name="encounter" path="encounter" type="FHIR.Encounter"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="intended-dispenser" path="dispenseRequest.performer" type="FHIR.Organization"/>
      <search name="requester" path="requester">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationRequest.DispenseRequest" retrievable="false" xsi:type="ClassInfo">
      <element name="initialFill" elementType="FHIR.MedicationRequest.DispenseRequest.InitialFill" description="First fill details" definition="Indicates the quantity or duration for the first dispense of the medication." comment="If populating this element, either the quantity or the duration must be included."/>
      <element name="dispenseInterval" elementType="FHIR.Duration" description="Minimum period of time between dispenses" definition="The minimum period of time that must occur between dispenses of the medication."/>
      <element name="validityPeriod" elementType="FHIR.Period" description="Time period supply is authorized for" definition="This indicates the validity period of a prescription (stale dating the Prescription)." comment="It reflects the prescribers' perspective for the validity of the prescription. Dispenses must not be made against the prescription outside of this period. The lower-bound of the Dispensing Window signifies the earliest date that the prescription can be filled for the first time. If an upper-bound is not specified then the Prescription is open-ended or will default to a stale-date based on regulations."/>
      <element name="numberOfRepeatsAllowed" elementType="FHIR.unsignedInt" description="Number of refills authorized" definition="An integer indicating the number of times, in addition to the original dispense, (aka refills or repeats) that the patient can receive the prescribed medication. Usage Notes: This integer does not include the original order dispense. This means that if an order indicates dispense 30 tablets plus &quot;3 repeats&quot;, then the order can be dispensed a total of 4 times and the patient can receive a total of 120 tablets.  A prescriber may explicitly say that zero refills are permitted after the initial dispense." comment="If displaying &quot;number of authorized fills&quot;, add 1 to this number."/>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Amount of medication to supply per dispense" definition="The amount that is to be dispensed for one fill."/>
      <element name="expectedSupplyDuration" elementType="FHIR.Duration" description="Number of days supply per dispense" definition="Identifies the period time over which the supplied product is expected to be used, or the length of time the dispense is expected to last." comment="In some situations, this attribute may be used instead of quantity to identify the amount supplied by how long it is expected to last, rather than the physical quantity issued, e.g. 90 days supply of medication (based on an ordered dosage). When possible, it is always better to specify quantity, as this tends to be more precise. expectedSupplyDuration will always be an estimate that can be influenced by external factors."/>
      <element name="performer" elementType="FHIR.Reference" description="Intended dispenser" definition="Indicates the intended dispensing Organization specified by the prescriber."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationRequest.DispenseRequest.InitialFill" retrievable="false" xsi:type="ClassInfo">
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="First fill quantity" definition="The amount or quantity to provide as part of the first dispense."/>
      <element name="duration" elementType="FHIR.Duration" description="First fill duration" definition="The length of time that the first dispense is expected to last."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicationRequest.Substitution" retrievable="false" xsi:type="ClassInfo">
      <element name="allowed" description="Whether substitution is allowed or not" definition="True if the prescriber allows a different drug to be dispensed from what was prescribed." comment="This element is labeled as a modifier because whether substitution is allow or not, it cannot be ignored.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="MedicationRequestSubstitution" description="Identifies the type of substitution allowed." strength="Example"/>
      </element>
      <element name="reason" elementType="FHIR.CodeableConcept" description="Why should (not) substitution be made" definition="Indicates the reason for the substitution, or why substitution must or must not be performed.">
         <binding name="MedicationIntendedSubstitutionReason" description="A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MedicationRequestIntent" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MedicationRequestPriority" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MedicationRequestStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicationStatement" identifier="http://hl7.org/fhir/StructureDefinition/MedicationStatement" label="MedicationStatement" retrievable="true" primaryCodePath="medication" xsi:type="ClassInfo">
      <element name="identifier" description="External identifier" definition="Identifiers associated with this Medication Statement that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server." comment="This is a business identifier, not a resource identifier.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="Fulfils plan, proposal or order" definition="A plan, proposal or order that is fulfilled in whole or in part by this event.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" description="Part of referenced event" definition="A larger event of which this particular event is a component or step.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.MedicationStatementStatus" description="active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken" definition="A code representing the patient or other source's judgment about the state of the medication used that this statement is about.  Generally, this will be active or completed." comment="MedicationStatement is a statement at a point in time.  The status is only representative at the point when it was asserted.  The value set for MedicationStatement.status contains codes that assert the status of the use of the medication by the patient (for example, stopped or on hold) as well as codes that assert the status of the medication statement itself (for example, entered in error).&#xd;&#xd;This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="MedicationStatementStatus" description="A coded concept indicating the current status of a MedicationStatement." strength="Required"/>
      </element>
      <element name="statusReason" description="Reason for current status" definition="Captures the reason for the current state of the MedicationStatement." comment="This is generally only used for &quot;exception&quot; statuses such as &quot;not-taken&quot;, &quot;on-hold&quot;, &quot;cancelled&quot; or &quot;entered-in-error&quot;. The reason for performing the event at all is captured in reasonCode, not here.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="MedicationStatementStatusReason" description="A coded concept indicating the reason for the status of the statement." strength="Example"/>
      </element>
      <element name="category" elementType="FHIR.CodeableConcept" description="Type of medication usage" definition="Indicates where the medication is expected to be consumed or administered.">
         <binding name="MedicationStatementCategory" description="A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered." strength="Preferred"/>
      </element>
      <element name="medication" description="What medication was taken" definition="Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications." comment="If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended.  For example, if you require form or lot number, then you must reference the Medication resource.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="MedicationCode" description="A coded concept identifying the substance or product being taken." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who is/was taking  the medication" definition="The person, animal or group who is/was taking the medication."/>
      <element name="context" elementType="FHIR.Reference" description="Encounter / Episode associated with MedicationStatement" definition="The encounter or episode of care that establishes the context for this MedicationStatement."/>
      <element name="effective" description="The date/time or interval when the medication is/was/will be taken" definition="The interval of time during which it is being asserted that the patient is/was/will be taking the medication (or was not taking, when the MedicationStatement.taken element is No)." comment="This attribute reflects the period over which the patient consumed the medication and is expected to be populated on the majority of Medication Statements. If the medication is still being taken at the time the statement is recorded, the &quot;end&quot; date will be omitted.  The date/time attribute supports a variety of dates - year, year/month and exact date.  If something more than this is required, this should be conveyed as text.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="dateAsserted" elementType="FHIR.dateTime" description="When the statement was asserted?" definition="The date when the medication statement was asserted by the information source."/>
      <element name="informationSource" elementType="FHIR.Reference" description="Person or organization that provided the information about the taking of this medication" definition="The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest."/>
      <element name="derivedFrom" description="Additional supporting information" definition="Allows linking the MedicationStatement to the underlying MedicationRequest, or to other information that supports or is used to derive the MedicationStatement." comment="Likely references would be to MedicationRequest, MedicationDispense, Claim, Observation or QuestionnaireAnswers.  The most common use cases for deriving a MedicationStatement comes from creating a MedicationStatement from a MedicationRequest or from a lab observation or a claim.  it should be noted that the amount of information that is available varies from the type resource that you derive the MedicationStatement from.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reasonCode" description="Reason for why the medication is being/was taken" definition="A reason for why the medication is being/was taken." comment="This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonForUseReference.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="MedicationReason" description="A coded concept identifying why the medication is being taken." strength="Example"/>
      </element>
      <element name="reasonReference" description="Condition or observation that supports why the medication is being/was taken" definition="Condition or observation that supports why the medication is being/was taken." comment="This is a reference to a condition that is the reason why the medication is being/was taken.  If only a code exists, use reasonForUseCode.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Further information about the statement" definition="Provides extra information about the medication statement that is not conveyed by the other attributes.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="dosage" description="Details of how medication is/was taken or should be taken" definition="Indicates how the medication is/was or should be taken by the patient." comment="The dates included in the dosage on a Medication Statement reflect the dates for a given dose.  For example, &quot;from November 1, 2016 to November 3, 2016, take one tablet daily and from November 4, 2016 to November 7, 2016, take two tablets daily.&quot;  It is expected that this specificity may only be populated where the patient brings in their labeled container or where the Medication Statement is derived from a MedicationRequest.">
         <elementTypeSpecifier elementType="FHIR.Dosage" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="informationSource"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="informationSource"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="part-of" path="partOf">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="effective" path="effective" type="System.DateTime"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="context" path="context">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="source" path="informationSource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MedicationStatementStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MedicationStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicinalProduct" identifier="http://hl7.org/fhir/StructureDefinition/MedicinalProduct" label="MedicinalProduct" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifier for this product. Could be an MPID" definition="Business identifier for this product. Could be an MPID.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Regulatory type, e.g. Investigational or Authorized" definition="Regulatory type, e.g. Investigational or Authorized."/>
      <element name="domain" elementType="FHIR.Coding" description="If this medicine applies to human or veterinary uses" definition="If this medicine applies to human or veterinary uses."/>
      <element name="combinedPharmaceuticalDoseForm" elementType="FHIR.CodeableConcept" description="The dose form for a single part product, or combined form of a multiple part product" definition="The dose form for a single part product, or combined form of a multiple part product."/>
      <element name="legalStatusOfSupply" elementType="FHIR.CodeableConcept" description="The legal status of supply of the medicinal product as classified by the regulator" definition="The legal status of supply of the medicinal product as classified by the regulator."/>
      <element name="additionalMonitoringIndicator" elementType="FHIR.CodeableConcept" description="Whether the Medicinal Product is subject to additional monitoring for regulatory reasons" definition="Whether the Medicinal Product is subject to additional monitoring for regulatory reasons."/>
      <element name="specialMeasures" description="Whether the Medicinal Product is subject to special measures for regulatory reasons" definition="Whether the Medicinal Product is subject to special measures for regulatory reasons.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="paediatricUseIndicator" elementType="FHIR.CodeableConcept" description="If authorised for use in children" definition="If authorised for use in children."/>
      <element name="productClassification" description="Allows the product to be classified by various systems" definition="Allows the product to be classified by various systems.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="marketingStatus" description="Marketing status of the medicinal product, in contrast to marketing authorizaton" definition="Marketing status of the medicinal product, in contrast to marketing authorizaton.">
         <elementTypeSpecifier elementType="FHIR.MarketingStatus" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="pharmaceuticalProduct" description="Pharmaceutical aspects of product" definition="Pharmaceutical aspects of product.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="packagedMedicinalProduct" description="Package representation for the product" definition="Package representation for the product.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="attachedDocument" description="Supporting documentation, typically for regulatory submission" definition="Supporting documentation, typically for regulatory submission.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="masterFile" description="A master file for to the medicinal product (e.g. Pharmacovigilance System Master File)" definition="A master file for to the medicinal product (e.g. Pharmacovigilance System Master File).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="contact" description="A product specific contact, person (in a role), or an organization" definition="A product specific contact, person (in a role), or an organization.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="clinicalTrial" description="Clinical trials or studies that this product is involved in" definition="Clinical trials or studies that this product is involved in.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="name" description="The product's name, including full name and possibly coded parts" definition="The product's name, including full name and possibly coded parts.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProduct.Name" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="crossReference" description="Reference to another product, e.g. for linking authorised to investigational product" definition="Reference to another product, e.g. for linking authorised to investigational product.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="manufacturingBusinessOperation" description="An operation applied to the product, for manufacturing or adminsitrative purpose" definition="An operation applied to the product, for manufacturing or adminsitrative purpose.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProduct.ManufacturingBusinessOperation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="specialDesignation" description="Indicates if the medicinal product has an orphan designation for the treatment of a rare disease" definition="Indicates if the medicinal product has an orphan designation for the treatment of a rare disease.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProduct.SpecialDesignation" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="name" path="name.productName" type="System.String"/>
      <search name="name-language" path="name.countryLanguage.language" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProduct.ManufacturingBusinessOperation" retrievable="false" xsi:type="ClassInfo">
      <element name="operationType" elementType="FHIR.CodeableConcept" description="The type of manufacturing operation" definition="The type of manufacturing operation."/>
      <element name="authorisationReferenceNumber" elementType="FHIR.Identifier" description="Regulatory authorization reference number" definition="Regulatory authorization reference number."/>
      <element name="effectiveDate" elementType="FHIR.dateTime" description="Regulatory authorization date" definition="Regulatory authorization date."/>
      <element name="confidentialityIndicator" elementType="FHIR.CodeableConcept" description="To indicate if this proces is commercially confidential" definition="To indicate if this proces is commercially confidential."/>
      <element name="manufacturer" description="The manufacturer or establishment associated with the process" definition="The manufacturer or establishment associated with the process.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="regulator" elementType="FHIR.Reference" description="A regulator which oversees the operation" definition="A regulator which oversees the operation."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProduct.Name" retrievable="false" xsi:type="ClassInfo">
      <element name="productName" elementType="FHIR.string" description="The full product name" definition="The full product name."/>
      <element name="namePart" description="Coding words or phrases of the name" definition="Coding words or phrases of the name.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProduct.Name.NamePart" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="countryLanguage" description="Country where the name applies" definition="Country where the name applies.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProduct.Name.CountryLanguage" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProduct.Name.CountryLanguage" retrievable="false" xsi:type="ClassInfo">
      <element name="country" elementType="FHIR.CodeableConcept" description="Country code for where this name applies" definition="Country code for where this name applies."/>
      <element name="jurisdiction" elementType="FHIR.CodeableConcept" description="Jurisdiction code for where this name applies" definition="Jurisdiction code for where this name applies."/>
      <element name="language" elementType="FHIR.CodeableConcept" description="Language code for this name" definition="Language code for this name."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProduct.Name.NamePart" retrievable="false" xsi:type="ClassInfo">
      <element name="part" elementType="FHIR.string" description="A fragment of a product name" definition="A fragment of a product name."/>
      <element name="type" elementType="FHIR.Coding" description="Idenifying type for this part of the name (e.g. strength part)" definition="Idenifying type for this part of the name (e.g. strength part)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProduct.SpecialDesignation" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" description="Identifier for the designation, or procedure number" definition="Identifier for the designation, or procedure number.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="The type of special designation, e.g. orphan drug, minor use" definition="The type of special designation, e.g. orphan drug, minor use."/>
      <element name="intendedUse" elementType="FHIR.CodeableConcept" description="The intended use of the product, e.g. prevention, treatment" definition="The intended use of the product, e.g. prevention, treatment."/>
      <element name="indication" description="Condition for which the medicinal use applies" definition="Condition for which the medicinal use applies.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="status" elementType="FHIR.CodeableConcept" description="For example granted, pending, expired or withdrawn" definition="For example granted, pending, expired or withdrawn."/>
      <element name="date" elementType="FHIR.dateTime" description="Date when the designation was granted" definition="Date when the designation was granted."/>
      <element name="species" elementType="FHIR.CodeableConcept" description="Animal species for which this applies" definition="Animal species for which this applies."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicinalProductAuthorization" identifier="http://hl7.org/fhir/StructureDefinition/MedicinalProductAuthorization" label="MedicinalProductAuthorization" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifier for the marketing authorization, as assigned by a regulator" definition="Business identifier for the marketing authorization, as assigned by a regulator.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="The medicinal product that is being authorized" definition="The medicinal product that is being authorized."/>
      <element name="country" description="The country in which the marketing authorization has been granted" definition="The country in which the marketing authorization has been granted.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Jurisdiction within a country" definition="Jurisdiction within a country.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.CodeableConcept" description="The status of the marketing authorization" definition="The status of the marketing authorization."/>
      <element name="statusDate" elementType="FHIR.dateTime" description="The date at which the given status has become applicable" definition="The date at which the given status has become applicable."/>
      <element name="restoreDate" elementType="FHIR.dateTime" description="The date when a suspended the marketing or the marketing authorization of the product is anticipated to be restored" definition="The date when a suspended the marketing or the marketing authorization of the product is anticipated to be restored."/>
      <element name="validityPeriod" elementType="FHIR.Period" description="The beginning of the time period in which the marketing authorization is in the specific status shall be specified A complete date consisting of day, month and year shall be specified using the ISO 8601 date format" definition="The beginning of the time period in which the marketing authorization is in the specific status shall be specified A complete date consisting of day, month and year shall be specified using the ISO 8601 date format."/>
      <element name="dataExclusivityPeriod" elementType="FHIR.Period" description="A period of time after authorization before generic product applicatiosn can be submitted" definition="A period of time after authorization before generic product applicatiosn can be submitted."/>
      <element name="dateOfFirstAuthorization" elementType="FHIR.dateTime" description="The date when the first authorization was granted by a Medicines Regulatory Agency" definition="The date when the first authorization was granted by a Medicines Regulatory Agency."/>
      <element name="internationalBirthDate" elementType="FHIR.dateTime" description="Date of first marketing authorization for a company's new medicinal product in any country in the World" definition="Date of first marketing authorization for a company's new medicinal product in any country in the World."/>
      <element name="legalBasis" elementType="FHIR.CodeableConcept" description="The legal framework against which this authorization is granted" definition="The legal framework against which this authorization is granted."/>
      <element name="jurisdictionalAuthorization" description="Authorization in areas within a country" definition="Authorization in areas within a country.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductAuthorization.JurisdictionalAuthorization" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="holder" elementType="FHIR.Reference" description="Marketing Authorization Holder" definition="Marketing Authorization Holder."/>
      <element name="regulator" elementType="FHIR.Reference" description="Medicines Regulatory Agency" definition="Medicines Regulatory Agency."/>
      <element name="procedure" elementType="FHIR.MedicinalProductAuthorization.Procedure" description="The regulatory procedure for granting or amending a marketing authorization" definition="The regulatory procedure for granting or amending a marketing authorization."/>
      <search name="country" path="country" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="holder" path="holder" type="FHIR.Organization"/>
      <search name="identifier" path="identifier" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductAuthorization.JurisdictionalAuthorization" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" description="The assigned number for the marketing authorization" definition="The assigned number for the marketing authorization.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="country" elementType="FHIR.CodeableConcept" description="Country of authorization" definition="Country of authorization."/>
      <element name="jurisdiction" description="Jurisdiction within a country" definition="Jurisdiction within a country.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="legalStatusOfSupply" elementType="FHIR.CodeableConcept" description="The legal status of supply in a jurisdiction or region" definition="The legal status of supply in a jurisdiction or region."/>
      <element name="validityPeriod" elementType="FHIR.Period" description="The start and expected end date of the authorization" definition="The start and expected end date of the authorization."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductAuthorization.Procedure" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Identifier for this procedure" definition="Identifier for this procedure."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of procedure" definition="Type of procedure."/>
      <element name="date" description="Date of procedure" definition="Date of procedure.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="application" description="Applcations submitted to obtain a marketing authorization" definition="Applcations submitted to obtain a marketing authorization.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="MedicinalProductAuthorization.Procedure" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicinalProductContraindication" identifier="http://hl7.org/fhir/StructureDefinition/MedicinalProductContraindication" label="MedicinalProductContraindication" retrievable="true" xsi:type="ClassInfo">
      <element name="subject" description="The medication for which this is an indication" definition="The medication for which this is an indication.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="disease" elementType="FHIR.CodeableConcept" description="The disease, symptom or procedure for the contraindication" definition="The disease, symptom or procedure for the contraindication."/>
      <element name="diseaseStatus" elementType="FHIR.CodeableConcept" description="The status of the disease or symptom for the contraindication" definition="The status of the disease or symptom for the contraindication."/>
      <element name="comorbidity" description="A comorbidity (concurrent condition) or coinfection" definition="A comorbidity (concurrent condition) or coinfection.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="therapeuticIndication" description="Information about the use of the medicinal product in relation to other therapies as part of the indication" definition="Information about the use of the medicinal product in relation to other therapies as part of the indication.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="otherTherapy" description="Information about the use of the medicinal product in relation to other therapies described as part of the indication" definition="Information about the use of the medicinal product in relation to other therapies described as part of the indication.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductContraindication.OtherTherapy" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="population" description="The population group to which this applies" definition="The population group to which this applies.">
         <elementTypeSpecifier elementType="FHIR.Population" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductContraindication.OtherTherapy" retrievable="false" xsi:type="ClassInfo">
      <element name="therapyRelationshipType" elementType="FHIR.CodeableConcept" description="The type of relationship between the medicinal product indication or contraindication and another therapy" definition="The type of relationship between the medicinal product indication or contraindication and another therapy."/>
      <element name="medication" description="Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication" definition="Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicinalProductIndication" identifier="http://hl7.org/fhir/StructureDefinition/MedicinalProductIndication" label="MedicinalProductIndication" retrievable="true" xsi:type="ClassInfo">
      <element name="subject" description="The medication for which this is an indication" definition="The medication for which this is an indication.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="diseaseSymptomProcedure" elementType="FHIR.CodeableConcept" description="The disease, symptom or procedure that is the indication for treatment" definition="The disease, symptom or procedure that is the indication for treatment."/>
      <element name="diseaseStatus" elementType="FHIR.CodeableConcept" description="The status of the disease or symptom for which the indication applies" definition="The status of the disease or symptom for which the indication applies."/>
      <element name="comorbidity" description="Comorbidity (concurrent condition) or co-infection as part of the indication" definition="Comorbidity (concurrent condition) or co-infection as part of the indication.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="intendedEffect" elementType="FHIR.CodeableConcept" description="The intended effect, aim or strategy to be achieved by the indication" definition="The intended effect, aim or strategy to be achieved by the indication."/>
      <element name="duration" elementType="FHIR.Quantity" description="Timing or duration information as part of the indication" definition="Timing or duration information as part of the indication."/>
      <element name="otherTherapy" description="Information about the use of the medicinal product in relation to other therapies described as part of the indication" definition="Information about the use of the medicinal product in relation to other therapies described as part of the indication.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductIndication.OtherTherapy" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="undesirableEffect" description="Describe the undesirable effects of the medicinal product" definition="Describe the undesirable effects of the medicinal product.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="population" description="The population group to which this applies" definition="The population group to which this applies.">
         <elementTypeSpecifier elementType="FHIR.Population" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductIndication.OtherTherapy" retrievable="false" xsi:type="ClassInfo">
      <element name="therapyRelationshipType" elementType="FHIR.CodeableConcept" description="The type of relationship between the medicinal product indication or contraindication and another therapy" definition="The type of relationship between the medicinal product indication or contraindication and another therapy."/>
      <element name="medication" description="Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication" definition="Reference to a specific medication (active substance, medicinal product or class of products) as part of an indication or contraindication.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicinalProductIngredient" identifier="http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient" label="MedicinalProductIngredient" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Identifier for the ingredient" definition="The identifier(s) of this Ingredient that are assigned by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate."/>
      <element name="role" elementType="FHIR.CodeableConcept" description="Ingredient role e.g. Active ingredient, excipient" definition="Ingredient role e.g. Active ingredient, excipient."/>
      <element name="allergenicIndicator" elementType="FHIR.boolean" description="If the ingredient is a known or suspected allergen" definition="If the ingredient is a known or suspected allergen."/>
      <element name="manufacturer" description="Manufacturer of this Ingredient" definition="Manufacturer of this Ingredient.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="specifiedSubstance" description="A specified substance that comprises this ingredient" definition="A specified substance that comprises this ingredient.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductIngredient.SpecifiedSubstance" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="substance" elementType="FHIR.MedicinalProductIngredient.Substance" description="The ingredient substance" definition="The ingredient substance."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductIngredient.SpecifiedSubstance" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="The specified substance" definition="The specified substance."/>
      <element name="group" elementType="FHIR.CodeableConcept" description="The group of specified substance, e.g. group 1 to 4" definition="The group of specified substance, e.g. group 1 to 4."/>
      <element name="confidentiality" elementType="FHIR.CodeableConcept" description="Confidentiality level of the specified substance as the ingredient" definition="Confidentiality level of the specified substance as the ingredient."/>
      <element name="strength" description="Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product" definition="Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductIngredient.SpecifiedSubstance.Strength" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductIngredient.SpecifiedSubstance.Strength" retrievable="false" xsi:type="ClassInfo">
      <element name="presentation" elementType="FHIR.Ratio" description="The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item" definition="The quantity of substance in the unit of presentation, or in the volume (or mass) of the single pharmaceutical product or manufactured item."/>
      <element name="presentationLowLimit" elementType="FHIR.Ratio" description="A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit" definition="A lower limit for the quantity of substance in the unit of presentation. For use when there is a range of strengths, this is the lower limit, with the presentation attribute becoming the upper limit."/>
      <element name="concentration" elementType="FHIR.Ratio" description="The strength per unitary volume (or mass)" definition="The strength per unitary volume (or mass)."/>
      <element name="concentrationLowLimit" elementType="FHIR.Ratio" description="A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit" definition="A lower limit for the strength per unitary volume (or mass), for when there is a range. The concentration attribute then becomes the upper limit."/>
      <element name="measurementPoint" elementType="FHIR.string" description="For when strength is measured at a particular point or distance" definition="For when strength is measured at a particular point or distance."/>
      <element name="country" description="The country or countries for which the strength range applies" definition="The country or countries for which the strength range applies.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="referenceStrength" description="Strength expressed in terms of a reference substance" definition="Strength expressed in terms of a reference substance.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductIngredient.SpecifiedSubstance.Strength.ReferenceStrength" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductIngredient.SpecifiedSubstance.Strength.ReferenceStrength" retrievable="false" xsi:type="ClassInfo">
      <element name="substance" elementType="FHIR.CodeableConcept" description="Relevant reference substance" definition="Relevant reference substance."/>
      <element name="strength" elementType="FHIR.Ratio" description="Strength expressed in terms of a reference substance" definition="Strength expressed in terms of a reference substance."/>
      <element name="strengthLowLimit" elementType="FHIR.Ratio" description="Strength expressed in terms of a reference substance" definition="Strength expressed in terms of a reference substance."/>
      <element name="measurementPoint" elementType="FHIR.string" description="For when strength is measured at a particular point or distance" definition="For when strength is measured at a particular point or distance."/>
      <element name="country" description="The country or countries for which the strength range applies" definition="The country or countries for which the strength range applies.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductIngredient.Substance" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="The ingredient substance" definition="The ingredient substance."/>
      <element name="strength" description="Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product" definition="Quantity of the substance or specified substance present in the manufactured item or pharmaceutical product.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="MedicinalProductIngredient.SpecifiedSubstance.Strength" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicinalProductInteraction" identifier="http://hl7.org/fhir/StructureDefinition/MedicinalProductInteraction" label="MedicinalProductInteraction" retrievable="true" xsi:type="ClassInfo">
      <element name="subject" description="The medication for which this is a described interaction" definition="The medication for which this is a described interaction.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.string" description="The interaction described" definition="The interaction described."/>
      <element name="interactant" description="The specific medication, food or laboratory test that interacts" definition="The specific medication, food or laboratory test that interacts.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductInteraction.Interactant" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction" definition="The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction."/>
      <element name="effect" elementType="FHIR.CodeableConcept" description="The effect of the interaction, for example &quot;reduced gastric absorption of primary medication&quot;" definition="The effect of the interaction, for example &quot;reduced gastric absorption of primary medication&quot;."/>
      <element name="incidence" elementType="FHIR.CodeableConcept" description="The incidence of the interaction, e.g. theoretical, observed" definition="The incidence of the interaction, e.g. theoretical, observed."/>
      <element name="management" elementType="FHIR.CodeableConcept" description="Actions for managing the interaction" definition="Actions for managing the interaction."/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductInteraction.Interactant" retrievable="false" xsi:type="ClassInfo">
      <element name="item" description="The specific medication, food or laboratory test that interacts" definition="The specific medication, food or laboratory test that interacts.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicinalProductManufactured" identifier="http://hl7.org/fhir/StructureDefinition/MedicinalProductManufactured" label="MedicinalProductManufactured" retrievable="true" xsi:type="ClassInfo">
      <element name="manufacturedDoseForm" elementType="FHIR.CodeableConcept" description="Dose form as manufactured and before any transformation into the pharmaceutical product" definition="Dose form as manufactured and before any transformation into the pharmaceutical product."/>
      <element name="unitOfPresentation" elementType="FHIR.CodeableConcept" description="The “real world” units in which the quantity of the manufactured item is described" definition="The “real world” units in which the quantity of the manufactured item is described."/>
      <element name="quantity" elementType="FHIR.Quantity" description="The quantity or &quot;count number&quot; of the manufactured item" definition="The quantity or &quot;count number&quot; of the manufactured item."/>
      <element name="manufacturer" description="Manufacturer of the item (Note that this should be named &quot;manufacturer&quot; but it currently causes technical issues)" definition="Manufacturer of the item (Note that this should be named &quot;manufacturer&quot; but it currently causes technical issues).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="ingredient" description="Ingredient" definition="Ingredient.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="physicalCharacteristics" elementType="FHIR.ProdCharacteristic" description="Dimensions, color etc." definition="Dimensions, color etc."/>
      <element name="otherCharacteristics" description="Other codeable characteristics" definition="Other codeable characteristics.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicinalProductPackaged" identifier="http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged" label="MedicinalProductPackaged" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Unique identifier" definition="Unique identifier.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subject" description="The product with this is a pack for" definition="The product with this is a pack for.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Textual description" definition="Textual description."/>
      <element name="legalStatusOfSupply" elementType="FHIR.CodeableConcept" description="The legal status of supply of the medicinal product as classified by the regulator" definition="The legal status of supply of the medicinal product as classified by the regulator."/>
      <element name="marketingStatus" description="Marketing information" definition="Marketing information.">
         <elementTypeSpecifier elementType="FHIR.MarketingStatus" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="marketingAuthorization" elementType="FHIR.Reference" description="Manufacturer of this Package Item" definition="Manufacturer of this Package Item."/>
      <element name="manufacturer" description="Manufacturer of this Package Item" definition="Manufacturer of this Package Item.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="batchIdentifier" description="Batch numbering" definition="Batch numbering.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductPackaged.BatchIdentifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="packageItem" description="A packaging item, as a contained for medicine, possibly with other packaging items within" definition="A packaging item, as a contained for medicine, possibly with other packaging items within.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductPackaged.PackageItem" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="subject" path="subject" type="FHIR.MedicinalProduct"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductPackaged.BatchIdentifier" retrievable="false" xsi:type="ClassInfo">
      <element name="outerPackaging" elementType="FHIR.Identifier" description="A number appearing on the outer packaging of a specific batch" definition="A number appearing on the outer packaging of a specific batch."/>
      <element name="immediatePackaging" elementType="FHIR.Identifier" description="A number appearing on the immediate packaging (and not the outer packaging)" definition="A number appearing on the immediate packaging (and not the outer packaging)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductPackaged.PackageItem" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" description="Including possibly Data Carrier Identifier" definition="Including possibly Data Carrier Identifier.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="The physical type of the container of the medicine" definition="The physical type of the container of the medicine."/>
      <element name="quantity" elementType="FHIR.Quantity" description="The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1" definition="The quantity of this package in the medicinal product, at the current level of packaging. The outermost is always 1."/>
      <element name="material" description="Material type of the package item" definition="Material type of the package item.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="alternateMaterial" description="A possible alternate material for the packaging" definition="A possible alternate material for the packaging.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="device" description="A device accompanying a medicinal product" definition="A device accompanying a medicinal product.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="manufacturedItem" description="The manufactured item as contained in the packaged medicinal product" definition="The manufactured item as contained in the packaged medicinal product.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="packageItem" description="Allows containers within containers" definition="Allows containers within containers.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="MedicinalProductPackaged.PackageItem" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="physicalCharacteristics" elementType="FHIR.ProdCharacteristic" description="Dimensions, color etc." definition="Dimensions, color etc."/>
      <element name="otherCharacteristics" description="Other codeable characteristics" definition="Other codeable characteristics.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="shelfLifeStorage" description="Shelf Life and storage information" definition="Shelf Life and storage information.">
         <elementTypeSpecifier elementType="FHIR.ProductShelfLife" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="manufacturer" description="Manufacturer of this Package Item" definition="Manufacturer of this Package Item.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicinalProductPharmaceutical" identifier="http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical" label="MedicinalProductPharmaceutical" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="An identifier for the pharmaceutical medicinal product" definition="An identifier for the pharmaceutical medicinal product.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="administrableDoseForm" elementType="FHIR.CodeableConcept" description="The administrable dose form, after necessary reconstitution" definition="The administrable dose form, after necessary reconstitution."/>
      <element name="unitOfPresentation" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="ingredient" description="Ingredient" definition="Ingredient.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="device" description="Accompanying device" definition="Accompanying device.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="characteristics" description="Characteristics e.g. a products onset of action" definition="Characteristics e.g. a products onset of action.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductPharmaceutical.Characteristics" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="routeOfAdministration" description="The path by which the pharmaceutical product is taken into or makes contact with the body" definition="The path by which the pharmaceutical product is taken into or makes contact with the body.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductPharmaceutical.RouteOfAdministration" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="route" path="routeOfAdministration.code" type="System.Code"/>
      <search name="target-species" path="routeOfAdministration.targetSpecies.code" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductPharmaceutical.Characteristics" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="A coded characteristic" definition="A coded characteristic."/>
      <element name="status" elementType="FHIR.CodeableConcept" description="The status of characteristic e.g. assigned or pending" definition="The status of characteristic e.g. assigned or pending."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductPharmaceutical.RouteOfAdministration" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Coded expression for the route" definition="Coded expression for the route."/>
      <element name="firstDose" elementType="FHIR.Quantity" description="The first dose (dose quantity) administered in humans can be specified, for a product under investigation, using a numerical value and its unit of measurement" definition="The first dose (dose quantity) administered in humans can be specified, for a product under investigation, using a numerical value and its unit of measurement."/>
      <element name="maxSingleDose" elementType="FHIR.Quantity" description="The maximum single dose that can be administered as per the protocol of a clinical trial can be specified using a numerical value and its unit of measurement" definition="The maximum single dose that can be administered as per the protocol of a clinical trial can be specified using a numerical value and its unit of measurement."/>
      <element name="maxDosePerDay" elementType="FHIR.Quantity" description="The maximum dose per day (maximum dose quantity to be administered in any one 24-h period) that can be administered as per the protocol referenced in the clinical trial authorisation" definition="The maximum dose per day (maximum dose quantity to be administered in any one 24-h period) that can be administered as per the protocol referenced in the clinical trial authorisation."/>
      <element name="maxDosePerTreatmentPeriod" elementType="FHIR.Ratio" description="The maximum dose per treatment period that can be administered as per the protocol referenced in the clinical trial authorisation" definition="The maximum dose per treatment period that can be administered as per the protocol referenced in the clinical trial authorisation."/>
      <element name="maxTreatmentPeriod" elementType="FHIR.Duration" description="The maximum treatment period during which an Investigational Medicinal Product can be administered as per the protocol referenced in the clinical trial authorisation" definition="The maximum treatment period during which an Investigational Medicinal Product can be administered as per the protocol referenced in the clinical trial authorisation."/>
      <element name="targetSpecies" description="A species for which this route applies" definition="A species for which this route applies.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductPharmaceutical.RouteOfAdministration.TargetSpecies" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductPharmaceutical.RouteOfAdministration.TargetSpecies" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Coded expression for the species" definition="Coded expression for the species."/>
      <element name="withdrawalPeriod" description="A species specific time during which consumption of animal product is not appropriate" definition="A species specific time during which consumption of animal product is not appropriate.">
         <elementTypeSpecifier elementType="FHIR.MedicinalProductPharmaceutical.RouteOfAdministration.TargetSpecies.WithdrawalPeriod" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MedicinalProductPharmaceutical.RouteOfAdministration.TargetSpecies.WithdrawalPeriod" retrievable="false" xsi:type="ClassInfo">
      <element name="tissue" elementType="FHIR.CodeableConcept" description="Coded expression for the type of tissue for which the withdrawal period applues, e.g. meat, milk" definition="Coded expression for the type of tissue for which the withdrawal period applues, e.g. meat, milk."/>
      <element name="value" elementType="FHIR.Quantity" description="A value for the time" definition="A value for the time."/>
      <element name="supportingInformation" elementType="FHIR.string" description="Extra information about the withdrawal period" definition="Extra information about the withdrawal period."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MedicinalProductUndesirableEffect" identifier="http://hl7.org/fhir/StructureDefinition/MedicinalProductUndesirableEffect" label="MedicinalProductUndesirableEffect" retrievable="true" xsi:type="ClassInfo">
      <element name="subject" description="The medication for which this is an indication" definition="The medication for which this is an indication.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="symptomConditionEffect" elementType="FHIR.CodeableConcept" description="The symptom, condition or undesirable effect" definition="The symptom, condition or undesirable effect."/>
      <element name="classification" elementType="FHIR.CodeableConcept" description="Classification of the effect" definition="Classification of the effect."/>
      <element name="frequencyOfOccurrence" elementType="FHIR.CodeableConcept" description="The frequency of occurrence of the effect" definition="The frequency of occurrence of the effect."/>
      <element name="population" description="The population group to which this applies" definition="The population group to which this applies.">
         <elementTypeSpecifier elementType="FHIR.Population" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MessageDefinition" identifier="http://hl7.org/fhir/StructureDefinition/MessageDefinition" label="MessageDefinition" retrievable="true" primaryCodePath="event" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Business Identifier for a given MessageDefinition" definition="The business identifier that is used to reference the MessageDefinition and *is* expected to be consistent from server to server." 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Primary key for the message definition on a given server" definition="A formal identifier that is used to identify this message definition when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this message definition outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the message definition" definition="The identifier that is used to identify this version of the message definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the message definition 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 message definition 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 message definition with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this message definition (computer friendly)" definition="A natural language name identifying the message definition. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this message definition (human friendly)" definition="A short, descriptive, user-friendly title for the message definition." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="replaces" description="Takes the place of" definition="A MessageDefinition that is superseded by this definition.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this message definition. Enables tracking the life-cycle of the content." comment="Allows filtering of message definitions that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this message definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of message definitions that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the message definition 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 message definition 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 message definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the message definition." comment="Usually an organization but may be an individual. The publisher (or steward) of the message definition is the organization or individual primarily responsible for the maintenance and upkeep of the message definition. 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 message definition. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the message definition" definition="A free text natural language description of the message definition from a consumer's perspective." comment="This description can be used to capture details such as why the message definition 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 message definition 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 message definition is presumed to be the predominant language in the place the message definition was created)."/>
      <element name="useContext" description="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 message definition instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for message definition (if applicable)" definition="A legal or geographic region in which the message definition is intended to be used." comment="It may be possible for the message definition to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this message definition is defined" definition="Explanation of why this message definition is needed and why it has been designed as it has." comment="This element does not describe the usage of the message definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this message definition."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the message definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the message definition."/>
      <element name="base" elementType="FHIR.canonical" description="Definition this one is based on" definition="The MessageDefinition that is the basis for the contents of this resource."/>
      <element name="parent" description="Protocol/workflow this is part of" definition="Identifies a protocol or workflow that this MessageDefinition represents a step in." comment="It should be possible to use MessageDefinition to describe a message to be used by certain steps in a particular protocol as part of a PlanDefinition or ActivityDefinition.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="event" description="Event code  or link to the EventDefinition" definition="Event code or link to the EventDefinition.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="MessageEvent" description="One of the message events defined as part of this version of FHIR." strength="Example"/>
      </element>
      <element name="category" elementType="FHIR.MessageSignificanceCategory" description="consequence | currency | notification" definition="The impact of the content of the message.">
         <binding name="MessageSignificanceCategory" description="The impact of the content of a message." strength="Required"/>
      </element>
      <element name="focus" description="Resource(s) that are the subject of the event" definition="Identifies the resource (or resources) that are being addressed by the event.  For example, the Encounter for an admit message or two Account records for a merge.">
         <elementTypeSpecifier elementType="FHIR.MessageDefinition.Focus" xsi:type="ListTypeSpecifier"/>
         <constraint name="md-1" severity="ERROR" message="Max must be postive int or *">
            <expression language="text/fhirpath" expression="max='*' or (max.toInteger() > 0)"/>
         </constraint>
      </element>
      <element name="responseRequired" elementType="FHIR.Messageheader_Response_Request" description="always | on-error | never | on-success" definition="Declare at a message definition level whether a response is required or only upon error or success, or never." comment="This 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.">
         <binding name="messageheader-response-request" description="HL7-defined table of codes which identify conditions under which acknowledgments are required to be returned in response to a message." strength="Required"/>
      </element>
      <element name="allowedResponse" description="Responses to this message" definition="Indicates what types of messages may be sent as an application-level response to this message." comment="This indicates an application level response to &quot;close&quot; a transaction implicit in a particular request message.  To define a complete workflow scenario, look to the [[PlanDefinition]] resource which allows the definition of complex orchestrations, conditionality, etc.">
         <elementTypeSpecifier elementType="FHIR.MessageDefinition.AllowedResponse" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="graph" description="Canonical reference to a GraphDefinition" definition="Canonical reference to a GraphDefinition. If a URL is provided, it is the canonical reference to a [GraphDefinition](graphdefinition.html) that it controls what resources are to be added to the bundle when building the document. The GraphDefinition can also specify profiles that apply to the various resources.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
      <search name="focus" path="focus.code" type="System.Code"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="event" path="event" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
      <search name="parent" path="parent">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MessageDefinition.AllowedResponse" retrievable="false" xsi:type="ClassInfo">
      <element name="message" elementType="FHIR.canonical" description="Reference to allowed message definition response" definition="A reference to the message definition that must be adhered to by this supported response."/>
      <element name="situation" elementType="FHIR.markdown" description="When should this response be used" definition="Provides a description of the circumstances in which this response should be used (as opposed to one of the alternative responses)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MessageDefinition.Focus" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.ResourceType" description="Type of resource" definition="The kind of resource that must be the focus for this message." comment="Multiple focuses addressing different resources may occasionally occur.  E.g. to link or unlink a resource from a particular account or encounter, etc.">
         <binding name="ResourceType" description="One of the resource types defined as part of this version of FHIR." strength="Required"/>
      </element>
      <element name="profile" elementType="FHIR.canonical" description="Profile that must be adhered to by focus" definition="A profile that reflects constraints for the focal resource (and potentially for related resources)." comment="This should be present for most message definitions.  However, if the message focus is only a single resource and there is no need to include referenced resources or otherwise enforce the presence of particular elements, it can be omitted."/>
      <element name="min" elementType="FHIR.unsignedInt" description="Minimum number of focuses of this type" definition="Identifies the minimum number of resources of this type that must be pointed to by a message in order for it to be valid against this MessageDefinition."/>
      <element name="max" elementType="FHIR.string" description="Maximum number of focuses of this type" definition="Identifies the maximum number of resources of this type that must be pointed to by a message in order for it to be valid against this MessageDefinition."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MessageHeader" identifier="http://hl7.org/fhir/StructureDefinition/MessageHeader" label="MessageHeader" retrievable="true" xsi:type="ClassInfo">
      <element name="event" description="Code for the event this message represents or link to event definition" definition="Code that identifies the event this message represents and connects it with its definition. Events defined as part of the FHIR specification have the system value &quot;http://terminology.hl7.org/CodeSystem/message-events&quot;.  Alternatively uri to the EventDefinition." comment="The time of the event will be found in the focus resource. The time of the message will be found in [Bundle.timestamp](bundle-definitions.html#Bundle.timestamp).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="MessageEvent" description="One of the message events defined as part of this version of FHIR." strength="Example"/>
      </element>
      <element name="destination" description="Message destination application(s)" definition="The destination application which the message is intended for." comment="There SHOULD be at least one destination, but in some circumstances, the source system is unaware of any particular destination system.">
         <elementTypeSpecifier elementType="FHIR.MessageHeader.Destination" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="sender" elementType="FHIR.Reference" description="Real world sender of the message" definition="Identifies the sending system to allow the use of a trust relationship." comment="Use case is for where a (trusted) sending system is responsible for multiple organizations, and therefore cannot differentiate based on source endpoint / authentication alone."/>
      <element name="enterer" elementType="FHIR.Reference" description="The source of the data entry" definition="The person or device that performed the data entry leading to this message. When there is more than one candidate, pick the most proximal to the message. Can provide other enterers in extensions." comment="Usually only for the request but can be used in a response."/>
      <element name="author" elementType="FHIR.Reference" description="The source of the decision" definition="The logical author of the message - the person or device that decided the described event should happen. When there is more than one candidate, pick the most proximal to the MessageHeader. Can provide other authors in extensions." comment="Usually only for the request but can be used in a response."/>
      <element name="source" elementType="FHIR.MessageHeader.Source" description="Message source application" definition="The source application from which this message originated."/>
      <element name="responsible" elementType="FHIR.Reference" description="Final responsibility for event" definition="The person or organization that accepts overall responsibility for the contents of the message. The implication is that the message event happened under the policies of the responsible party." comment="Usually only for the request but can be used in a response."/>
      <element name="reason" elementType="FHIR.CodeableConcept" description="Cause of event" definition="Coded indication of the cause for the event - indicates  a reason for the occurrence of the event that is a focus of this message.">
         <binding name="EventReason" description="Reason for event occurrence." strength="Example"/>
      </element>
      <element name="response" elementType="FHIR.MessageHeader.Response" description="If this is a reply to prior message" definition="Information about the message that this message is a response to.  Only present if this message is a response."/>
      <element name="focus" description="The actual content of the message" definition="The actual data of the message - a reference to the root/focus class of the event." comment="The data is defined where the transaction type is defined. The transaction data is always included in the bundle that is the full message.  Only the root resource is specified.  The resources it references should be contained in the bundle but are not also listed here.  Multiple repetitions are allowed to cater for merges and other situations with multiple focal targets.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="definition" elementType="FHIR.canonical" description="Link to the definition for this message" definition="Permanent link to the MessageDefinition for this message."/>
      <contextRelationship context="Practitioner" relatedKeyElement="receiver"/>
      <contextRelationship context="Practitioner" relatedKeyElement="author"/>
      <contextRelationship context="Practitioner" relatedKeyElement="responsible"/>
      <contextRelationship context="Practitioner" relatedKeyElement="enterer"/>
      <contextRelationship context="Device" relatedKeyElement="target"/>
      <search name="response-id" path="response.identifier" type="System.Code"/>
      <search name="enterer" path="enterer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="responsible" path="responsible">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="receiver" path="destination.receiver">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="sender" path="sender">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="target" path="destination.target" type="FHIR.Device"/>
      <search name="event" path="event" type="System.Code"/>
      <search name="author" path="author">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="source" path="source.name" type="System.String"/>
      <search name="destination" path="destination.name" type="System.String"/>
      <search name="source-uri" path="source.endpoint" type="System.String"/>
      <search name="destination-uri" path="destination.endpoint" type="System.String"/>
      <search name="focus" path="focus">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="code" path="response.code" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MessageHeader.Destination" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Name of system" definition="Human-readable name for the target system."/>
      <element name="target" elementType="FHIR.Reference" description="Particular delivery destination within the destination" definition="Identifies the target end system in situations where the initial message transmission is to an intermediary system."/>
      <element name="endpoint" elementType="FHIR.url" description="Actual destination address or id" definition="Indicates where the message should be routed to." comment="The id may be a non-resolvable URI for systems that do not use standard network-based addresses."/>
      <element name="receiver" elementType="FHIR.Reference" description="Intended &quot;real-world&quot; recipient for the data" definition="Allows data conveyed by a message to be addressed to a particular person or department when routing to a specific application isn't sufficient."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MessageHeader.Response" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.id" description="Id of original message" definition="The MessageHeader.id of the message to which this message is a response."/>
      <element name="code" elementType="FHIR.ResponseType" description="ok | transient-error | fatal-error" definition="Code that identifies the type of response to the message - whether it was successful or not, and whether it should be resent or not." comment="This is a generic response to the request message. Specific data for the response will be found in MessageHeader.focus.">
         <binding name="ResponseType" description="The kind of response to a message." strength="Required"/>
      </element>
      <element name="details" elementType="FHIR.Reference" description="Specific list of hints/warnings/errors" definition="Full details of any issues found in the message." comment="This SHALL be contained in the bundle. If any of the issues are errors, the response code SHALL be an error."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MessageHeader.Source" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Name of system" definition="Human-readable name for the source system."/>
      <element name="software" elementType="FHIR.string" description="Name of software running the system" definition="May include configuration or other information useful in debugging."/>
      <element name="version" elementType="FHIR.string" description="Version of software running" definition="Can convey versions of multiple systems in situations where a message passes through multiple hands."/>
      <element name="contact" elementType="FHIR.ContactPoint" description="Human contact for problems" definition="An e-mail, phone, website or other contact point to use to resolve issues with message communications."/>
      <element name="endpoint" elementType="FHIR.url" description="Actual message source address or id" definition="Identifies the routing target to send acknowledgements to." comment="The id may be a non-resolvable URI for systems that do not use standard network-based addresses."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MessageSignificanceCategory" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Messageheader_Response_Request" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Meta" identifier="http://hl7.org/fhir/StructureDefinition/Meta" label="Meta" retrievable="false" xsi:type="ClassInfo">
      <element name="versionId" elementType="FHIR.id" description="Version specific identifier" definition="The version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted." comment="The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes."/>
      <element name="lastUpdated" elementType="FHIR.instant" description="When the resource version last changed" definition="When the resource last changed - e.g. when the version changed." comment="This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a [read](http.html#read) interaction."/>
      <element name="source" elementType="FHIR.uri" description="Identifies where the resource comes from" definition="A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc." comment="In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. &#xa;&#xa;This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL."/>
      <element name="profile" description="Profiles this resource claims to conform to" definition="A list of profiles (references to [StructureDefinition](structuredefinition.html#) resources) that this resource claims to conform to. The URL is a reference to [StructureDefinition.url](structuredefinition-definitions.html#StructureDefinition.url)." comment="It is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time.  The list of profile URLs is a set.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="security" description="Security Labels applied to this resource" definition="Security labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure." comment="The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="SecurityLabels" description="Security Labels from the Healthcare Privacy and Security Classification System." strength="Extensible"/>
      </element>
      <element name="tag" description="Tags applied to this resource" definition="Tags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource." comment="The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="Tags" description="Codes that represent various types of tags, commonly workflow-related; e.g. &quot;Needs review by Dr. Jones&quot;." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="MimeType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="MolecularSequence" identifier="http://hl7.org/fhir/StructureDefinition/MolecularSequence" label="MolecularSequence" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Unique ID for this particular sequence. This is a FHIR-defined id" definition="A unique identifier for this particular sequence instance. This is a FHIR-defined id.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.SequenceType" description="aa | dna | rna" definition="Amino Acid Sequence/ DNA Sequence / RNA Sequence.">
         <binding name="sequenceType" description="Type if a sequence -- DNA, RNA, or amino acid sequence." strength="Required"/>
      </element>
      <element name="coordinateSystem" elementType="FHIR.integer" description="Base number of coordinate system (0 for 0-based numbering or coordinates, inclusive start, exclusive end, 1 for 1-based numbering, inclusive start, inclusive end)" definition="Whether the sequence is numbered starting at 0 (0-based numbering or coordinates, inclusive start, exclusive end) or starting at 1 (1-based numbering, inclusive start and inclusive end)."/>
      <element name="patient" elementType="FHIR.Reference" description="Who and/or what this is about" definition="The patient whose sequencing results are described by this resource."/>
      <element name="specimen" elementType="FHIR.Reference" description="Specimen used for sequencing" definition="Specimen used for sequencing."/>
      <element name="device" elementType="FHIR.Reference" description="The method for sequencing" definition="The method for sequencing, for example, chip information."/>
      <element name="performer" elementType="FHIR.Reference" description="Who should be responsible for test result" definition="The organization or lab that should be responsible for this result."/>
      <element name="quantity" elementType="FHIR.Quantity" description="The number of copies of the sequence of interest.  (RNASeq)" definition="The number of copies of the sequence of interest. (RNASeq)."/>
      <element name="referenceSeq" elementType="FHIR.MolecularSequence.ReferenceSeq" description="A sequence used as reference" definition="A sequence that is used as a reference to describe variants that are present in a sequence analyzed.">
         <constraint name="msq-6" severity="ERROR" message="Have and only have one of the following elements in referenceSeq : 1. genomeBuild ; 2 referenceSeqId; 3. referenceSeqPointer;  4. referenceSeqString;">
            <expression language="text/fhirpath" expression="(genomeBuild.count()+referenceSeqId.count()+ referenceSeqPointer.count()+ referenceSeqString.count()) = 1"/>
         </constraint>
         <constraint name="msq-5" severity="ERROR" message="GenomeBuild and chromosome must be both contained if either one of them is contained">
            <expression language="text/fhirpath" expression="(chromosome.empty() and genomeBuild.empty()) or (chromosome.exists() and genomeBuild.exists())"/>
         </constraint>
      </element>
      <element name="variant" description="Variant in sequence" definition="The definition of variant here originates from Sequence ontology ([variant_of](http://www.sequenceontology.org/browser/current_svn/term/variant_of)). This element can represent amino acid or nucleic sequence change(including insertion,deletion,SNP,etc.)  It can represent some complex mutation or segment variation with the assist of CIGAR string.">
         <elementTypeSpecifier elementType="FHIR.MolecularSequence.Variant" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="observedSeq" elementType="FHIR.string" description="Sequence that was observed" definition="Sequence that was observed. It is the result marked by referenceSeq along with variant records on referenceSeq. This shall start from referenceSeq.windowStart and end by referenceSeq.windowEnd."/>
      <element name="quality" description="An set of value as quality of sequence" definition="An experimental feature attribute that defines the quality of the feature in a quantitative way, such as a phred quality score ([SO:0001686](http://www.sequenceontology.org/browser/current_svn/term/SO:0001686)).">
         <elementTypeSpecifier elementType="FHIR.MolecularSequence.Quality" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="readCoverage" elementType="FHIR.integer" description="Average number of reads representing a given nucleotide in the reconstructed sequence" definition="Coverage (read depth or depth) is the average number of reads representing a given nucleotide in the reconstructed sequence."/>
      <element name="repository" description="External repository which contains detailed report related with observedSeq in this resource" definition="Configurations of the external repository. The repository shall store target's observedSeq or records related with target's observedSeq.">
         <elementTypeSpecifier elementType="FHIR.MolecularSequence.Repository" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="pointer" description="Pointer to next atomic sequence" definition="Pointer to next atomic sequence which at most contains one variant.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="structureVariant" description="Structural variant" definition="Information about chromosome structure variation.">
         <elementTypeSpecifier elementType="FHIR.MolecularSequence.StructureVariant" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="variant-end" path="variant.end" type="System.Decimal"/>
      <search name="patient" path="patient" type="FHIR.Patient"/>
      <search name="referenceseqid" path="referenceSeq.referenceSeqId" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="window-end" path="referenceSeq.windowEnd" type="System.Decimal"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="variant-start" path="variant.start" type="System.Decimal"/>
      <search name="window-start" path="referenceSeq.windowStart" type="System.Decimal"/>
      <search name="chromosome" path="referenceSeq.chromosome" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MolecularSequence.Quality" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.QualityType" description="indel | snp | unknown" definition="INDEL / SNP / Undefined variant.">
         <binding name="qualityType" description="Type for quality report." strength="Required"/>
      </element>
      <element name="standardSequence" elementType="FHIR.CodeableConcept" description="Standard sequence for comparison" definition="Gold standard sequence used for comparing against.">
         <binding name="qualityStandardSequence" description="Reference identifier of the sequence that used to mark the quality of tested samples." strength="Example"/>
      </element>
      <element name="start" elementType="FHIR.integer" description="Start position of the sequence" definition="Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive."/>
      <element name="end" elementType="FHIR.integer" description="End position of the sequence" definition="End position of the sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position."/>
      <element name="score" elementType="FHIR.Quantity" description="Quality score for the comparison" definition="The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685))."/>
      <element name="method" elementType="FHIR.CodeableConcept" description="Method to get quality" definition="Which method is used to get sequence quality.">
         <binding name="qualityMethod" description="The method used to evaluate the numerical quality of the observed sequence." strength="Example"/>
      </element>
      <element name="truthTP" elementType="FHIR.decimal" description="True positives from the perspective of the truth data" definition="True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event."/>
      <element name="queryTP" elementType="FHIR.decimal" description="True positives from the perspective of the query data" definition="True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event."/>
      <element name="truthFN" elementType="FHIR.decimal" description="False negatives" definition="False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here."/>
      <element name="queryFP" elementType="FHIR.decimal" description="False positives" definition="False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here."/>
      <element name="gtFP" elementType="FHIR.decimal" description="False positives where the non-REF alleles in the Truth and Query Call Sets match" definition="The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar)."/>
      <element name="precision" elementType="FHIR.decimal" description="Precision of comparison" definition="QUERY.TP / (QUERY.TP + QUERY.FP)."/>
      <element name="recall" elementType="FHIR.decimal" description="Recall of comparison" definition="TRUTH.TP / (TRUTH.TP + TRUTH.FN)."/>
      <element name="fScore" elementType="FHIR.decimal" description="F-score" definition="Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall)."/>
      <element name="roc" elementType="FHIR.MolecularSequence.Quality.Roc" description="Receiver Operator Characteristic (ROC) Curve" definition="Receiver Operator Characteristic (ROC) Curve  to give sensitivity/specificity tradeoff."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MolecularSequence.Quality.Roc" retrievable="false" xsi:type="ClassInfo">
      <element name="score" description="Genotype quality score" definition="Invidual data point representing the GQ (genotype quality) score threshold.">
         <elementTypeSpecifier elementType="FHIR.integer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="numTP" description="Roc score true positive numbers" definition="The number of true positives if the GQ score threshold was set to &quot;score&quot; field value.">
         <elementTypeSpecifier elementType="FHIR.integer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="numFP" description="Roc score false positive numbers" definition="The number of false positives if the GQ score threshold was set to &quot;score&quot; field value.">
         <elementTypeSpecifier elementType="FHIR.integer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="numFN" description="Roc score false negative numbers" definition="The number of false negatives if the GQ score threshold was set to &quot;score&quot; field value.">
         <elementTypeSpecifier elementType="FHIR.integer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="precision" description="Precision of the GQ score" definition="Calculated precision if the GQ score threshold was set to &quot;score&quot; field value.">
         <elementTypeSpecifier elementType="FHIR.decimal" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="sensitivity" description="Sensitivity of the GQ score" definition="Calculated sensitivity if the GQ score threshold was set to &quot;score&quot; field value.">
         <elementTypeSpecifier elementType="FHIR.decimal" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="fMeasure" description="FScore of the GQ score" definition="Calculated fScore if the GQ score threshold was set to &quot;score&quot; field value.">
         <elementTypeSpecifier elementType="FHIR.decimal" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MolecularSequence.ReferenceSeq" retrievable="false" xsi:type="ClassInfo">
      <element name="chromosome" elementType="FHIR.CodeableConcept" description="Chromosome containing genetic finding" definition="Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340)).">
         <binding name="chromosome-human" description="Chromosome number for human." strength="Example"/>
      </element>
      <element name="genomeBuild" elementType="FHIR.string" description="The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'" definition="The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'.  Version number must be included if a versioned release of a primary build was used."/>
      <element name="orientation" elementType="FHIR.OrientationType" description="sense | antisense" definition="A relative reference to a DNA strand based on gene orientation. The strand that contains the open reading frame of the gene is the &quot;sense&quot; strand, and the opposite complementary strand is the &quot;antisense&quot; strand.">
         <binding name="orientationType" description="Type for orientation." strength="Required"/>
      </element>
      <element name="referenceSeqId" elementType="FHIR.CodeableConcept" description="Reference identifier" definition="Reference identifier of reference sequence submitted to NCBI. It must match the type in the MolecularSequence.type field. For example, the prefix, “NG_” identifies reference sequence for genes, “NM_” for messenger RNA transcripts, and “NP_” for amino acid sequences.">
         <binding name="sequenceReference" description="Reference identifier." strength="Example"/>
      </element>
      <element name="referenceSeqPointer" elementType="FHIR.Reference" description="A pointer to another MolecularSequence entity as reference sequence" definition="A pointer to another MolecularSequence entity as reference sequence."/>
      <element name="referenceSeqString" elementType="FHIR.string" description="A string to represent reference sequence" definition="A string like &quot;ACGT&quot;."/>
      <element name="strand" elementType="FHIR.StrandType" description="watson | crick" definition="An absolute reference to a strand. The Watson strand is the strand whose 5'-end is on the short arm of the chromosome, and the Crick strand as the one whose 5'-end is on the long arm.">
         <binding name="strandType" description="Type for strand." strength="Required"/>
      </element>
      <element name="windowStart" elementType="FHIR.integer" description="Start position of the window on the  reference sequence" definition="Start position of the window on the reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive."/>
      <element name="windowEnd" elementType="FHIR.integer" description="End position of the window on the reference sequence" definition="End position of the window on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MolecularSequence.Repository" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.RepositoryType" description="directlink | openapi | login | oauth | other" definition="Click and see / RESTful API / Need login to see / RESTful API with authentication / Other ways to see resource.">
         <binding name="repositoryType" description="Type for access of external URI." strength="Required"/>
      </element>
      <element name="url" elementType="FHIR.uri" description="URI of the repository" definition="URI of an external repository which contains further details about the genetics data."/>
      <element name="name" elementType="FHIR.string" description="Repository's name" definition="URI of an external repository which contains further details about the genetics data."/>
      <element name="datasetId" elementType="FHIR.string" description="Id of the dataset that used to call for dataset in repository" definition="Id of the variant in this external repository. The server will understand how to use this id to call for more info about datasets in external repository."/>
      <element name="variantsetId" elementType="FHIR.string" description="Id of the variantset that used to call for variantset in repository" definition="Id of the variantset in this external repository. The server will understand how to use this id to call for more info about variantsets in external repository."/>
      <element name="readsetId" elementType="FHIR.string" description="Id of the read" definition="Id of the read in this external repository."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MolecularSequence.StructureVariant" retrievable="false" xsi:type="ClassInfo">
      <element name="variantType" elementType="FHIR.CodeableConcept" description="Structural variant change type" definition="Information about chromosome structure variation DNA change type.">
         <binding name="LOINC LL379-9 answerlist" description="DNA change type." strength="Required"/>
      </element>
      <element name="exact" elementType="FHIR.boolean" description="Does the structural variant have base pair resolution breakpoints?" definition="Used to indicate if the outer and inner start-end values have the same meaning."/>
      <element name="length" elementType="FHIR.integer" description="Structural variant length" definition="Length of the variant chromosome."/>
      <element name="outer" elementType="FHIR.MolecularSequence.StructureVariant.Outer" description="Structural variant outer" definition="Structural variant outer."/>
      <element name="inner" elementType="FHIR.MolecularSequence.StructureVariant.Inner" description="Structural variant inner" definition="Structural variant inner."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MolecularSequence.StructureVariant.Inner" retrievable="false" xsi:type="ClassInfo">
      <element name="start" elementType="FHIR.integer" description="Structural variant inner start" definition="Structural variant inner start. If the coordinate system is either 0-based or 1-based, then start position is inclusive."/>
      <element name="end" elementType="FHIR.integer" description="Structural variant inner end" definition="Structural variant inner end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MolecularSequence.StructureVariant.Outer" retrievable="false" xsi:type="ClassInfo">
      <element name="start" elementType="FHIR.integer" description="Structural variant outer start" definition="Structural variant outer start. If the coordinate system is either 0-based or 1-based, then start position is inclusive."/>
      <element name="end" elementType="FHIR.integer" description="Structural variant outer end" definition="Structural variant outer end. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="MolecularSequence.Variant" retrievable="false" xsi:type="ClassInfo">
      <element name="start" elementType="FHIR.integer" description="Start position of the variant on the  reference sequence" definition="Start position of the variant on the  reference sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive."/>
      <element name="end" elementType="FHIR.integer" description="End position of the variant on the reference sequence" definition="End position of the variant on the reference sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position."/>
      <element name="observedAllele" elementType="FHIR.string" description="Allele that was observed" 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)).  Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed  sequence. When the sequence  type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end."/>
      <element name="referenceAllele" elementType="FHIR.string" description="Allele in the reference sequence" 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)). Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the reference sequence. When the sequence  type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end."/>
      <element name="cigar" elementType="FHIR.string" description="Extended CIGAR string for aligning the sequence with reference bases" definition="Extended CIGAR string for aligning the sequence with reference bases. See detailed documentation [here](http://support.illumina.com/help/SequencingAnalysisWorkflow/Content/Vault/Informatics/Sequencing_Analysis/CASAVA/swSEQ_mCA_ExtendedCIGARFormat.htm)."/>
      <element name="variantPointer" elementType="FHIR.Reference" description="Pointer to observed variant information" definition="A pointer to an Observation containing variant information."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Money" identifier="http://hl7.org/fhir/StructureDefinition/Money" label="Money" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="FHIR.decimal" description="Numerical value (with implicit precision)" definition="Numerical value (with implicit precision)." comment="Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
      <element name="currency" elementType="FHIR.CurrencyCode" description="ISO 4217 Currency Code" definition="ISO 4217 Currency Code.">
         <binding name="CurrencyCode" description="A code indicating the currency, taken from ISO 4217." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Quantity" namespace="FHIR" name="MoneyQuantity" identifier="http://hl7.org/fhir/StructureDefinition/MoneyQuantity" label="MoneyQuantity" retrievable="false" xsi:type="ClassInfo"/>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="NameUse" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="NamingSystem" identifier="http://hl7.org/fhir/StructureDefinition/NamingSystem" label="NamingSystem" retrievable="true" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Name for this naming system (computer friendly)" definition="A natural language name identifying the naming system. 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.The&quot;symbolic name&quot; for an OID would be captured as an extension."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this naming system. Enables tracking the life-cycle of the content." comment="Allows filtering of naming systems that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="kind" elementType="FHIR.NamingSystemType" description="codesystem | identifier | root" definition="Indicates the purpose for the naming system - what kinds of things does it make unique?">
         <binding name="NamingSystemType" description="Identifies the purpose of the naming system." strength="Required"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the naming system 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 naming system 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 naming system. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the naming system." comment="Usually an organization but may be an individual. The publisher (or steward) of the naming system is the organization or individual primarily responsible for the maintenance and upkeep of the naming system. 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 naming system. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="responsible" elementType="FHIR.string" description="Who maintains system namespace?" definition="The name of the organization that is responsible for issuing identifiers or codes for this namespace and ensuring their non-collision." comment="This is the primary organization.  Responsibility for some aspects of a namespace may be delegated."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="e.g. driver,  provider,  patient, bank etc." definition="Categorizes a naming system for easier search by grouping related naming systems." comment="This will most commonly be used for identifier namespaces, but categories could potentially be useful for code systems and authorities as well.">
         <binding name="IdentifierType" description="A coded type for an identifier that can be used to determine which identifier to use for a specific purpose." strength="Extensible"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the naming system" definition="A free text natural language description of the naming system from a consumer's perspective. Details about what the namespace identifies including scope, granularity, version labeling, etc." comment="This description can be used to capture details such as why the naming system 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 naming system 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 naming system is presumed to be the predominant language in the place the naming system was created)."/>
      <element name="useContext" description="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 naming system instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for naming system (if applicable)" definition="A legal or geographic region in which the naming system is intended to be used." comment="It may be possible for the naming system to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="usage" elementType="FHIR.string" description="How/where is it used" definition="Provides guidance on the use of the namespace, including the handling of formatting characters, use of upper vs. lower case, etc."/>
      <element name="uniqueId" description="Unique identifiers used for system" definition="Indicates how the system may be identified when referenced in electronic exchange." comment="Multiple identifiers may exist, either due to duplicate registration, regional rules, needs of different communication technologies, etc.">
         <elementTypeSpecifier elementType="FHIR.NamingSystem.UniqueId" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="contact" path="contact.name" type="System.String"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="id-type" path="uniqueId.type" type="System.Code"/>
      <search name="telecom" path="contact.telecom" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="period" path="uniqueId.period" type="System.DateTime"/>
      <search name="responsible" path="responsible" type="System.String"/>
      <search name="value" path="uniqueId.value" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="kind" path="kind" type="System.Code"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="NamingSystem.UniqueId" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.NamingSystemIdentifierType" description="oid | uuid | uri | other" definition="Identifies the unique identifier scheme used for this particular identifier." comment="Different identifier types may be used in different types of communications (OIDs for v3, URIs for FHIR, etc.).  Other includes RUIDs from v3, standard v2 code name strings, etc.">
         <binding name="NamingSystemIdentifierType" description="Identifies the style of unique identifier used to identify a namespace." strength="Required"/>
      </element>
      <element name="value" elementType="FHIR.string" description="The unique identifier" definition="The string that should be sent over the wire to identify the code system or identifier system." comment="If the value is a URI intended for use as FHIR system identifier, the URI should not contain &quot;\&quot; or &quot;?&quot; or &quot;,&quot; since this makes escaping very difficult."/>
      <element name="preferred" elementType="FHIR.boolean" description="Is this the id that should be used for this type" definition="Indicates whether this identifier is the &quot;preferred&quot; identifier of this type."/>
      <element name="comment" elementType="FHIR.string" description="Notes about identifier usage" definition="Notes about the past or intended usage of this identifier." comment="e.g. &quot;must be used in Germany&quot; or &quot;was initially published in error with this value&quot;."/>
      <element name="period" elementType="FHIR.Period" description="When is identifier valid?" definition="Identifies the period of time over which this identifier is considered appropriate to refer to the naming system.  Outside of this window, the identifier might be non-deterministic." comment="Within a registry, a given identifier should only be &quot;active&quot; for a single namespace at a time.  (Ideally, an identifier should only ever be associated with a single namespace across all time)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="NamingSystemIdentifierType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="NamingSystemType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Narrative" identifier="http://hl7.org/fhir/StructureDefinition/Narrative" label="Narrative" retrievable="false" xsi:type="ClassInfo">
      <element name="status" elementType="FHIR.NarrativeStatus" description="generated | extensions | additional | empty" definition="The status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.">
         <binding name="NarrativeStatus" description="The status of a resource narrative." strength="Required"/>
      </element>
      <element name="div" elementType="FHIR.xhtml" description="Limited xhtml content" definition="The actual narrative content, a stripped down version of XHTML." comment="The contents of the html element are an XHTML fragment containing only the basic html formatting elements described in chapters 7-11 and 15 of the HTML 4.0 standard, &lt;a> elements (either name or href), images and internally contained stylesheets. The XHTML content SHALL NOT contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.">
         <constraint name="txt-1" severity="ERROR" message="The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, &lt;a> elements (either name or href), images and internally contained style attributes">
            <expression language="text/fhirpath" expression="htmlChecks()"/>
         </constraint>
         <constraint name="txt-2" severity="ERROR" message="The narrative SHALL have some non-whitespace content">
            <expression language="text/fhirpath" expression="htmlChecks()"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="NarrativeStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="NoteType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="NutritiionOrderIntent" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="NutritionOrder" identifier="http://hl7.org/fhir/StructureDefinition/NutritionOrder" label="NutritionOrder" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Identifiers assigned to this order" definition="Identifiers assigned to this order by the order sender or by the order receiver." comment="The Identifier.type element can be to indicate filler vs. placer if needed.  This is explained in further detail [here](servicerequest.html#notes).">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesCanonical" description="Instantiates 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 this NutritionOrder." comment="Note: This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesUri" description="Instantiates 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 this NutritionOrder." comment="This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiates" description="Instantiates protocol or definition" definition="The URL pointing to a protocol, guideline, orderset or other definition that is adhered to in whole or in part by this NutritionOrder.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.NutritionOrderStatus" description="draft | active | on-hold | revoked | completed | entered-in-error | unknown" definition="The workflow status of the nutrition order/request." comment="Typically the system placing the order sets the status to &quot;requested&quot;. Thereafter, the order is maintained by the receiver that updates the status as the request is handled.  This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="NutritionOrderStatus" description="Codes identifying the lifecycle stage of the nutrition order." strength="Required"/>
      </element>
      <element name="intent" elementType="FHIR.NutritiionOrderIntent" description="proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option" definition="Indicates the level of authority/intentionality associated with the NutrionOrder and where the request fits into the workflow chain." comment="When resources map to this element, they are free to define as many codes as necessary to cover their space and will map to &quot;proposal, plan or order&quot;.  Can have multiple codes that map to one of these.  E.g. &quot;original order&quot;, &quot;encoded order&quot;, &quot;reflex order&quot; would all map to &quot;order&quot;.  Expectation is that the set of codes is mutually exclusive or a strict all-encompassing hierarchy.">
         <binding name="NutritiionOrderIntent" description="Codes indicating the degree of authority/intentionality associated with a nutrition order." strength="Required"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="The person who requires the diet, formula or nutritional supplement" definition="The person (patient) who needs the nutrition order for an oral diet, nutritional supplement and/or enteral or formula feeding."/>
      <element name="encounter" elementType="FHIR.Reference" description="The encounter associated with this nutrition order" definition="An encounter that provides additional information about the healthcare context in which this request is made."/>
      <element name="dateTime" elementType="FHIR.dateTime" description="Date and time the nutrition order was requested" definition="The date and time that this nutrition order was requested."/>
      <element name="orderer" elementType="FHIR.Reference" description="Who ordered the diet, formula or nutritional supplement" definition="The practitioner that holds legal responsibility for ordering the diet, nutritional supplement, or formula feedings."/>
      <element name="allergyIntolerance" description="List of the patient's food and nutrition-related allergies and intolerances" definition="A link to a record of allergies or intolerances  which should be included in the nutrition order." comment="Information on a patient's food allergies and intolerances to inform healthcare personnel about the type of foods that the patient shouldn't receive or consume.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="foodPreferenceModifier" description="Order-specific modifier about the type of food that should be given" definition="This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings." comment="Information on a patient's food preferences that inform healthcare personnel about the food that the patient should receive or consume.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="PatientDiet" description="Medical, cultural or ethical food preferences to help with catering requirements." strength="Example"/>
      </element>
      <element name="excludeFoodModifier" description="Order-specific modifier about the type of food that should not be given" definition="This modifier is used to convey Order-specific modifier about the type of oral food or oral fluids that should not be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or  Gluten-Free.  While it should not be necessary to repeat allergy or intolerance information captured in the referenced AllergyIntolerance resource in the excludeFoodModifier, this element may be used to convey additional specificity related to foods that should be eliminated from the patient’s diet for any reason.  This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings." comment="Information on a patient's food allergies, intolerances and preferences to inform healthcare personnel about the type  of foods that the patient shouldn't receive or consume.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="FoodType" description="Codes used to indicate the type of food that should NOT be given to the patient." strength="Example"/>
      </element>
      <element name="oralDiet" elementType="FHIR.NutritionOrder.OralDiet" description="Oral diet components" definition="Diet given orally in contrast to enteral (tube) feeding."/>
      <element name="supplement" description="Supplement components" definition="Oral nutritional products given in order to add further nutritional value to the patient's diet.">
         <elementTypeSpecifier elementType="FHIR.NutritionOrder.Supplement" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="enteralFormula" elementType="FHIR.NutritionOrder.EnteralFormula" description="Enteral formula components" definition="Feeding provided through the gastrointestinal tract via a tube, catheter, or stoma that delivers nutrition distal to the oral cavity."/>
      <element name="note" description="Comments" definition="Comments made about the {{title}} by the requester, performer, subject or other participants." comment="This element SHALL NOT be used to supply free text instructions for the diet which are represented in the `.oralDiet.instruction`, `supplement.instruction`, or `enteralFormula.administrationInstruction` elements.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="orderer"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="provider" path="orderer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="instantiates-canonical" path="instantiatesCanonical">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="encounter" path="encounter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="additive" path="enteralFormula.additiveType" type="System.Code"/>
      <search name="patient" path="patient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="supplement" path="supplement.type" type="System.Code"/>
      <search name="formula" path="enteralFormula.baseFormulaType" type="System.Code"/>
      <search name="instantiates-uri" path="instantiatesUri" type="System.String"/>
      <search name="oraldiet" path="oralDiet.type" type="System.Code"/>
      <search name="datetime" path="dateTime" type="System.DateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="NutritionOrder.EnteralFormula" retrievable="false" xsi:type="ClassInfo">
      <element name="baseFormulaType" elementType="FHIR.CodeableConcept" description="Type of enteral or infant formula" definition="The type of enteral or infant formula such as an adult standard formula with fiber or a soy-based infant formula.">
         <binding name="EnteralFormulaType" description="Codes for type of enteral formula to be administered to patient." strength="Example"/>
      </element>
      <element name="baseFormulaProductName" elementType="FHIR.string" description="Product or brand name of the enteral or infant formula" definition="The product or brand name of the enteral or infant formula product such as &quot;ACME Adult Standard Formula&quot;."/>
      <element name="additiveType" elementType="FHIR.CodeableConcept" description="Type of modular component to add to the feeding" definition="Indicates the type of modular component such as protein, carbohydrate, fat or fiber to be provided in addition to or mixed with the base formula.">
         <binding name="EnteralFormulaAdditiveType" description="Codes for the type of modular component such as protein, carbohydrate or fiber to be provided in addition to or mixed with the base formula." strength="Example"/>
      </element>
      <element name="additiveProductName" elementType="FHIR.string" description="Product or brand name of the modular additive" definition="The product or brand name of the type of modular component to be added to the formula."/>
      <element name="caloricDensity" elementType="FHIR.SimpleQuantity" description="Amount of energy per specified volume that is required" definition="The amount of energy (calories) that the formula should provide per specified volume, typically per mL or fluid oz.  For example, an infant may require a formula that provides 24 calories per fluid ounce or an adult may require an enteral formula that provides 1.5 calorie/mL."/>
      <element name="routeofAdministration" elementType="FHIR.CodeableConcept" description="How the formula should enter the patient's gastrointestinal tract" definition="The route or physiological path of administration into the patient's gastrointestinal  tract for purposes of providing the formula feeding, e.g. nasogastric tube.">
         <binding name="EnteralRouteOfAdministration" description="Codes specifying the route of administration of enteral formula." strength="Extensible"/>
      </element>
      <element name="administration" description="Formula feeding instruction as structured data" definition="Formula administration instructions as structured data.  This repeating structure allows for changing the administration rate or volume over time for both bolus and continuous feeding.  An example of this would be an instruction to increase the rate of continuous feeding every 2 hours." comment="See implementation notes below for further discussion on how to order continuous vs bolus enteral feeding using this resource.">
         <elementTypeSpecifier elementType="FHIR.NutritionOrder.EnteralFormula.Administration" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="maxVolumeToDeliver" elementType="FHIR.SimpleQuantity" description="Upper limit on formula volume per unit of time" definition="The maximum total quantity of formula that may be administered to a subject over the period of time, e.g. 1440 mL over 24 hours."/>
      <element name="administrationInstruction" elementType="FHIR.string" description="Formula feeding instructions expressed as text" definition="Free text formula administration, feeding instructions or additional instructions or information." comment="Free text dosage instructions can be used for cases where the instructions are too complex to code."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="NutritionOrder.EnteralFormula.Administration" retrievable="false" xsi:type="ClassInfo">
      <element name="schedule" elementType="FHIR.Timing" description="Scheduled frequency of enteral feeding" definition="The time period and frequency at which the enteral formula should be delivered to the patient."/>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="The volume of formula to provide" definition="The volume of formula to provide to the patient per the specified administration schedule."/>
      <element name="rate" description="Speed with which the formula is provided per period of time" definition="The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule." comment="Ratio is used when the quantity value in the denominator is not &quot;1&quot;, otherwise use Quantity. For example, the Ratio datatype is used for &quot;200 mL/4 hrs&quot; versus the Quantity datatype for &quot;50 mL/hr&quot;.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="SimpleQuantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="NutritionOrder.OralDiet" retrievable="false" xsi:type="ClassInfo">
      <element name="type" description="Type of oral diet or diet restrictions that describe what can be consumed orally" definition="The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="OralDiet" description="Codes used to indicate the type of diet being ordered for a patient." strength="Example"/>
      </element>
      <element name="schedule" description="Scheduled frequency of diet" definition="The time period and frequency at which the diet should be given.  The diet should be given for the combination of all schedules if more than one schedule is present.">
         <elementTypeSpecifier elementType="FHIR.Timing" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="nutrient" description="Required  nutrient modifications" definition="Class that defines the quantity and type of nutrient modifications (for example carbohydrate, fiber or sodium) required for the oral diet.">
         <elementTypeSpecifier elementType="FHIR.NutritionOrder.OralDiet.Nutrient" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="texture" description="Required  texture modifications" definition="Class that describes any texture modifications required for the patient to safely consume various types of solid foods.">
         <elementTypeSpecifier elementType="FHIR.NutritionOrder.OralDiet.Texture" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="fluidConsistencyType" description="The required consistency of fluids and liquids provided to the patient" definition="The required consistency (e.g. honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="FluidConsistencyType" description="Codes used to represent the consistency of fluids and liquids provided to the patient." strength="Example"/>
      </element>
      <element name="instruction" elementType="FHIR.string" description="Instructions or additional information about the oral diet" definition="Free text or additional instructions or information pertaining to the oral diet." comment="Free text dosage instructions can be used for cases where the instructions are too complex to code."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="NutritionOrder.OralDiet.Nutrient" retrievable="false" xsi:type="ClassInfo">
      <element name="modifier" elementType="FHIR.CodeableConcept" description="Type of nutrient that is being modified" definition="The nutrient that is being modified such as carbohydrate or sodium.">
         <binding name="NutrientModifier" description="Codes for types of nutrients that are being modified such as carbohydrate or sodium." strength="Example"/>
      </element>
      <element name="amount" elementType="FHIR.SimpleQuantity" description="Quantity of the specified nutrient" definition="The quantity of the specified nutrient to include in diet."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="NutritionOrder.OralDiet.Texture" retrievable="false" xsi:type="ClassInfo">
      <element name="modifier" elementType="FHIR.CodeableConcept" description="Code to indicate how to alter the texture of the foods, e.g. pureed" definition="Any texture modifications (for solid foods) that should be made, e.g. easy to chew, chopped, ground, and pureed." comment="Coupled with the foodType (Meat).">
         <binding name="TextureModifier" description="Codes for food consistency types or texture modifications to apply to foods." strength="Example"/>
      </element>
      <element name="foodType" elementType="FHIR.CodeableConcept" description="Concepts that are used to identify an entity that is ingested for nutritional purposes" definition="The food type(s) (e.g. meats, all foods)  that the texture modification applies to.  This could be all foods types." comment="Coupled with the `texture.modifier`; could be (All Foods).">
         <binding name="TextureModifiedFoodType" description="Codes for types of foods that are texture-modified." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="NutritionOrder.Supplement" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of supplement product requested" definition="The kind of nutritional supplement product required such as a high protein or pediatric clear liquid supplement.">
         <binding name="SupplementType" description="Codes for nutritional supplements to be provided to the patient." strength="Example"/>
      </element>
      <element name="productName" elementType="FHIR.string" description="Product or brand name of the nutritional supplement" definition="The product or brand name of the nutritional supplement such as &quot;Acme Protein Shake&quot;."/>
      <element name="schedule" description="Scheduled frequency of supplement" definition="The time period and frequency at which the supplement(s) should be given.  The supplement should be given for the combination of all schedules if more than one schedule is present.">
         <elementTypeSpecifier elementType="FHIR.Timing" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Amount of the nutritional supplement" definition="The amount of the nutritional supplement to be given."/>
      <element name="instruction" elementType="FHIR.string" description="Instructions or additional information about the oral supplement" definition="Free text or additional instructions or information pertaining to the oral supplement." comment="Free text dosage instructions can be used for cases where the instructions are too complex to code."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="NutritionOrderStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Observation" identifier="http://hl7.org/fhir/StructureDefinition/Observation" label="Observation" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for observation" definition="A unique identifier assigned to this observation.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="Fulfills plan, proposal or order" definition="A plan, proposal or order that is fulfilled in whole or in part by this event.  For example, a MedicationRequest may require a patient to have laboratory test performed before  it is dispensed.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" description="Part of referenced event" definition="A larger event of which this particular Observation is a component or step.  For example,  an observation as part of a procedure." comment="To link an Observation to an Encounter use `encounter`.  See the  [Notes](observation.html#obsgrouping) below for guidance on referencing another Observation.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ObservationStatus" description="registered | preliminary | final | amended +" definition="The status of the result value." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="ObservationStatus" description="Codes providing the status of an observation." strength="Required"/>
      </element>
      <element name="category" description="Classification of  type of observation" definition="A code that classifies the general type of observation being made." comment="In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ObservationCategory" description="Codes for high level observation categories." strength="Preferred"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Type of observation (code / type)" definition="Describes what was observed. Sometimes this is called the observation &quot;name&quot;." comment="*All* code-value and, if present, component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.">
         <binding name="ObservationCode" description="Codes identifying names of simple observations." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who and/or what the observation is about" definition="The patient, or group of patients, location, or device this observation is about and into whose record the observation is placed. If the actual focus of the observation is different from the subject (or a sample of, part, or region of the subject), the `focus` element or the `code` itself specifies the actual focus of the observation." comment="One would expect this element to be a cardinality of 1..1. The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated."/>
      <element name="focus" description="What the observation is about, when it is not about the subject of record" definition="The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record.  The focus of an observation could also be an existing condition,  an intervention, the subject's diet,  another observation of the subject,  or a body structure such as tumor or implanted device.   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 the focus." comment="Typically, an observation is made about the subject - a patient, or group of patients, location, or device - and the distinction between the subject and what is directly measured for an observation is specified in the observation code itself ( e.g., &quot;Blood Glucose&quot;) and does not need to be represented separately using this element.  Use `specimen` if a reference to a specimen is required.  If a code is required instead of a resource use either  `bodysite` for bodysites or the standard extension [focusCode](extension-observation-focuscode.html).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="encounter" elementType="FHIR.Reference" description="Healthcare event during which this observation is made" definition="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made." comment="This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter (e.g. pre-admission laboratory tests)."/>
      <element name="effective" description="Clinically relevant time/time-period for observation" definition="The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the &quot;physiologically relevant time&quot;. This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself." comment="At least a date should be present unless this observation is a historical report.  For recording imprecise or &quot;fuzzy&quot; times (For example, a blood glucose measurement taken &quot;after breakfast&quot;) use the [Timing](datatypes.html#timing) datatype which allow the measurement to be tied to regular life events.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="instant" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="issued" elementType="FHIR.instant" description="Date/Time this version was made available" definition="The date and time this version of the observation was made available to providers, typically after the results have been reviewed and verified." comment="For Observations that don’t require review and verification, it may be the same as the [`lastUpdated` ](resource-definitions.html#Meta.lastUpdated) time of the resource itself.  For Observations that do require review and verification for certain updates, it might not be the same as the `lastUpdated` time of the resource itself due to a non-clinically significant update that doesn’t require the new version to be reviewed and verified again."/>
      <element name="performer" description="Who is responsible for the observation" definition="Who was responsible for asserting the observed value as &quot;true&quot;.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="value" description="Actual result" definition="The information determined as a result of making the observation, if the information has a simple value." comment="An observation may have; 1)  a single value here, 2)  both a value and a set of related or component values,  or 3)  only a set of related or component values. If a value is present, the datatype for this element should be determined by Observation.code.  A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value.  For additional guidance, see the [Notes section](observation.html#notes) below.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SampledData" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="dataAbsentReason" elementType="FHIR.CodeableConcept" description="Why the result is missing" definition="Provides a reason why the expected value in the element Observation.value[x] is missing." comment="Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;specimen unsatisfactory&quot;.   &#xa;&#xa;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0.  Because of these options, use-case agreements are required to interpret general observations for null or exceptional values.">
         <binding name="ObservationValueAbsentReason" description="Codes specifying why the result (`Observation.value[x]`) is missing." strength="Extensible"/>
      </element>
      <element name="interpretation" description="High, low, normal, etc." definition="A categorical assessment of an observation value.  For example, high, low, normal." comment="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ObservationInterpretation" description="Codes identifying interpretations of observations." strength="Extensible"/>
      </element>
      <element name="note" description="Comments about the observation" definition="Comments about the observation or the results." comment="May include general statements about the observation, or statements about significant, unexpected or unreliable results values, or information about its source when relevant to its interpretation.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="bodySite" elementType="FHIR.CodeableConcept" description="Observed body part" definition="Indicates the site on the subject's body where the observation was made (i.e. the target site)." comment="Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.   &#xa;&#xa;If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ bodySite](extension-bodysite.html).">
         <binding name="BodySite" description="Codes describing anatomical locations. May include laterality." strength="Example"/>
      </element>
      <element name="method" elementType="FHIR.CodeableConcept" description="How it was done" definition="Indicates the mechanism used to perform the observation." comment="Only used if not implicit in code for Observation.code.">
         <binding name="ObservationMethod" description="Methods for simple observations." strength="Example"/>
      </element>
      <element name="specimen" elementType="FHIR.Reference" description="Specimen used for this observation" definition="The specimen that was used when this observation was made." comment="Should only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)."/>
      <element name="device" elementType="FHIR.Reference" description="(Measurement) Device" definition="The device used to generate the observation data." comment="Note that this is not meant to represent a device involved in the transmission of the result, e.g., a gateway.  Such devices may be documented using the Provenance resource where relevant."/>
      <element name="referenceRange" description="Provides guide for interpretation" definition="Guidance on how to interpret the value by comparison to a normal or recommended range.  Multiple reference ranges are interpreted as an &quot;OR&quot;.   In other words, to represent two distinct target populations, two `referenceRange` elements would be used." comment="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.">
         <elementTypeSpecifier elementType="FHIR.Observation.ReferenceRange" xsi:type="ListTypeSpecifier"/>
         <constraint name="obs-3" severity="ERROR" message="Must have at least a low or a high or text">
            <expression language="text/fhirpath" expression="low.exists() or high.exists() or text.exists()"/>
         </constraint>
      </element>
      <element name="hasMember" description="Related resource that belongs to the Observation group" definition="This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group." comment="When using this element, an observation will typically have either a value or a set of related resources, although both may be present in some cases.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.  Note that a system may calculate results from [QuestionnaireResponse](questionnaireresponse.html)  into a final score and represent the score as an Observation.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="derivedFrom" description="Related measurements the observation is made from" definition="The target resource that represents a measurement from which this observation value is derived. For example, a calculated anion gap or a fetal measurement based on an ultrasound image." comment="All the reference choices that are listed in this element can represent clinical observations and other measurements that may be the source for a derived value.  The most common reference will be another Observation.  For a discussion on the ways Observations can assembled in groups together, see [Notes](observation.html#obsgrouping) below.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="component" description="Component results" definition="Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations." comment="For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below.">
         <elementTypeSpecifier elementType="FHIR.Observation.Component" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="performer"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="performer"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="subject"/>
      <contextRelationship context="Device" relatedKeyElement="device"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="performer"/>
      <search name="performer" path="performer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="date" path="effective" type="System.DateTime"/>
      <search name="focus" path="focus">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="method" path="method" type="System.Code"/>
      <search name="encounter" path="encounter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="code" path="code" type="System.Code"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="derived-from" path="derivedFrom">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="part-of" path="partOf">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="combo-code" path="code|component.code" type="System.Code"/>
      <search name="data-absent-reason" path="dataAbsentReason" type="System.Code"/>
      <search name="specimen" path="specimen" type="FHIR.Specimen"/>
      <search name="component-data-absent-reason" path="component.dataAbsentReason" type="System.Code"/>
      <search name="combo-data-absent-reason" path="dataAbsentReason|component.dataAbsentReason" type="System.Code"/>
      <search name="component-code" path="component.code" type="System.Code"/>
      <search name="device" path="device">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="has-member" path="hasMember">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="based-on" path="basedOn">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Observation.Component" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Type of component observation (code / type)" definition="Describes what was observed. Sometimes this is called the observation &quot;code&quot;." comment="*All* code-value and  component.code-component.value pairs need to be taken into account to correctly understand the meaning of the observation.">
         <binding name="ObservationCode" description="Codes identifying names of simple observations." strength="Example"/>
      </element>
      <element name="value" description="Actual component result" definition="The information determined as a result of making the observation, if the information has a simple value." comment="Used when observation has a set of component observations. An observation may have both a value (e.g. an  Apgar score)  and component observations (the observations from which the Apgar score was derived). If a value is present, the datatype for this element should be determined by Observation.code. A CodeableConcept with just a text would be used instead of a string if the field was usually coded, or if the type associated with the Observation.code defines a coded value.  For additional guidance, see the [Notes section](observation.html#notes) below.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SampledData" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="dataAbsentReason" elementType="FHIR.CodeableConcept" description="Why the component result is missing" definition="Provides a reason why the expected value in the element Observation.component.value[x] is missing." comment="&quot;Null&quot; or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  &quot;detected&quot;, &quot;not detected&quot;, &quot;inconclusive&quot;, or  &quot;test not done&quot;. &#xa;&#xa;The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code &quot;error&quot; could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values.">
         <binding name="ObservationValueAbsentReason" description="Codes specifying why the result (`Observation.value[x]`) is missing." strength="Extensible"/>
      </element>
      <element name="interpretation" description="High, low, normal, etc." definition="A categorical assessment of an observation value.  For example, high, low, normal." comment="Historically used for laboratory results (known as 'abnormal flag' ),  its use extends to other use cases where coded interpretations  are relevant.  Often reported as one or more simple compact codes this element is often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ObservationInterpretation" description="Codes identifying interpretations of observations." strength="Extensible"/>
      </element>
      <element name="referenceRange" description="Provides guide for interpretation of component result" definition="Guidance on how to interpret the value by comparison to a normal or recommended range." comment="Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this might not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="Observation.ReferenceRange" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Observation.ReferenceRange" retrievable="false" xsi:type="ClassInfo">
      <element name="low" elementType="FHIR.SimpleQuantity" description="Low Range, if relevant" definition="The value of the low bound of the reference range.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is >=5 - &lt;=9). If the low bound is omitted,  it is assumed to be meaningless (e.g. reference range is &lt;=2.3)."/>
      <element name="high" elementType="FHIR.SimpleQuantity" description="High Range, if relevant" definition="The value of the high bound of the reference range.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is >=5 - &lt;=9). If the high bound is omitted,  it is assumed to be meaningless (e.g. reference range is >= 2.3)."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Reference range qualifier" definition="Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range." comment="This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed.">
         <binding name="ObservationRangeMeaning" description="Code for the meaning of a reference range." strength="Preferred"/>
      </element>
      <element name="appliesTo" description="Reference range population" definition="Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race.  Multiple `appliesTo`  are interpreted as an &quot;AND&quot; of the target populations.  For example, to represent a target population of African American females, both a code of female and a code for African American would be used." comment="This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ObservationRangeType" description="Codes identifying the population the reference range applies to." strength="Example"/>
      </element>
      <element name="age" elementType="FHIR.Range" description="Applicable age range, if relevant" definition="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so."/>
      <element name="text" elementType="FHIR.string" description="Text based reference range in an observation" definition="Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of &quot;Negative&quot; or a list or table of &quot;normals&quot;."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ObservationDataType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ObservationDefinition" identifier="http://hl7.org/fhir/StructureDefinition/ObservationDefinition" label="ObservationDefinition" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="category" description="Category of observation" definition="A code that classifies the general type of observation." comment="This element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used for one instance of ObservationDefinition. The level of granularity is defined by the category concepts in the value set.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ObservationCategory" description="Codes for high level observation categories." strength="Example"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Type of observation (code / type)" definition="Describes what will be observed. Sometimes this is called the observation &quot;name&quot;.">
         <binding name="ObservationCode" description="Codes identifying names of simple observations." strength="Example"/>
      </element>
      <element name="identifier" description="Business identifier for this ObservationDefinition instance" definition="A unique identifier assigned to this ObservationDefinition artifact.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="permittedDataType" description="Quantity | CodeableConcept | string | boolean | integer | Range | Ratio | SampledData | time | dateTime | Period" definition="The data types allowed for the value element of the instance observations conforming to this ObservationDefinition.">
         <elementTypeSpecifier elementType="FHIR.ObservationDataType" xsi:type="ListTypeSpecifier"/>
         <binding name="ObservationDataType" description="Permitted data type for observation value." strength="Required"/>
      </element>
      <element name="multipleResultsAllowed" elementType="FHIR.boolean" description="Multiple results allowed" definition="Multiple results allowed for observations conforming to this ObservationDefinition." comment="An example of observation allowing multiple results is &quot;bacteria identified by culture&quot;. Conversely, the measurement of a potassium level allows a single result."/>
      <element name="method" elementType="FHIR.CodeableConcept" description="Method used to produce the observation" definition="The method or technique used to perform the observation." comment="Only used if not implicit in observation code.">
         <binding name="ObservationMethod" description="Methods for simple observations." strength="Example"/>
      </element>
      <element name="preferredReportName" elementType="FHIR.string" description="Preferred report name" definition="The preferred name to be used when reporting the results of observations conforming to this ObservationDefinition."/>
      <element name="quantitativeDetails" elementType="FHIR.ObservationDefinition.QuantitativeDetails" description="Characteristics of quantitative results" definition="Characteristics for quantitative results of this observation."/>
      <element name="qualifiedInterval" description="Qualified range for continuous and ordinal observation results" definition="Multiple  ranges of results qualified by different contexts for ordinal or continuous observations conforming to this ObservationDefinition.">
         <elementTypeSpecifier elementType="FHIR.ObservationDefinition.QualifiedInterval" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="validCodedValueSet" elementType="FHIR.Reference" description="Value set of valid coded values for the observations conforming to this ObservationDefinition" definition="The set of valid coded results for the observations  conforming to this ObservationDefinition."/>
      <element name="normalCodedValueSet" elementType="FHIR.Reference" description="Value set of normal coded values for the observations conforming to this ObservationDefinition" definition="The set of normal coded results for the observations conforming to this ObservationDefinition."/>
      <element name="abnormalCodedValueSet" elementType="FHIR.Reference" description="Value set of abnormal coded values for the observations conforming to this ObservationDefinition" definition="The set of abnormal coded results for the observation conforming to this ObservationDefinition."/>
      <element name="criticalCodedValueSet" elementType="FHIR.Reference" description="Value set of critical coded values for the observations conforming to this ObservationDefinition" definition="The set of critical coded results for the observation conforming to this ObservationDefinition."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ObservationDefinition.QualifiedInterval" retrievable="false" xsi:type="ClassInfo">
      <element name="category" elementType="FHIR.ObservationRangeCategory" description="reference | critical | absolute" definition="The category of interval of values for continuous or ordinal observations conforming to this ObservationDefinition.">
         <binding name="ObservationRangeCategory" description="Codes identifying the category of observation range." strength="Required"/>
      </element>
      <element name="range" elementType="FHIR.Range" description="The interval itself, for continuous or ordinal observations" definition="The low and high values determining the interval. There may be only one of the two."/>
      <element name="context" elementType="FHIR.CodeableConcept" description="Range context qualifier" definition="Codes to indicate the health context the range applies to. For example, the normal or therapeutic range.">
         <binding name="ObservationRangeMeaning" description="Code identifying the health context of a range." strength="Extensible"/>
      </element>
      <element name="appliesTo" description="Targetted population of the range" definition="Codes to indicate the target population this reference range applies to." comment="If this element is not present then the global population is assumed.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ObservationRangeAppliesTo" description="Codes identifying the population the reference range applies to." strength="Example"/>
      </element>
      <element name="gender" elementType="FHIR.AdministrativeGender" description="male | female | other | unknown" definition="Sex of the population the range applies to.">
         <binding name="AdministrativeGender" description="The gender of a person used for administrative purposes." strength="Required"/>
      </element>
      <element name="age" elementType="FHIR.Range" description="Applicable age range, if relevant" definition="The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so." comment="Some analytes vary greatly over age."/>
      <element name="gestationalAge" elementType="FHIR.Range" description="Applicable gestational age range, if relevant" definition="The gestational age to which this reference range is applicable, in the context of pregnancy."/>
      <element name="condition" elementType="FHIR.string" description="Condition associated with the reference range" definition="Text based condition for which the reference range is valid."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ObservationDefinition.QuantitativeDetails" retrievable="false" xsi:type="ClassInfo">
      <element name="customaryUnit" elementType="FHIR.CodeableConcept" description="Customary unit for quantitative results" definition="Customary unit used to report quantitative results of observations conforming to this ObservationDefinition.">
         <binding name="ObservationUnit" description="Codes identifying units of measure." strength="Extensible"/>
      </element>
      <element name="unit" elementType="FHIR.CodeableConcept" description="SI unit for quantitative results" definition="SI unit used to report quantitative results of observations conforming to this ObservationDefinition.">
         <binding name="ObservationUnit" description="Codes identifying units of measure." strength="Extensible"/>
      </element>
      <element name="conversionFactor" elementType="FHIR.decimal" description="SI to Customary unit conversion factor" definition="Factor for converting value expressed with SI unit to value expressed with customary unit."/>
      <element name="decimalPrecision" elementType="FHIR.integer" description="Decimal precision of observation quantitative results" definition="Number of digits after decimal separator when the results of such observations are of type Quantity."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ObservationRangeCategory" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ObservationStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="OperationDefinition" identifier="http://hl7.org/fhir/StructureDefinition/OperationDefinition" label="OperationDefinition" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this operation definition, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this operation definition 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 operation definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the operation definition 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="version" elementType="FHIR.string" description="Business version of the operation definition" definition="The identifier that is used to identify this version of the operation definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the operation definition 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 operation definition 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 operation definition with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this operation definition (computer friendly)" definition="A natural language name identifying the operation definition. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this operation definition (human friendly)" definition="A short, descriptive, user-friendly title for the operation definition." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this operation definition. Enables tracking the life-cycle of the content." comment="Allows filtering of operation definitions that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="kind" elementType="FHIR.OperationKind" description="operation | query" definition="Whether this is an operation or a named query." comment="Named queries are invoked differently, and have different capabilities.">
         <binding name="OperationKind" description="Whether an operation is a normal operation or a query." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this operation definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of operation definitions that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the operation definition 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 operation definition 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 operation definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the operation definition." comment="Usually an organization but may be an individual. The publisher (or steward) of the operation definition is the organization or individual primarily responsible for the maintenance and upkeep of the operation definition. 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 operation definition. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the operation definition" definition="A free text natural language description of the operation definition from a consumer's perspective." comment="This description can be used to capture details such as why the operation definition 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 operation definition 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 operation definition is presumed to be the predominant language in the place the operation definition was created)."/>
      <element name="useContext" description="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 operation definition instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for operation definition (if applicable)" definition="A legal or geographic region in which the operation definition is intended to be used." comment="It may be possible for the operation definition to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this operation definition is defined" definition="Explanation of why this operation definition is needed and why it has been designed as it has." comment="This element does not describe the usage of the operation definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this operation definition."/>
      <element name="affectsState" elementType="FHIR.boolean" description="Whether content is changed by the operation" definition="Whether the operation affects state. Side effects such as producing audit trail entries do not count as 'affecting  state'." comment="What http methods can be used for the operation depends on the .affectsState value and whether the input parameters are primitive or complex:&#xa;&#xa;1. Servers SHALL support POST method for all operations.&#xa;&#xa;2. Servers SHALL support GET method if all the parameters for the operation are primitive or there are no parameters and the operation has affectsState = false."/>
      <element name="code" elementType="FHIR.code" description="Name used to invoke the operation" definition="The name used to invoke the operation."/>
      <element name="comment" elementType="FHIR.markdown" description="Additional information about use" definition="Additional information about how to use this operation or named query."/>
      <element name="base" elementType="FHIR.canonical" description="Marks this as a profile of the base" definition="Indicates that this operation definition is a constraining profile on the base." comment="A constrained profile can make optional parameters required or not used and clarify documentation."/>
      <element name="resource" description="Types this operation applies to" definition="The types on which this operation can be executed." comment="If the type is an abstract resource (&quot;Resource&quot; or &quot;DomainResource&quot;) then the operation can be invoked on any concrete specialization.">
         <elementTypeSpecifier elementType="FHIR.ResourceType" xsi:type="ListTypeSpecifier"/>
         <binding name="ResourceType" description="One of the resource types defined as part of this version of FHIR." strength="Required"/>
      </element>
      <element name="system" elementType="FHIR.boolean" description="Invoke at the system level?" definition="Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context)."/>
      <element name="type" elementType="FHIR.boolean" description="Invoke at the type level?" definition="Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a specific resource id for the context)."/>
      <element name="instance" elementType="FHIR.boolean" description="Invoke on an instance?" definition="Indicates whether this operation can be invoked on a particular instance of one of the given types."/>
      <element name="inputProfile" elementType="FHIR.canonical" description="Validation information for in parameters" definition="Additional validation information for the in parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource as a whole." comment="If present the profile shall not conflict with what is specified in the parameters in the operation definition (max/min etc.), though it may provide additional constraints. The constraints expressed in the profile apply whether the operation is invoked by a POST wih parameters or not."/>
      <element name="outputProfile" elementType="FHIR.canonical" description="Validation information for out parameters" definition="Additional validation information for the out parameters - a single profile that covers all the parameters. The profile is a constraint on the parameters resource." comment="If present the profile shall not conflict with what is specified in the parameters in the operation definition (max/min etc.), though it may provide additional constraints. The constraints expressed in the profile apply whether the operation is invoked by a POST wih parameters or not."/>
      <element name="parameter" description="Parameters for the operation/query" definition="The parameters for the operation/query." comment="Query Definitions only have one output parameter, named &quot;result&quot;. This might not be described, but can be to allow a profile to be defined.">
         <elementTypeSpecifier elementType="FHIR.OperationDefinition.Parameter" xsi:type="ListTypeSpecifier"/>
         <constraint name="opd-1" severity="ERROR" message="Either a type must be provided, or parts">
            <expression language="text/fhirpath" expression="type.exists() or part.exists()"/>
         </constraint>
         <constraint name="opd-2" severity="ERROR" message="A search type can only be specified for parameters of type string">
            <expression language="text/fhirpath" expression="searchType.exists() implies type = 'string'"/>
         </constraint>
         <constraint name="opd-3" severity="ERROR" message="A targetProfile can only be specified for parameters of type Reference or Canonical">
            <expression language="text/fhirpath" expression="targetProfile.exists() implies (type = 'Reference' or type = 'canonical')"/>
         </constraint>
      </element>
      <element name="overload" description="Define overloaded variants for when  generating code" definition="Defines an appropriate combination of parameters to use when invoking this operation, to help code generators when generating overloaded parameter sets for this operation." comment="The combinations are suggestions as to which sets of parameters to use together, but the combinations are not intended to be authoritative.">
         <elementTypeSpecifier elementType="FHIR.OperationDefinition.Overload" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="output-profile" path="outputProfile" type="FHIR.StructureDefinition"/>
      <search name="url" path="url" type="System.String"/>
      <search name="system" path="system" type="System.Code"/>
      <search name="kind" path="kind" type="System.Code"/>
      <search name="instance" path="instance" type="System.Code"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="code" path="code" type="System.Code"/>
      <search name="base" path="base" type="FHIR.OperationDefinition"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="input-profile" path="inputProfile" type="FHIR.StructureDefinition"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="OperationDefinition.Overload" retrievable="false" xsi:type="ClassInfo">
      <element name="parameterName" description="Name of parameter to include in overload" definition="Name of parameter to include in overload.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="comment" elementType="FHIR.string" description="Comments to go on overload" definition="Comments to go on overload."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="OperationDefinition.Parameter" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.code" description="Name in Parameters.parameter.name or in URL" definition="The name of used to identify the parameter." comment="This name must be a token (start with a letter in a..z, and only contain letters, numerals, and underscore. Note that for search parameters (type = string, with a search type), the name may be altered by the search modifiers."/>
      <element name="use" elementType="FHIR.OperationParameterUse" description="in | out" definition="Whether this is an input or an output parameter." comment="If a parameter name is used for both an input and an output parameter, the parameter should be defined twice.">
         <binding name="OperationParameterUse" description="Whether an operation parameter is an input or an output parameter." strength="Required"/>
      </element>
      <element name="min" elementType="FHIR.integer" description="Minimum Cardinality" definition="The minimum number of times this parameter SHALL appear in the request or response."/>
      <element name="max" elementType="FHIR.string" description="Maximum Cardinality (a number or *)" definition="The maximum number of times this element is permitted to appear in the request or response."/>
      <element name="documentation" elementType="FHIR.string" description="Description of meaning/use" definition="Describes the meaning or use of this parameter."/>
      <element name="type" elementType="FHIR.FHIRAllTypes" description="What type this parameter has" definition="The type for this parameter." comment="if there is no stated parameter, then the parameter is a multi-part parameter; type and must have at least one part defined.">
         <binding name="FHIRAllTypes" description="A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types." strength="Required"/>
      </element>
      <element name="targetProfile" description="If type is Reference | canonical, allowed targets" definition="Used when the type is &quot;Reference&quot; or &quot;canonical&quot;, and identifies a profile structure or implementation Guide that applies to the target of the reference this parameter 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 target resource SHALL conform to at least one profile defined in the implementation guide." comment="Often, these profiles are the base definitions from the spec (e.g. http://hl7.org/fhir/StructureDefinition/Patient).">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="searchType" elementType="FHIR.SearchParamType" description="number | date | string | token | reference | composite | quantity | uri | special" definition="How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'.">
         <binding name="SearchParamType" description="Data types allowed to be used for search parameters." strength="Required"/>
      </element>
      <element name="binding" elementType="FHIR.OperationDefinition.Parameter.Binding" description="ValueSet details if this is coded" definition="Binds to a value set if this parameter is coded (code, Coding, CodeableConcept)."/>
      <element name="referencedFrom" description="References to this parameter" definition="Identifies other resource parameters within the operation invocation that are expected to resolve to this resource." comment="Resolution applies if the referenced parameter exists.">
         <elementTypeSpecifier elementType="FHIR.OperationDefinition.Parameter.ReferencedFrom" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="part" description="Parts of a nested Parameter" definition="The parts of a nested Parameter." comment="Query Definitions only have one output parameter, named &quot;result&quot;. This might not be described, but can be to allow a profile to be defined.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="OperationDefinition.Parameter" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="OperationDefinition.Parameter.Binding" retrievable="false" xsi:type="ClassInfo">
      <element name="strength" elementType="FHIR.BindingStrength" description="required | extensible | preferred | example" definition="Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances." comment="For further discussion, see [Using Terminologies](terminologies.html).">
         <binding name="BindingStrength" description="Indication of the degree of conformance expectations associated with a binding." strength="Required"/>
      </element>
      <element name="valueSet" elementType="FHIR.canonical" description="Source of value set" definition="Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used." comment="For value sets with a referenceResource, the display can contain the value set description.  The reference may be version-specific or not."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="OperationDefinition.Parameter.ReferencedFrom" retrievable="false" xsi:type="ClassInfo">
      <element name="source" elementType="FHIR.string" description="Referencing parameter" definition="The name of the parameter or dot-separated path of parameter names pointing to the resource parameter that is expected to contain a reference to this resource."/>
      <element name="sourceId" elementType="FHIR.string" description="Element id of reference" definition="The id of the element in the referencing resource that is expected to resolve to this resource."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="OperationKind" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="OperationOutcome" identifier="http://hl7.org/fhir/StructureDefinition/OperationOutcome" label="OperationOutcome" retrievable="true" primaryCodePath="issue.code" xsi:type="ClassInfo">
      <element name="issue" description="A single issue associated with the action" definition="An error, warning, or information message that results from a system action.">
         <elementTypeSpecifier elementType="FHIR.OperationOutcome.Issue" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="OperationOutcome.Issue" retrievable="false" xsi:type="ClassInfo">
      <element name="severity" elementType="FHIR.IssueSeverity" description="fatal | error | warning | information" definition="Indicates whether the issue indicates a variation from successful processing." comment="This is labeled as &quot;Is Modifier&quot; because applications should not confuse hints and warnings with errors.">
         <binding name="IssueSeverity" description="How the issue affects the success of the action." strength="Required"/>
      </element>
      <element name="code" elementType="FHIR.IssueType" description="Error or warning code" definition="Describes the type of the issue. The system that creates an OperationOutcome SHALL choose the most applicable code from the IssueType value set, and may additional provide its own code for the error in the details element.">
         <binding name="IssueType" description="A code that describes the type of issue." strength="Required"/>
      </element>
      <element name="details" elementType="FHIR.CodeableConcept" description="Additional details about the error" definition="Additional details about the error. This may be a text description of the error or a system code that identifies the error." comment="A human readable description of the error issue SHOULD be placed in details.text.">
         <binding name="IssueDetails" description="A code that provides details as the exact issue." strength="Example"/>
      </element>
      <element name="diagnostics" elementType="FHIR.string" description="Additional diagnostic information about the issue" definition="Additional diagnostic information about the issue." comment="This may be a description of how a value is erroneous, a stack dump to help trace the issue or other troubleshooting information."/>
      <element name="location" description="Deprecated: Path of element(s) related to issue" definition="This element is deprecated because it is XML specific. It is replaced by issue.expression, which is format independent, and simpler to parse. &#xa;&#xa;For resource issues, this will be a simple XPath limited to element names, repetition indicators and the default child accessor that identifies one of the elements in the resource that caused this issue to be raised.  For HTTP errors, will be &quot;http.&quot; + the parameter name." comment="The root of the XPath is the resource or bundle that generated OperationOutcome.  Each XPath SHALL resolve to a single node.  This element is deprecated, and is being replaced by expression.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="expression" description="FHIRPath of element(s) related to issue" definition="A [simple subset of FHIRPath](fhirpath.html#simple) limited to element names, repetition indicators and the default child accessor that identifies one of the elements in the resource that caused this issue to be raised." comment="The root of the FHIRPath is the resource or bundle that generated OperationOutcome.  Each FHIRPath SHALL resolve to a single node.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="OperationParameterUse" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Organization" identifier="http://hl7.org/fhir/StructureDefinition/Organization" label="Organization" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Identifies this organization  across multiple systems" definition="Identifier for the organization that is used to identify the organization across multiple disparate systems.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="active" elementType="FHIR.boolean" description="Whether the organization's record is still in active use" definition="Whether the organization's record is still in active use." comment="This active flag is not intended to be used to mark an organization as temporarily closed or under construction. Instead the Location(s) within the Organization should have the suspended status. If further details of the reason for the suspension are required, then an extension on this element should be used.&#xa;&#xa;This element is labeled as a modifier because it may be used to mark that the resource was created in error."/>
      <element name="type" description="Kind of organization" definition="The kind(s) of organization that this is." comment="Organizations can be corporations, wards, sections, clinical teams, government departments, etc. Note that code is generally a classifier of the type of organization; in many applications, codes are used to identity a particular organization (say, ward) as opposed to another of the same type - these are identifiers, not codes&#xa;&#xa;When considering if multiple types are appropriate, you should evaluate if child organizations would be a more appropriate use of the concept, as different types likely are in different sub-areas of the organization. This is most likely to be used where type values have orthogonal values, such as a religious, academic and medical center.&#xa;&#xa;We expect that some jurisdictions will profile this optionality to be a single cardinality.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="OrganizationType" description="Used to categorize the organization." strength="Example"/>
      </element>
      <element name="name" elementType="FHIR.string" description="Name used for the organization" definition="A name associated with the organization." comment="If the name of an organization changes, consider putting the old name in the alias column so that it can still be located through searches."/>
      <element name="alias" description="A list of alternate names that the organization is known as, or was known as in the past" definition="A list of alternate names that the organization is known as, or was known as in the past." comment="There are no dates associated with the alias/historic names, as this is not intended to track when names were used, but to assist in searching so that older names can still result in identifying the organization.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="telecom" description="A contact detail for the organization" definition="A contact detail for the organization." comment="The use code 'home' is not to be used. Note that these contacts are not the contact details of people who are employed by or represent the organization, but official contacts for the organization itself.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
         <constraint name="org-3" severity="ERROR" message="The telecom of an organization can never be of use 'home'">
            <expression language="text/fhirpath" expression="where(use = 'home').empty()"/>
         </constraint>
      </element>
      <element name="address" description="An address for the organization" definition="An address for the organization." comment="Organization may have multiple addresses with different uses or applicable periods. The use code 'home' is not to be used.">
         <elementTypeSpecifier elementType="FHIR.Address" xsi:type="ListTypeSpecifier"/>
         <constraint name="org-2" severity="ERROR" message="An address of an organization can never be of use 'home'">
            <expression language="text/fhirpath" expression="where(use = 'home').empty()"/>
         </constraint>
      </element>
      <element name="partOf" elementType="FHIR.Reference" description="The organization of which this organization forms a part" definition="The organization of which this organization forms a part."/>
      <element name="contact" description="Contact for the organization for a certain purpose" definition="Contact for the organization for a certain purpose." comment="Where multiple contacts for the same purpose are provided there is a standard extension that can be used to determine which one is the preferred contact to use.">
         <elementTypeSpecifier elementType="FHIR.Organization.Contact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endpoint" description="Technical endpoints providing access to services operated for the organization" definition="Technical endpoints providing access to services operated for the organization.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="address-state" path="address.state" type="System.String"/>
      <search name="address-country" path="address.country" type="System.String"/>
      <search name="active" path="active" type="System.Code"/>
      <search name="name" path="name|alias" type="System.String"/>
      <search name="address-use" path="address.use" type="System.Code"/>
      <search name="phonetic" path="name" type="System.String"/>
      <search name="address-postalcode" path="address.postalCode" type="System.String"/>
      <search name="address" path="address" type="System.String"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="address-city" path="address.city" type="System.String"/>
      <search name="endpoint" path="endpoint" type="FHIR.Endpoint"/>
      <search name="partof" path="partOf" type="FHIR.Organization"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Organization.Contact" retrievable="false" xsi:type="ClassInfo">
      <element name="purpose" elementType="FHIR.CodeableConcept" description="The type of contact" definition="Indicates a purpose for which the contact can be reached.">
         <binding name="ContactPartyType" description="The purpose for which you would contact a contact party." strength="Extensible"/>
      </element>
      <element name="name" elementType="FHIR.HumanName" description="A name associated with the contact" definition="A name associated with the contact."/>
      <element name="telecom" description="Contact details (telephone, email, etc.)  for a contact" definition="A contact detail (e.g. a telephone number or an email address) by which the party may be contacted.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="address" elementType="FHIR.Address" description="Visiting or postal addresses for the contact" definition="Visiting or postal addresses for the contact."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="OrganizationAffiliation" identifier="http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation" label="OrganizationAffiliation" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifiers that are specific to this role" definition="Business identifiers that are specific to this role.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="active" elementType="FHIR.boolean" description="Whether this organization affiliation record is in active use" definition="Whether this organization affiliation record is in active use." comment="If this value is false, you may refer to the period to see when the role was in active use. If there is no period specified, no inference can be made about when it was active."/>
      <element name="period" elementType="FHIR.Period" description="The period during which the participatingOrganization is affiliated with the primary organization" definition="The period during which the participatingOrganization is affiliated with the primary organization."/>
      <element name="organization" elementType="FHIR.Reference" description="Organization where the role is available" definition="Organization where the role is available (primary organization/has members)."/>
      <element name="participatingOrganization" elementType="FHIR.Reference" description="Organization that provides/performs the role (e.g. providing services or is a member of)" definition="The Participating Organization provides/performs the role(s) defined by the code to the Primary Organization (e.g. providing services or is a member of)."/>
      <element name="network" description="Health insurance provider network in which the participatingOrganization provides the role's services (if defined) at the indicated locations (if defined)" definition="Health insurance provider network in which the participatingOrganization provides the role's services (if defined) at the indicated locations (if defined).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="code" description="Definition of the role the participatingOrganization plays" definition="Definition of the role the participatingOrganization plays in the association.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="OrganizationAffiliation" description="The role the participating organization providing services to the primary organization." strength="Example"/>
      </element>
      <element name="specialty" description="Specific specialty of the participatingOrganization in the context of the role" definition="Specific specialty of the participatingOrganization in the context of the role.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="OrganizationSpecialty" description="Specific specialty associated with the participating organization." strength="Preferred"/>
      </element>
      <element name="location" description="The location(s) at which the role occurs" definition="The location(s) at which the role occurs.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="healthcareService" description="Healthcare services provided through the role" definition="Healthcare services provided through the role.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="telecom" description="Contact details at the participatingOrganization relevant to this Affiliation" definition="Contact details at the participatingOrganization relevant to this Affiliation.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endpoint" description="Technical endpoints providing access to services operated for this role" definition="Technical endpoints providing access to services operated for this role.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="endpoint" path="endpoint" type="FHIR.Endpoint"/>
      <search name="location" path="location" type="FHIR.Location"/>
      <search name="telecom" path="telecom" type="System.Code"/>
      <search name="network" path="network" type="FHIR.Organization"/>
      <search name="primary-organization" path="organization" type="FHIR.Organization"/>
      <search name="participating-organization" path="participatingOrganization" type="FHIR.Organization"/>
      <search name="service" path="healthcareService" type="FHIR.HealthcareService"/>
      <search name="email" path="telecom.where(system='email')" type="System.Code"/>
      <search name="role" path="code" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="date" path="period" type="System.DateTime"/>
      <search name="specialty" path="specialty" type="System.Code"/>
      <search name="active" path="active" type="System.Code"/>
      <search name="phone" path="telecom.where(system='phone')" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="OrientationType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ParameterDefinition" identifier="http://hl7.org/fhir/StructureDefinition/ParameterDefinition" label="ParameterDefinition" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.code" description="Name used to access the parameter value" definition="The name of the parameter used to allow access to the value of the parameter in evaluation contexts."/>
      <element name="use" elementType="FHIR.ParameterUse" description="in | out" definition="Whether the parameter is input or output for the module.">
         <binding name="ParameterUse" description="Whether the parameter is input or output." strength="Required"/>
      </element>
      <element name="min" elementType="FHIR.integer" description="Minimum cardinality" definition="The minimum number of times this parameter SHALL appear in the request or response."/>
      <element name="max" elementType="FHIR.string" description="Maximum cardinality (a number of *)" definition="The maximum number of times this element is permitted to appear in the request or response."/>
      <element name="documentation" elementType="FHIR.string" description="A brief description of the parameter" definition="A brief discussion of what the parameter is for and how it is used by the module."/>
      <element name="type" elementType="FHIR.FHIRAllTypes" description="What type of value" definition="The type of the parameter.">
         <binding name="FHIRAllTypes" description="A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types." strength="Required"/>
      </element>
      <element name="profile" elementType="FHIR.canonical" description="What profile the value is expected to be" definition="If specified, this indicates a profile that the input data must conform to, or that the output data will conform to."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ParameterUse" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Resource" namespace="FHIR" name="Parameters" identifier="http://hl7.org/fhir/StructureDefinition/Parameters" label="Parameters" retrievable="true" xsi:type="ClassInfo">
      <element name="parameter" description="Operation Parameter" definition="A parameter passed to or received from the operation.">
         <elementTypeSpecifier elementType="FHIR.Parameters.Parameter" xsi:type="ListTypeSpecifier"/>
         <constraint name="inv-1" severity="ERROR" message="A parameter must have one and only one of (value, resource, part)">
            <expression language="text/fhirpath" expression="(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Parameters.Parameter" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Name from the definition" definition="The name of the parameter (reference to the operation definition)."/>
      <element name="value" description="If parameter is a data type" definition="If the parameter is a data type.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="base64Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="code" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="id" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="instant" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="markdown" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="oid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="url" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uuid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Annotation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactPoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Count" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Distance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HumanName" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Identifier" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SampledData" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Signature" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactDetail" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contributor" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DataRequirement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Expression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ParameterDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedArtifact" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TriggerDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="UsageContext" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Dosage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Meta" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="resource" elementType="FHIR.Resource" description="If parameter is a whole resource" definition="If the parameter is a whole resource." comment="When resolving references in resources, the operation definition may specify how references may be resolved between parameters. If a reference cannot be resolved between the parameters, the application should fall back to it's general resource resolution methods."/>
      <element name="part" description="Named part of a multi-part parameter" definition="A named part of a multi-part parameter." comment="Only one level of nested parameters is allowed.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="Parameters.Parameter" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ParticipantRequired" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ParticipantStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ParticipationStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Patient" identifier="http://hl7.org/fhir/StructureDefinition/Patient" label="Patient" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="An identifier for this patient" definition="An identifier for this patient.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="active" elementType="FHIR.boolean" description="Whether this patient's record is in active use" definition="Whether this patient record is in active use. &#xa;Many systems use this property to mark as non-current patients, such as those that have not been seen for a period of time based on an organization's business rules.&#xa;&#xa;It is often used to filter patient lists to exclude inactive patients&#xa;&#xa;Deceased patients may also be marked as inactive for the same reasons, but may be active for some time after death." comment="If a record is inactive, and linked to an active record, then future patient/record updates should occur on the other patient."/>
      <element name="name" description="A name associated with the patient" definition="A name associated with the individual." comment="A patient may have multiple names with different uses or applicable periods. For animals, the name is a &quot;HumanName&quot; in the sense that is assigned and used by humans and has the same patterns.">
         <elementTypeSpecifier elementType="FHIR.HumanName" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="telecom" description="A contact detail for the individual" definition="A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted." comment="A Patient may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently and also to help with identification. The address might not go directly to the individual, but may reach another party that is able to proxy for the patient (i.e. home phone, or pet owner's phone).">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="gender" elementType="FHIR.AdministrativeGender" description="male | female | other | unknown" definition="Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes." comment="The gender might not match the biological sex as determined by genetics or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than male and female, though the vast majority of systems and contexts only support male and female.  Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific sex or gender aspect of interest (anatomical, chromosomal, social, etc.)  However, because these observations are infrequently recorded, defaulting to the administrative gender is common practice.  Where such defaulting occurs, rule enforcement should allow for the variation between administrative and biological, chromosomal and other gender aspects.  For example, an alert about a hysterectomy on a male should be handled as a warning or overridable error, not a &quot;hard&quot; error.  See the Patient Gender and Sex section for additional information about communicating patient gender and sex.">
         <binding name="AdministrativeGender" description="The gender of a person used for administrative purposes." strength="Required"/>
      </element>
      <element name="birthDate" elementType="FHIR.date" description="The date of birth for the individual" definition="The date of birth for the individual." comment="At least an estimated year should be provided as a guess if the real DOB is unknown  There is a standard extension &quot;patient-birthTime&quot; available that should be used where Time is required (such as in maternity/infant care systems)."/>
      <element name="deceased" description="Indicates if the individual is deceased or not" definition="Indicates if the individual is deceased or not." comment="If there's no value in the instance, it means there is no statement on whether or not the individual is deceased. Most systems will interpret the absence of a value as a sign of the person being alive.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="address" description="An address for the individual" definition="An address for the individual." comment="Patient may have multiple addresses with different uses or applicable periods.">
         <elementTypeSpecifier elementType="FHIR.Address" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="maritalStatus" elementType="FHIR.CodeableConcept" description="Marital (civil) status of a patient" definition="This field contains a patient's most recent marital (civil) status.">
         <binding name="MaritalStatus" description="The domestic partnership status of a person." strength="Extensible"/>
      </element>
      <element name="multipleBirth" description="Whether patient is part of a multiple birth" definition="Indicates whether the patient is part of a multiple (boolean) or indicates the actual birth order (integer)." comment="Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in triplets would be valueInteger=2 and the third born would have valueInteger=3 If a boolean value was provided for this triplets example, then all 3 patient records would have valueBoolean=true (the ordering is not indicated).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="photo" description="Image of the patient" definition="Image of the patient." comment="Guidelines:&#xa;* Use id photos, not clinical photos.&#xa;* Limit dimensions to thumbnail.&#xa;* Keep byte count low to ease resource updates.">
         <elementTypeSpecifier elementType="FHIR.Attachment" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="contact" description="A contact party (e.g. guardian, partner, friend) for the patient" definition="A contact party (e.g. guardian, partner, friend) for the patient." comment="Contact covers all kinds of contact parties: family members, business contacts, guardians, caregivers. Not applicable to register pedigree and family ties beyond use of having contact.">
         <elementTypeSpecifier elementType="FHIR.Patient.Contact" xsi:type="ListTypeSpecifier"/>
         <constraint name="pat-1" severity="ERROR" message="SHALL at least contain a contact's details or a reference to an organization">
            <expression language="text/fhirpath" expression="name.exists() or telecom.exists() or address.exists() or organization.exists()"/>
         </constraint>
      </element>
      <element name="communication" description="A language which may be used to communicate with the patient about his or her health" definition="A language which may be used to communicate with the patient about his or her health." comment="If no language is specified, this *implies* that the default local language is spoken.  If you need to convey proficiency for multiple modes, then you need multiple Patient.Communication associations.   For animals, language is not a relevant field, and should be absent from the instance. If the Patient does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.">
         <elementTypeSpecifier elementType="FHIR.Patient.Communication" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="generalPractitioner" description="Patient's nominated primary care provider" definition="Patient's nominated care provider." comment="This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disability setting, or even organization that will provide people to perform the care provider roles.  It is not to be used to record Care Teams, these should be in a CareTeam resource that may be linked to the CarePlan or EpisodeOfCare resources.&#xa;Multiple GPs may be recorded against the patient for various reasons, such as a student that has his home GP listed along with the GP at university during the school semesters, or a &quot;fly-in/fly-out&quot; worker that has the onsite GP also included with his home GP to remain aware of medical issues.&#xa;&#xa;Jurisdictions may decide that they can profile this down to 1 if desired, or 1 per type.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="managingOrganization" elementType="FHIR.Reference" description="Organization that is the custodian of the patient record" definition="Organization that is the custodian of the patient record." comment="There is only one managing organization for a specific patient record. Other organizations will have their own Patient record, and may use the Link property to join the records together (or a Person resource which can include confidence ratings for the association)."/>
      <element name="link" description="Link to another patient resource that concerns the same actual person" definition="Link to another patient resource that concerns the same actual patient." comment="There is no assumption that linked patient records have mutual links.">
         <elementTypeSpecifier elementType="FHIR.Patient.Link" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="generalPractitioner"/>
      <contextRelationship context="Patient" relatedKeyElement="other"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="other"/>
      <search name="phone" path="telecom.where(system='phone')" type="System.Code"/>
      <search name="address-postalcode" path="address.postalCode" type="System.String"/>
      <search name="address" path="address" type="System.String"/>
      <search name="active" path="active" type="System.Code"/>
      <search name="given" path="name.given" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="telecom" path="telecom" type="System.Code"/>
      <search name="address-use" path="address.use" type="System.Code"/>
      <search name="address-state" path="address.state" type="System.String"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="birthdate" path="birthDate" type="System.DateTime"/>
      <search name="address-country" path="address.country" type="System.String"/>
      <search name="family" path="name.family" type="System.String"/>
      <search name="deceased" path="deceased.exists() and Patient.deceased != false" type="System.Code"/>
      <search name="address-city" path="address.city" type="System.String"/>
      <search name="general-practitioner" path="generalPractitioner">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="phonetic" path="name" type="System.String"/>
      <search name="organization" path="managingOrganization" type="FHIR.Organization"/>
      <search name="email" path="telecom.where(system='email')" type="System.Code"/>
      <search name="gender" path="gender" type="System.Code"/>
      <search name="link" path="link.other">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="language" path="communication.language" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Patient.Communication" retrievable="false" xsi:type="ClassInfo">
      <element name="language" elementType="FHIR.CodeableConcept" description="The language which can be used to communicate with the patient about his or her health" definition="The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. &quot;en&quot; for English, or &quot;en-US&quot; for American English versus &quot;en-EN&quot; for England English." comment="The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.">
         <binding name="Language" description="A human language." strength="Preferred"/>
      </element>
      <element name="preferred" elementType="FHIR.boolean" description="Language preference indicator" definition="Indicates whether or not the patient prefers this language (over other languages he masters up a certain level)." comment="This language is specifically identified for communicating healthcare information."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Patient.Contact" retrievable="false" xsi:type="ClassInfo">
      <element name="relationship" description="The kind of relationship" definition="The nature of the relationship between the patient and the contact person.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ContactRelationship" description="The nature of the relationship between a patient and a contact person for that patient." strength="Extensible"/>
      </element>
      <element name="name" elementType="FHIR.HumanName" description="A name associated with the contact person" definition="A name associated with the contact person."/>
      <element name="telecom" description="A contact detail for the person" definition="A contact detail for the person, e.g. a telephone number or an email address." comment="Contact may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently, and also to help with identification.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="address" elementType="FHIR.Address" description="Address for the contact person" definition="Address for the contact person."/>
      <element name="gender" elementType="FHIR.AdministrativeGender" description="male | female | other | unknown" definition="Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.">
         <binding name="AdministrativeGender" description="The gender of a person used for administrative purposes." strength="Required"/>
      </element>
      <element name="organization" elementType="FHIR.Reference" description="Organization that is associated with the contact" definition="Organization on behalf of which the contact is acting or for which the contact is working."/>
      <element name="period" elementType="FHIR.Period" description="The period during which this contact person or organization is valid to be contacted relating to this patient" definition="The period during which this contact person or organization is valid to be contacted relating to this patient."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Patient.Link" retrievable="false" xsi:type="ClassInfo">
      <element name="other" elementType="FHIR.Reference" description="The other patient or related person resource that the link refers to" definition="The other patient resource that the link refers to." comment="Referencing a RelatedPerson here removes the need to use a Person record to associate a Patient and RelatedPerson as the same individual."/>
      <element name="type" elementType="FHIR.LinkType" description="replaced-by | replaces | refer | seealso" definition="The type of link between this patient resource and another patient resource.">
         <binding name="LinkType" description="The type of link between this patient resource and another patient resource." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="PaymentNotice" identifier="http://hl7.org/fhir/StructureDefinition/PaymentNotice" label="PaymentNotice" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for the payment noctice" definition="A unique identifier assigned to this payment notice.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.PaymentNoticeStatus" description="active | cancelled | draft | entered-in-error" definition="The status of the resource instance." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="PaymentNoticeStatus" description="A code specifying the state of the resource instance." strength="Required"/>
      </element>
      <element name="request" elementType="FHIR.Reference" description="Request reference" definition="Reference of resource for which payment is being made."/>
      <element name="response" elementType="FHIR.Reference" description="Response reference" definition="Reference of response to resource for which payment is being made."/>
      <element name="created" elementType="FHIR.dateTime" description="Creation date" definition="The date when this resource was created."/>
      <element name="provider" elementType="FHIR.Reference" description="Responsible practitioner" definition="The practitioner who is responsible for the services rendered to the patient."/>
      <element name="payment" elementType="FHIR.Reference" description="Payment reference" definition="A reference to the payment which is the subject of this notice."/>
      <element name="paymentDate" elementType="FHIR.date" description="Payment or clearing date" definition="The date when the above payment action occurred."/>
      <element name="payee" elementType="FHIR.Reference" description="Party being paid" definition="The party who will receive or has received payment that is the subject of this notification."/>
      <element name="recipient" elementType="FHIR.Reference" description="Party being notified" definition="The party who is notified of the payment status."/>
      <element name="amount" elementType="FHIR.Money" description="Monetary amount of the payment" definition="The amount sent to the payee."/>
      <element name="paymentStatus" elementType="FHIR.CodeableConcept" description="Issued or cleared Status of the payment" definition="A code indicating whether payment has been sent or cleared." comment="Typically paid: payment sent, cleared: payment received.">
         <binding name="PaymentStatus" description="The payment conveyance status codes." strength="Example"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="provider"/>
      <search name="created" path="created" type="System.DateTime"/>
      <search name="request" path="request">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="response" path="response">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="provider" path="provider">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="payment-status" path="paymentStatus" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="PaymentNoticeStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="PaymentReconciliation" identifier="http://hl7.org/fhir/StructureDefinition/PaymentReconciliation" label="PaymentReconciliation" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for a payment reconciliation" definition="A unique identifier assigned to this payment reconciliation.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.PaymentReconciliationStatus" description="active | cancelled | draft | entered-in-error" definition="The status of the resource instance." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="PaymentReconciliationStatus" description="A code specifying the state of the resource instance." strength="Required"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Period covered" definition="The period of time for which payments have been gathered into this bulk payment for settlement."/>
      <element name="created" elementType="FHIR.dateTime" description="Creation date" definition="The date when the resource was created."/>
      <element name="paymentIssuer" elementType="FHIR.Reference" description="Party generating payment" definition="The party who generated the payment." comment="This party is also responsible for the reconciliation."/>
      <element name="request" elementType="FHIR.Reference" description="Reference to requesting resource" definition="Original request resource reference."/>
      <element name="requestor" elementType="FHIR.Reference" description="Responsible practitioner" definition="The practitioner who is responsible for the services rendered to the patient."/>
      <element name="outcome" elementType="FHIR.RemittanceOutcome" description="queued | complete | error | partial" definition="The outcome of a request for a reconciliation." comment="The resource may be used to indicate that: the request has been held (queued) for processing; that it has been processed and errors found (error); that no errors were found and that some of the adjudication has been undertaken (partial) or that all of the adjudication has been undertaken (complete).">
         <binding name="RemittanceOutcome" description="The outcome of the processing." strength="Required"/>
      </element>
      <element name="disposition" elementType="FHIR.string" description="Disposition message" definition="A human readable description of the status of the request for the reconciliation."/>
      <element name="paymentDate" elementType="FHIR.date" description="When payment issued" definition="The date of payment as indicated on the financial instrument."/>
      <element name="paymentAmount" elementType="FHIR.Money" description="Total amount of Payment" definition="Total payment amount as indicated on the financial instrument."/>
      <element name="paymentIdentifier" elementType="FHIR.Identifier" description="Business identifier for the payment" definition="Issuer's unique identifier for the payment instrument." comment="For example: EFT number or check number."/>
      <element name="detail" description="Settlement particulars" definition="Distribution of the payment amount for a previously acknowledged payable.">
         <elementTypeSpecifier elementType="FHIR.PaymentReconciliation.Detail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="formCode" elementType="FHIR.CodeableConcept" description="Printed form identifier" definition="A code for the form to be used for printing the content." comment="May be needed to identify specific jurisdictional forms.">
         <binding name="Forms" description="The forms codes." strength="Example"/>
      </element>
      <element name="processNote" description="Note concerning processing" definition="A note that describes or explains the processing in a human readable form.">
         <elementTypeSpecifier elementType="FHIR.PaymentReconciliation.ProcessNote" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="requestor"/>
      <search name="created" path="created" type="System.DateTime"/>
      <search name="request" path="request" type="FHIR.Task"/>
      <search name="disposition" path="disposition" type="System.String"/>
      <search name="payment-issuer" path="paymentIssuer" type="FHIR.Organization"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="requestor" path="requestor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="outcome" path="outcome" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="PaymentReconciliation.Detail" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Business identifier of the payment detail" definition="Unique identifier for the current payment item for the referenced payable."/>
      <element name="predecessor" elementType="FHIR.Identifier" description="Business identifier of the prior payment detail" definition="Unique identifier for the prior payment item for the referenced payable."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Category of payment" definition="Code to indicate the nature of the payment." comment="For example: payment, adjustment, funds advance, etc.">
         <binding name="PaymentType" description="The reason for the amount: payment, adjustment, advance." strength="Example"/>
      </element>
      <element name="request" elementType="FHIR.Reference" description="Request giving rise to the payment" definition="A resource, such as a Claim, the evaluation of which could lead to payment."/>
      <element name="submitter" elementType="FHIR.Reference" description="Submitter of the request" definition="The party which submitted the claim or financial transaction."/>
      <element name="response" elementType="FHIR.Reference" description="Response committing to a payment" definition="A resource, such as a ClaimResponse, which contains a commitment to payment."/>
      <element name="date" elementType="FHIR.date" description="Date of commitment to pay" definition="The date from the response resource containing a commitment to pay."/>
      <element name="responsible" elementType="FHIR.Reference" description="Contact for the response" definition="A reference to the individual who is responsible for inquiries regarding the response and its payment."/>
      <element name="payee" elementType="FHIR.Reference" description="Recipient of the payment" definition="The party which is receiving the payment."/>
      <element name="amount" elementType="FHIR.Money" description="Amount allocated to this payable" definition="The monetary amount allocated from the total payment to the payable."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="PaymentReconciliation.ProcessNote" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.NoteType" description="display | print | printoper" definition="The business purpose of the note text.">
         <binding name="NoteType" description="The presentation types of notes." strength="Required"/>
      </element>
      <element name="text" elementType="FHIR.string" description="Note explanatory text" definition="The explanation or description associated with the processing."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="PaymentReconciliationStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Period" identifier="http://hl7.org/fhir/StructureDefinition/Period" label="Period" retrievable="false" xsi:type="ClassInfo">
      <element name="start" elementType="FHIR.dateTime" description="Starting time with inclusive boundary" definition="The start of the period. The boundary is inclusive." comment="If the low element is missing, the meaning is that the low boundary is not known."/>
      <element name="end" elementType="FHIR.dateTime" description="End time with inclusive boundary, if not ongoing" definition="The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time." comment="The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Person" identifier="http://hl7.org/fhir/StructureDefinition/Person" label="Person" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="A human identifier for this person" definition="Identifier for a person within a particular scope.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="name" description="A name associated with the person" definition="A name associated with the person." comment="Person may have multiple names with different uses or applicable periods.">
         <elementTypeSpecifier elementType="FHIR.HumanName" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="telecom" description="A contact detail for the person" definition="A contact detail for the person, e.g. a telephone number or an email address." comment="Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently and also to help with identification.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="gender" elementType="FHIR.AdministrativeGender" description="male | female | other | unknown" definition="Administrative Gender." comment="The gender might not match the biological sex as determined by genetics, or the individual's preferred identification. Note that for both humans and particularly animals, there are other legitimate possibilities than M and F, though a clear majority of systems and contexts only support M and F.">
         <binding name="AdministrativeGender" description="The gender of a person used for administrative purposes." strength="Required"/>
      </element>
      <element name="birthDate" elementType="FHIR.date" description="The date on which the person was born" definition="The birth date for the person." comment="At least an estimated year should be provided as a guess if the real DOB is unknown."/>
      <element name="address" description="One or more addresses for the person" definition="One or more addresses for the person." comment="Person may have multiple addresses with different uses or applicable periods.">
         <elementTypeSpecifier elementType="FHIR.Address" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="photo" elementType="FHIR.Attachment" description="Image of the person" definition="An image that can be displayed as a thumbnail of the person to enhance the identification of the individual."/>
      <element name="managingOrganization" elementType="FHIR.Reference" description="The organization that is the custodian of the person record" definition="The organization that is the custodian of the person record."/>
      <element name="active" elementType="FHIR.boolean" description="This person's record is in active use" definition="Whether this person's record is in active use."/>
      <element name="link" description="Link to a resource that concerns the same actual person" definition="Link to a resource that concerns the same actual person.">
         <elementTypeSpecifier elementType="FHIR.Person.Link" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="where(resolve() is Practitioner)"/>
      <contextRelationship context="Patient" relatedKeyElement="where(resolve() is Patient)"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="target"/>
      <search name="phone" path="telecom.where(system='phone')" type="System.Code"/>
      <search name="address-postalcode" path="address.postalCode" type="System.String"/>
      <search name="relatedperson" path="link.target.where(resolve() is RelatedPerson)" type="FHIR.RelatedPerson"/>
      <search name="organization" path="managingOrganization" type="FHIR.Organization"/>
      <search name="address" path="address" type="System.String"/>
      <search name="telecom" path="telecom" type="System.Code"/>
      <search name="name" path="name" type="System.String"/>
      <search name="address-use" path="address.use" type="System.Code"/>
      <search name="patient" path="link.target.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="address-state" path="address.state" type="System.String"/>
      <search name="practitioner" path="link.target.where(resolve() is Practitioner)" type="FHIR.Practitioner"/>
      <search name="link" path="link.target">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="birthdate" path="birthDate" type="System.DateTime"/>
      <search name="address-country" path="address.country" type="System.String"/>
      <search name="address-city" path="address.city" type="System.String"/>
      <search name="phonetic" path="name" type="System.String"/>
      <search name="email" path="telecom.where(system='email')" type="System.Code"/>
      <search name="gender" path="gender" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Person.Link" retrievable="false" xsi:type="ClassInfo">
      <element name="target" elementType="FHIR.Reference" description="The resource to which this actual person is associated" definition="The resource to which this actual person is associated."/>
      <element name="assurance" elementType="FHIR.IdentityAssuranceLevel" description="level1 | level2 | level3 | level4" definition="Level of assurance that this link is associated with the target resource.">
         <binding name="IdentityAssuranceLevel" description="The level of confidence that this link represents the same actual person, based on NIST Authentication Levels." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="PlanDefinition" identifier="http://hl7.org/fhir/StructureDefinition/PlanDefinition" label="PlanDefinition" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this plan definition, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this plan definition 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 plan definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the plan definition 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the plan definition" definition="A formal identifier that is used to identify this plan definition when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this plan definition outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the plan definition" definition="The identifier that is used to identify this version of the plan definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the plan definition 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. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts." comment="There may be different plan definition 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 plan definition with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this plan definition (computer friendly)" definition="A natural language name identifying the plan definition. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this plan definition (human friendly)" definition="A short, descriptive, user-friendly title for the plan definition." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="subtitle" elementType="FHIR.string" description="Subordinate title of the plan definition" definition="An explanatory or alternate title for the plan definition giving additional information about its content."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="order-set | clinical-protocol | eca-rule | workflow-definition" definition="A high-level category for the plan definition that distinguishes the kinds of systems that would be interested in the plan definition.">
         <binding name="PlanDefinitionType" description="The type of PlanDefinition." strength="Extensible"/>
      </element>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this plan definition. Enables tracking the life-cycle of the content." comment="Allows filtering of plan definitions that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this plan definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of plan definitions that are appropriate for use versus not."/>
      <element name="subject" description="Type of individual the plan definition is focused on" definition="A code or group definition that describes the intended subject of the plan definition.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SubjectType" description="The possible types of subjects for a plan definition (E.g. Patient, Practitioner, Organization, Location, etc.)." strength="Extensible"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the plan definition 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 plan definition 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 plan definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the plan definition." comment="Usually an organization but may be an individual. The publisher (or steward) of the plan definition is the organization or individual primarily responsible for the maintenance and upkeep of the plan definition. 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 plan definition. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the plan definition" definition="A free text natural language description of the plan definition from a consumer's perspective." comment="This description can be used to capture details such as why the plan definition 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 plan definition 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 plan definition is presumed to be the predominant language in the place the plan definition was created)."/>
      <element name="useContext" description="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 plan definition instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for plan definition (if applicable)" definition="A legal or geographic region in which the plan definition is intended to be used." comment="It may be possible for the plan definition to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this plan definition is defined" definition="Explanation of why this plan definition is needed and why it has been designed as it has." comment="This element does not describe the usage of the plan definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this plan definition."/>
      <element name="usage" elementType="FHIR.string" description="Describes the clinical usage of the plan" definition="A detailed description of how the plan definition is used from a clinical perspective."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the plan definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the plan definition."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the plan definition was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the plan definition was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the plan definition is expected to be used" definition="The period during which the plan definition content was or is planned to be in active use." comment="The effective period for a plan definition  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 might be published in 2015."/>
      <element name="topic" description="E.g. Education, Treatment, Assessment" definition="Descriptive topics related to the content of the plan definition. Topics provide a high-level categorization of the definition that can be useful for filtering and searching.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DefinitionTopic" description="High-level categorization of the definition, used for searching, sorting, and filtering." strength="Example"/>
      </element>
      <element name="author" description="Who authored the content" definition="An individiual or organization primarily involved in the creation and maintenance of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="editor" description="Who edited the content" definition="An individual or organization primarily responsible for internal coherence of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reviewer" description="Who reviewed the content" definition="An individual or organization primarily responsible for review of some aspect of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endorser" description="Who endorsed the content" definition="An individual or organization responsible for officially endorsing the content for use in some setting.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedArtifact" description="Additional documentation, citations" definition="Related artifacts such as additional documentation, justification, or bibliographic references." comment="Each related artifact is either an attachment, or a reference to another resource, but not both.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="library" description="Logic used by the plan definition" definition="A reference to a Library resource containing any formal logic used by the plan definition.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="goal" description="What the plan is trying to accomplish" definition="Goals that describe what the activities within the plan are intended to achieve. For example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc.">
         <elementTypeSpecifier elementType="FHIR.PlanDefinition.Goal" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="action" description="Action defined by the plan" definition="An action or group of actions to be taken as part of the plan." comment="Note that there is overlap between many of the elements defined here and the ActivityDefinition resource. When an ActivityDefinition is referenced (using the definition element), the overlapping elements in the plan override the content of the referenced ActivityDefinition unless otherwise documented in the specific elements. See the PlanDefinition resource for more detailed information.">
         <elementTypeSpecifier elementType="FHIR.PlanDefinition.Action" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="topic" path="topic" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="successor" path="relatedArtifact.where(type='successor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="definition" path="action.definition">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="type" path="type" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="composed-of" path="relatedArtifact.where(type='composed-of').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="depends-on" path="relatedArtifact.where(type='depends-on').resource|library">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="description" path="description" type="System.String"/>
      <search name="title" path="title" type="System.String"/>
      <search name="version" path="version" type="System.Code"/>
      <search name="name" path="name" type="System.String"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="derived-from" path="relatedArtifact.where(type='derived-from').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="predecessor" path="relatedArtifact.where(type='predecessor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="PlanDefinition.Action" retrievable="false" xsi:type="ClassInfo">
      <element name="prefix" elementType="FHIR.string" description="User-visible prefix for the action (e.g. 1. or A.)" definition="A user-visible prefix for the action."/>
      <element name="title" elementType="FHIR.string" description="User-visible title" definition="The title of the action displayed to a user."/>
      <element name="description" elementType="FHIR.string" description="Brief description of the action" definition="A brief description of the action used to provide a summary to display to the user."/>
      <element name="textEquivalent" elementType="FHIR.string" description="Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system" definition="A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically."/>
      <element name="priority" elementType="FHIR.RequestPriority" description="routine | urgent | asap | stat" definition="Indicates how quickly the action should be addressed with respect to other actions.">
         <binding name="RequestPriority" description="Identifies the level of importance to be assigned to actioning the request." strength="Required"/>
      </element>
      <element name="code" description="Code representing the meaning of the action or sub-actions" definition="A code that provides meaning for the action or action group. For example, a section may have a LOINC code for the section of a documentation template.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reason" description="Why the action should be performed" definition="A description of why this action is necessary or appropriate." comment="This is different than the clinical evidence documentation, it's an actual business description of the reason for performing the action.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="documentation" description="Supporting documentation for the intended performer of the action" definition="Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="goalId" description="What goals this action supports" definition="Identifies goals that this action supports. The reference must be to a goal element defined within this plan definition.">
         <elementTypeSpecifier elementType="FHIR.id" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subject" description="Type of individual the action is focused on" definition="A code or group definition that describes the intended subject of the action and its children, if any." comment="The subject of an action overrides the subject at a parent action or on the root of the PlanDefinition if specified.&#xa;&#xa;In addition, because the subject needs to be resolved during realization, use of subjects in actions (or in the ActivityDefinition referenced by the action) resolves based on the set of subjects supplied in context and by type (i.e. the patient subject would resolve to a resource of type Patient).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SubjectType" description="The possible types of subjects for a plan definition (E.g. Patient, Practitioner, Organization, Location, etc.)." strength="Extensible"/>
      </element>
      <element name="trigger" description="When the action should be triggered" definition="A description of when the action should be triggered.">
         <elementTypeSpecifier elementType="FHIR.TriggerDefinition" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="condition" description="Whether or not the action is applicable" definition="An expression that describes applicability criteria or start/stop conditions for the action." comment="When multiple conditions of the same kind are present, the effects are combined using AND semantics, so the overall condition is true only if all the conditions are true.">
         <elementTypeSpecifier elementType="FHIR.PlanDefinition.Action.Condition" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="input" description="Input data requirements" definition="Defines input data requirements for the action.">
         <elementTypeSpecifier elementType="FHIR.DataRequirement" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="output" description="Output data definition" definition="Defines the outputs of the action, if any.">
         <elementTypeSpecifier elementType="FHIR.DataRequirement" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedAction" description="Relationship to another action" definition="A relationship to another action such as &quot;before&quot; or &quot;30-60 minutes after start of&quot;." comment="When an action depends on multiple actions, the meaning is that all actions are dependencies, rather than that any of the actions are a dependency.">
         <elementTypeSpecifier elementType="FHIR.PlanDefinition.Action.RelatedAction" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="timing" description="When the action should take place" definition="An optional value describing when the action should be performed.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="participant" description="Who should participate in the action" definition="Indicates who should participate in performing the action described.">
         <elementTypeSpecifier elementType="FHIR.PlanDefinition.Action.Participant" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="create | update | remove | fire-event" definition="The type of action to perform (create, update, remove).">
         <binding name="ActionType" description="The type of action to be performed." strength="Extensible"/>
      </element>
      <element name="groupingBehavior" elementType="FHIR.ActionGroupingBehavior" description="visual-group | logical-group | sentence-group" definition="Defines the grouping behavior for the action and its children.">
         <binding name="ActionGroupingBehavior" description="Defines organization behavior of a group." strength="Required"/>
      </element>
      <element name="selectionBehavior" elementType="FHIR.ActionSelectionBehavior" description="any | all | all-or-none | exactly-one | at-most-one | one-or-more" definition="Defines the selection behavior for the action and its children.">
         <binding name="ActionSelectionBehavior" description="Defines selection behavior of a group." strength="Required"/>
      </element>
      <element name="requiredBehavior" elementType="FHIR.ActionRequiredBehavior" description="must | could | must-unless-documented" definition="Defines the required behavior for the action.">
         <binding name="ActionRequiredBehavior" description="Defines expectations around whether an action or action group is required." strength="Required"/>
      </element>
      <element name="precheckBehavior" elementType="FHIR.ActionPrecheckBehavior" description="yes | no" definition="Defines whether the action should usually be preselected.">
         <binding name="ActionPrecheckBehavior" description="Defines selection frequency behavior for an action or group." strength="Required"/>
      </element>
      <element name="cardinalityBehavior" elementType="FHIR.ActionCardinalityBehavior" description="single | multiple" definition="Defines whether the action can be selected multiple times.">
         <binding name="ActionCardinalityBehavior" description="Defines behavior for an action or a group for how many times that item may be repeated." strength="Required"/>
      </element>
      <element name="definition" description="Description of the activity to be performed" definition="A reference to an ActivityDefinition that describes the action to be taken in detail, or a PlanDefinition that describes a series of actions to be taken." comment="Note that the definition is optional, and if no definition is specified, a dynamicValue with a root ($this) path can be used to define the entire resource dynamically.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="transform" elementType="FHIR.canonical" description="Transform to apply the template" definition="A reference to a StructureMap resource that defines a transform that can be executed to produce the intent resource using the ActivityDefinition instance as the input." comment="Note that when a referenced ActivityDefinition also defines a transform, the transform specified here generally takes precedence. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform."/>
      <element name="dynamicValue" description="Dynamic aspects of the definition" definition="Customizations that should be applied to the statically defined resource. For example, if the dosage of a medication must be computed based on the patient's weight, a customization would be used to specify an expression that calculated the weight, and the path on the resource that would contain the result." comment="Dynamic values are applied in the order in which they are defined in the PlanDefinition resource. Note that when dynamic values are also specified by a referenced ActivityDefinition, the dynamicValues from the ActivityDefinition are applied first, followed by the dynamicValues specified here. In addition, if both a transform and dynamic values are specific, the dynamic values are applied to the result of the transform.">
         <elementTypeSpecifier elementType="FHIR.PlanDefinition.Action.DynamicValue" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="action" description="A sub-action" definition="Sub actions that are contained within the action. The behavior of this action determines the functionality of the sub-actions. For example, a selection behavior of at-most-one indicates that of the sub-actions, at most one may be chosen as part of realizing the action definition.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="PlanDefinition.Action" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="PlanDefinition.Action.Condition" retrievable="false" xsi:type="ClassInfo">
      <element name="kind" elementType="FHIR.ActionConditionKind" description="applicability | start | stop" definition="The kind of condition." comment="Applicability criteria are used to determine immediate applicability when a plan definition is applied to a given context. Start and stop criteria are carried through application and used to describe enter/exit criteria for an action.">
         <binding name="ActionConditionKind" description="Defines the kinds of conditions that can appear on actions." strength="Required"/>
      </element>
      <element name="expression" elementType="FHIR.Expression" description="Boolean-valued expression" definition="An expression that returns true or false, indicating whether the condition is satisfied." comment="The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="PlanDefinition.Action.DynamicValue" retrievable="false" xsi:type="ClassInfo">
      <element name="path" elementType="FHIR.string" description="The path to the element to be set dynamically" definition="The path to the element to be customized. This is the path on the resource that will hold the result of the calculation defined by the expression. The specified path SHALL be a FHIRPath resolveable on the specified target type of the ActivityDefinition, and SHALL consist only of identifiers, constant indexers, and a restricted subset of functions. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements (see the [Simple FHIRPath Profile](fhirpath.html#simple) for full details)." comment="To specify the path to the current action being realized, the %action environment variable is available in this path. For example, to specify the description element of the target action, the path would be %action.description. The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation."/>
      <element name="expression" elementType="FHIR.Expression" description="An expression that provides the dynamic value for the customization" definition="An expression specifying the value of the customized element." comment="The expression may be inlined or may be a reference to a named expression within a logic library referenced by the library element."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="PlanDefinition.Action.Participant" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.ActionParticipantType" description="patient | practitioner | related-person | device" definition="The type of participant in the action.">
         <binding name="ActionParticipantType" description="The type of participant for the action." strength="Required"/>
      </element>
      <element name="role" elementType="FHIR.CodeableConcept" description="E.g. Nurse, Surgeon, Parent" definition="The role the participant should play in performing the described action.">
         <binding name="ActionParticipantRole" description="Defines roles played by participants for the action." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="PlanDefinition.Action.RelatedAction" retrievable="false" xsi:type="ClassInfo">
      <element name="actionId" elementType="FHIR.id" description="What action is this related to" definition="The element id of the related action."/>
      <element name="relationship" elementType="FHIR.ActionRelationshipType" description="before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end" definition="The relationship of this action to the related action.">
         <binding name="ActionRelationshipType" description="Defines the types of relationships between actions." strength="Required"/>
      </element>
      <element name="offset" description="Time offset for the relationship" definition="A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="PlanDefinition.Goal" retrievable="false" xsi:type="ClassInfo">
      <element name="category" elementType="FHIR.CodeableConcept" description="E.g. Treatment, dietary, behavioral" definition="Indicates a category the goal falls within.">
         <binding name="GoalCategory" description="Example codes for grouping goals for filtering or presentation." strength="Example"/>
      </element>
      <element name="description" elementType="FHIR.CodeableConcept" description="Code or text describing the goal" definition="Human-readable and/or coded description of a specific desired objective of care, such as &quot;control blood pressure&quot; or &quot;negotiate an obstacle course&quot; or &quot;dance with child at wedding&quot;." comment="If no code is available, use CodeableConcept.text.">
         <binding name="GoalDescription" description="Describes goals that can be achieved." strength="Example"/>
      </element>
      <element name="priority" elementType="FHIR.CodeableConcept" description="high-priority | medium-priority | low-priority" definition="Identifies the expected level of importance associated with reaching/sustaining the defined goal.">
         <binding name="GoalPriority" description="Indicates the level of importance associated with reaching or sustaining a goal." strength="Preferred"/>
      </element>
      <element name="start" elementType="FHIR.CodeableConcept" description="When goal pursuit begins" definition="The event after which the goal should begin being pursued.">
         <binding name="GoalStartEvent" description="Identifies the types of events that might trigger the start of a goal." strength="Example"/>
      </element>
      <element name="addresses" description="What does the goal address" definition="Identifies problems, conditions, issues, or concerns the goal is intended to address.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="GoalAddresses" description="Identifies problems, conditions, issues, or concerns that goals may address." strength="Example"/>
      </element>
      <element name="documentation" description="Supporting documentation for the goal" definition="Didactic or other informational resources associated with the goal that provide further supporting information about the goal. Information resources can include inline text commentary and links to web resources.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="target" description="Target outcome for the goal" definition="Indicates what should be done and within what timeframe.">
         <elementTypeSpecifier elementType="FHIR.PlanDefinition.Goal.Target" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="PlanDefinition.Goal.Target" retrievable="false" xsi:type="ClassInfo">
      <element name="measure" elementType="FHIR.CodeableConcept" description="The parameter whose value is to be tracked" definition="The parameter whose value is to be tracked, e.g. body weight, blood pressure, or hemoglobin A1c level.">
         <binding name="GoalTargetMeasure" description="Identifies types of parameters that can be tracked to determine goal achievement." strength="Example"/>
      </element>
      <element name="detail" description="The target value to be achieved" definition="The target value of the measure to be achieved to signify fulfillment of the goal, e.g. 150 pounds or 7.0%. Either the high or low or both values of the range can be specified. When a low value is missing, it indicates that the goal is achieved at any value at or below the high value. Similarly, if the high value is missing, it indicates that the goal is achieved at any value at or above the low value.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="due" elementType="FHIR.Duration" description="Reach goal within" definition="Indicates the timeframe after the start of the goal in which the goal should be met."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Population" identifier="http://hl7.org/fhir/StructureDefinition/Population" label="Population" retrievable="false" xsi:type="ClassInfo">
      <element name="age" description="The age of the specific population" definition="The age of the specific population.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="gender" elementType="FHIR.CodeableConcept" description="The gender of the specific population" definition="The gender of the specific population."/>
      <element name="race" elementType="FHIR.CodeableConcept" description="Race of the specific population" definition="Race of the specific population."/>
      <element name="physiologicalCondition" elementType="FHIR.CodeableConcept" description="The existing physiological conditions of the specific population to which this applies" definition="The existing physiological conditions of the specific population to which this applies."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Practitioner" identifier="http://hl7.org/fhir/StructureDefinition/Practitioner" label="Practitioner" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="An identifier for the person as this agent" definition="An identifier that applies to this person in this role.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="active" elementType="FHIR.boolean" description="Whether this practitioner's record is in active use" definition="Whether this practitioner's record is in active use." comment="If the practitioner is not in use by one organization, then it should mark the period on the PractitonerRole with an end date (even if they are active) as they may be active in another role."/>
      <element name="name" description="The name(s) associated with the practitioner" definition="The name(s) associated with the practitioner." comment="The selection of the use property should ensure that there is a single usual name specified, and others use the nickname (alias), old, or other values as appropriate.  &#xd;&#xd;In general, select the value to be used in the ResourceReference.display based on this:&#xd;&#xd;1. There is more than 1 name&#xd;2. Use = usual&#xd;3. Period is current to the date of the usage&#xd;4. Use = official&#xd;5. Other order as decided by internal business rules.">
         <elementTypeSpecifier elementType="FHIR.HumanName" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="telecom" description="A contact detail for the practitioner (that apply to all roles)" definition="A contact detail for the practitioner, e.g. a telephone number or an email address." comment="Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently and to help with identification.  These typically will have home numbers, or mobile numbers that are not role specific.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="address" description="Address(es) of the practitioner that are not role specific (typically home address)" definition="Address(es) of the practitioner that are not role specific (typically home address). &#xd;Work addresses are not typically entered in this property as they are usually role dependent." comment="The PractitionerRole does not have an address value on it, as it is expected that the location property be used for this purpose (which has an address).">
         <elementTypeSpecifier elementType="FHIR.Address" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="gender" elementType="FHIR.AdministrativeGender" description="male | female | other | unknown" definition="Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.">
         <binding name="AdministrativeGender" description="The gender of a person used for administrative purposes." strength="Required"/>
      </element>
      <element name="birthDate" elementType="FHIR.date" description="The date  on which the practitioner was born" definition="The date of birth for the practitioner."/>
      <element name="photo" description="Image of the person" definition="Image of the person.">
         <elementTypeSpecifier elementType="FHIR.Attachment" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="qualification" description="Certification, licenses, or training pertaining to the provision of care" definition="The official certifications, training, and licenses that authorize or otherwise pertain to the provision of care by the practitioner.  For example, a medical license issued by a medical board authorizing the practitioner to practice medicine within a certian locality.">
         <elementTypeSpecifier elementType="FHIR.Practitioner.Qualification" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="communication" description="A language the practitioner can use in patient communication" definition="A language the practitioner can use in patient communication." comment="The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Language" description="A human language." strength="Preferred"/>
      </element>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="phone" path="telecom.where(system='phone')" type="System.Code"/>
      <search name="address-postalcode" path="address.postalCode" type="System.String"/>
      <search name="communication" path="communication" type="System.Code"/>
      <search name="address" path="address" type="System.String"/>
      <search name="given" path="name.given" type="System.String"/>
      <search name="telecom" path="telecom" type="System.Code"/>
      <search name="address-use" path="address.use" type="System.Code"/>
      <search name="name" path="name" type="System.String"/>
      <search name="address-state" path="address.state" type="System.String"/>
      <search name="active" path="active" type="System.Code"/>
      <search name="address-country" path="address.country" type="System.String"/>
      <search name="family" path="name.family" type="System.String"/>
      <search name="address-city" path="address.city" type="System.String"/>
      <search name="phonetic" path="name" type="System.String"/>
      <search name="email" path="telecom.where(system='email')" type="System.Code"/>
      <search name="gender" path="gender" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Practitioner.Qualification" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" description="An identifier for this qualification for the practitioner" definition="An identifier that applies to this person's qualification in this role.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Coded representation of the qualification" definition="Coded representation of the qualification.">
         <binding name="Qualification" description="Specific qualification the practitioner has to provide a service." strength="Example"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Period during which the qualification is valid" definition="Period during which the qualification is valid."/>
      <element name="issuer" elementType="FHIR.Reference" description="Organization that regulates and issues the qualification" definition="Organization that regulates and issues the qualification."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="PractitionerRole" identifier="http://hl7.org/fhir/StructureDefinition/PractitionerRole" label="PractitionerRole" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifiers that are specific to a role/location" definition="Business Identifiers that are specific to a role/location.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="active" elementType="FHIR.boolean" description="Whether this practitioner role record is in active use" definition="Whether this practitioner role record is in active use." comment="If this value is false, you may refer to the period to see when the role was in active use. If there is no period specified, no inference can be made about when it was active."/>
      <element name="period" elementType="FHIR.Period" description="The period during which the practitioner is authorized to perform in these role(s)" definition="The period during which the person is authorized to act as a practitioner in these role(s) for the organization."/>
      <element name="practitioner" elementType="FHIR.Reference" description="Practitioner that is able to provide the defined services for the organization" definition="Practitioner that is able to provide the defined services for the organization."/>
      <element name="organization" elementType="FHIR.Reference" description="Organization where the roles are available" definition="The organization where the Practitioner performs the roles associated."/>
      <element name="code" description="Roles which this practitioner may perform" definition="Roles which this practitioner is authorized to perform for the organization." comment="A person may have more than one role.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="PractitionerRole" description="The role a person plays representing an organization." strength="Example"/>
      </element>
      <element name="specialty" description="Specific specialty of the practitioner" definition="Specific specialty of the practitioner.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="PractitionerSpecialty" description="Specific specialty associated with the agency." strength="Preferred"/>
      </element>
      <element name="location" description="The location(s) at which this practitioner provides care" definition="The location(s) at which this practitioner provides care.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="healthcareService" description="The list of healthcare services that this worker provides for this role's Organization/Location(s)" definition="The list of healthcare services that this worker provides for this role's Organization/Location(s).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="telecom" description="Contact details that are specific to the role/location/service" definition="Contact details that are specific to the role/location/service.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="availableTime" description="Times the Service Site is available" definition="A collection of times the practitioner is available or performing this role at the location and/or healthcareservice." comment="More detailed availability information may be provided in associated Schedule/Slot resources.">
         <elementTypeSpecifier elementType="FHIR.PractitionerRole.AvailableTime" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="notAvailable" description="Not available during this time due to provided reason" definition="The practitioner is not available or performing this role during this period of time due to the provided reason.">
         <elementTypeSpecifier elementType="FHIR.PractitionerRole.NotAvailable" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="availabilityExceptions" elementType="FHIR.string" description="Description of availability exceptions" definition="A description of site availability exceptions, e.g. public holiday availability. Succinctly describing all possible exceptions to normal site availability as details in the available Times and not available Times."/>
      <element name="endpoint" description="Technical endpoints providing access to services operated for the practitioner with this role" definition="Technical endpoints providing access to services operated for the practitioner with this role.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="practitioner"/>
      <search name="specialty" path="specialty" type="System.Code"/>
      <search name="phone" path="telecom.where(system='phone')" type="System.Code"/>
      <search name="role" path="code" type="System.Code"/>
      <search name="date" path="period" type="System.DateTime"/>
      <search name="location" path="location" type="FHIR.Location"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="telecom" path="telecom" type="System.Code"/>
      <search name="active" path="active" type="System.Code"/>
      <search name="service" path="healthcareService" type="FHIR.HealthcareService"/>
      <search name="practitioner" path="practitioner" type="FHIR.Practitioner"/>
      <search name="endpoint" path="endpoint" type="FHIR.Endpoint"/>
      <search name="email" path="telecom.where(system='email')" type="System.Code"/>
      <search name="organization" path="organization" type="FHIR.Organization"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="PractitionerRole.AvailableTime" retrievable="false" xsi:type="ClassInfo">
      <element name="daysOfWeek" description="mon | tue | wed | thu | fri | sat | sun" definition="Indicates which days of the week are available between the start and end Times.">
         <elementTypeSpecifier elementType="FHIR.DaysOfWeek" xsi:type="ListTypeSpecifier"/>
         <binding name="DaysOfWeek" description="The days of the week." strength="Required"/>
      </element>
      <element name="allDay" elementType="FHIR.boolean" description="Always available? e.g. 24 hour service" definition="Is this always available? (hence times are irrelevant) e.g. 24 hour service."/>
      <element name="availableStartTime" elementType="FHIR.time" description="Opening time of day (ignored if allDay = true)" definition="The opening time of day. Note: If the AllDay flag is set, then this time is ignored." comment="The timezone is expected to be for where this HealthcareService is provided at."/>
      <element name="availableEndTime" elementType="FHIR.time" description="Closing time of day (ignored if allDay = true)" definition="The closing time of day. Note: If the AllDay flag is set, then this time is ignored." comment="The timezone is expected to be for where this HealthcareService is provided at."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="PractitionerRole.NotAvailable" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Reason presented to the user explaining why time not available" definition="The reason that can be presented to the user as to why this time is not available."/>
      <element name="during" elementType="FHIR.Period" description="Service not available from this date" definition="Service is not available (seasonally or for a public holiday) from this date."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Procedure" identifier="http://hl7.org/fhir/StructureDefinition/Procedure" label="Procedure" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="External Identifiers for this procedure" definition="Business identifiers assigned to this procedure by the performer or other systems which remain constant as the resource is updated and is propagated from server to server." comment="This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and Person resource instances might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesCanonical" description="Instantiates FHIR protocol or definition" definition="The URL pointing to a FHIR-defined protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesUri" description="Instantiates external protocol or definition" definition="The URL pointing to an externally maintained protocol, guideline, order set or other definition that is adhered to in whole or in part by this Procedure." comment="This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="A request for this procedure" definition="A reference to a resource that contains details of the request for this procedure.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" description="Part of referenced event" definition="A larger event of which this particular procedure is a component or step." comment="The MedicationAdministration resource has a partOf reference to Procedure, but this is not a circular reference.   For example, the anesthesia MedicationAdministration is part of the surgical Procedure (MedicationAdministration.partOf = Procedure).  For example, the procedure to insert the IV port for an IV medication administration is part of the medication administration (Procedure.partOf = MedicationAdministration).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ProcedureStatus" description="preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown" definition="A code specifying the state of the procedure. Generally, this will be the in-progress or completed state." comment="The &quot;unknown&quot; code is not to be used to convey other statuses.  The &quot;unknown&quot; code should be used when one of the statuses applies, but the authoring system doesn't know the current state of the procedure.&#xa;&#xa;This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="ProcedureStatus" description="A code specifying the state of the procedure." strength="Required"/>
      </element>
      <element name="statusReason" elementType="FHIR.CodeableConcept" description="Reason for current status" definition="Captures the reason for the current state of the procedure." comment="This is generally only used for &quot;exception&quot; statuses such as &quot;not-done&quot;, &quot;suspended&quot; or &quot;aborted&quot;. The reason for performing the event at all is captured in reasonCode, not here.">
         <binding name="ProcedureNegationReason" description="A code that identifies the reason a procedure was not performed." strength="Example"/>
      </element>
      <element name="category" elementType="FHIR.CodeableConcept" description="Classification of the procedure" definition="A code that classifies the procedure for searching, sorting and display purposes (e.g. &quot;Surgical Procedure&quot;).">
         <binding name="ProcedureCategory" description="A code that classifies a procedure for searching, sorting and display purposes." strength="Example"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Identification of the procedure" definition="The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. &quot;Laparoscopic Appendectomy&quot;).">
         <binding name="ProcedureCode" description="A code to identify a specific procedure ." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Who the procedure was performed on" definition="The person, animal or group on which the procedure was performed."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter created as part of" definition="The Encounter during which this Procedure was created or performed or to which the creation of this record is tightly associated." comment="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter."/>
      <element name="performed" description="When the procedure was performed" definition="Estimated or actual date, date-time, period, or age when the procedure was performed.  Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured." comment="Age is generally used when the patient reports an age at which the procedure was performed. Range is generally used when the patient reports an age range when the procedure was performed, such as sometime between 20-25 years old.  dateTime supports a range of precision due to some procedures being reported as past procedures that might not have millisecond precision while other procedures performed and documented during the encounter might have more precise UTC timestamps with timezone.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="recorder" elementType="FHIR.Reference" description="Who recorded the procedure" definition="Individual who recorded the record and takes responsibility for its content."/>
      <element name="asserter" elementType="FHIR.Reference" description="Person who asserts this procedure" definition="Individual who is making the procedure statement."/>
      <element name="performer" description="The people who performed the procedure" definition="Limited to &quot;real&quot; people rather than equipment.">
         <elementTypeSpecifier elementType="FHIR.Procedure.Performer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="location" elementType="FHIR.Reference" description="Where the procedure happened" definition="The location where the procedure actually happened.  E.g. a newborn at home, a tracheostomy at a restaurant."/>
      <element name="reasonCode" description="Coded reason procedure performed" definition="The coded reason why the procedure was performed. This may be a coded entity of some type, or may simply be present as text." comment="Use Procedure.reasonCode when a code sufficiently describes the reason.  Use Procedure.reasonReference when referencing a resource, which allows more information to be conveyed, such as onset date. Procedure.reasonCode and Procedure.reasonReference are not meant to be duplicative.  For a single reason, either Procedure.reasonCode or Procedure.reasonReference can be used.  Procedure.reasonCode may be a summary code, or Procedure.reasonReference may be used to reference a very precise definition of the reason using Condition | Observation | Procedure | DiagnosticReport | DocumentReference.  Both Procedure.reasonCode and Procedure.reasonReference can be used if they are describing different reasons for the procedure.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProcedureReason" description="A code that identifies the reason a procedure is  required." strength="Example"/>
      </element>
      <element name="reasonReference" description="The justification that the procedure was performed" definition="The justification of why the procedure was performed." comment="It is possible for a procedure to be a reason (such as C-Section) for another procedure (such as an epidural). Other examples include endoscopy for dilatation and biopsy (a combination of diagnostic and therapeutic use). &#xa;Use Procedure.reasonCode when a code sufficiently describes the reason.  Use Procedure.reasonReference when referencing a resource, which allows more information to be conveyed, such as onset date. Procedure.reasonCode and Procedure.reasonReference are not meant to be duplicative.  For a single reason, either Procedure.reasonCode or Procedure.reasonReference can be used.  Procedure.reasonCode may be a summary code, or Procedure.reasonReference may be used to reference a very precise definition of the reason using Condition | Observation | Procedure | DiagnosticReport | DocumentReference.  Both Procedure.reasonCode and Procedure.reasonReference can be used if they are describing different reasons for the procedure.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="bodySite" description="Target body sites" definition="Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion." comment="If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [procedure-targetbodystructure](extension-procedure-targetbodystructure.html).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="BodySite" description="Codes describing anatomical locations. May include laterality." strength="Example"/>
      </element>
      <element name="outcome" elementType="FHIR.CodeableConcept" description="The result of procedure" definition="The outcome of the procedure - did it resolve the reasons for the procedure being performed?" comment="If outcome contains narrative text only, it can be captured using the CodeableConcept.text.">
         <binding name="ProcedureOutcome" description="An outcome of a procedure - whether it was resolved or otherwise." strength="Example"/>
      </element>
      <element name="report" description="Any report resulting from the procedure" definition="This could be a histology result, pathology report, surgical report, etc." comment="There could potentially be multiple reports - e.g. if this was a procedure which took multiple biopsies resulting in a number of anatomical pathology reports.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="complication" description="Complication following the procedure" definition="Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues." comment="If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProcedureComplication" description="Codes describing complications that resulted from a procedure." strength="Example"/>
      </element>
      <element name="complicationDetail" description="A condition that is a result of the procedure" definition="Any complications that occurred during the procedure, or in the immediate post-performance period.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="followUp" description="Instructions for follow up" definition="If the procedure required specific follow up - e.g. removal of sutures. The follow up may be represented as a simple note or could potentially be more complex, in which case the CarePlan resource can be used.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProcedureFollowUp" description="Specific follow up required for a procedure e.g. removal of sutures." strength="Example"/>
      </element>
      <element name="note" description="Additional information about the procedure" definition="Any other notes and comments about the procedure.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="focalDevice" description="Manipulated, implanted, or removed device" definition="A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.">
         <elementTypeSpecifier elementType="FHIR.Procedure.FocalDevice" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="usedReference" description="Items used during procedure" definition="Identifies medications, devices and any other substance used as part of the procedure." comment="For devices actually implanted or removed, use Procedure.device.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="usedCode" description="Coded items used during the procedure" definition="Identifies coded items that were used as part of the procedure." comment="For devices actually implanted or removed, use Procedure.device.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProcedureUsed" description="Codes describing items used during a procedure." strength="Example"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="actor"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Patient" relatedKeyElement="actor"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="actor"/>
      <search name="reason-reference" path="reasonReference">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="date" path="performed" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="reason-code" path="reasonCode" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="encounter" path="encounter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="location" path="location" type="FHIR.Location"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="code" path="code" type="System.Code"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="instantiates-uri" path="instantiatesUri" type="System.String"/>
      <search name="part-of" path="partOf">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="performer" path="performer.actor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="based-on" path="basedOn">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="instantiates-canonical" path="instantiatesCanonical">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Procedure.FocalDevice" retrievable="false" xsi:type="ClassInfo">
      <element name="action" elementType="FHIR.CodeableConcept" description="Kind of change to device" definition="The kind of change that happened to the device during the procedure.">
         <binding name="DeviceActionKind" description="A kind of change that happened to the device during the procedure." strength="Preferred"/>
      </element>
      <element name="manipulated" elementType="FHIR.Reference" description="Device that was changed" definition="The device that was manipulated (changed) during the procedure."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Procedure.Performer" retrievable="false" xsi:type="ClassInfo">
      <element name="function" elementType="FHIR.CodeableConcept" description="Type of performance" definition="Distinguishes the type of involvement of the performer in the procedure. For example, surgeon, anaesthetist, endoscopist.">
         <binding name="ProcedurePerformerRole" description="A code that identifies the role of a performer of the procedure." strength="Example"/>
      </element>
      <element name="actor" elementType="FHIR.Reference" description="The reference to the practitioner" definition="The practitioner who was involved in the procedure."/>
      <element name="onBehalfOf" elementType="FHIR.Reference" description="Organization the device or practitioner was acting for" definition="The organization the device or practitioner was acting on behalf of."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ProcedureStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ProdCharacteristic" identifier="http://hl7.org/fhir/StructureDefinition/ProdCharacteristic" label="ProdCharacteristic" retrievable="false" xsi:type="ClassInfo">
      <element name="height" elementType="FHIR.Quantity" description="Where applicable, the height can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used" definition="Where applicable, the height can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used."/>
      <element name="width" elementType="FHIR.Quantity" description="Where applicable, the width can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used" definition="Where applicable, the width can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used."/>
      <element name="depth" elementType="FHIR.Quantity" description="Where applicable, the depth can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used" definition="Where applicable, the depth can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used."/>
      <element name="weight" elementType="FHIR.Quantity" description="Where applicable, the weight can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used" definition="Where applicable, the weight can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used."/>
      <element name="nominalVolume" elementType="FHIR.Quantity" description="Where applicable, the nominal volume can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used" definition="Where applicable, the nominal volume can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used."/>
      <element name="externalDiameter" elementType="FHIR.Quantity" description="Where applicable, the external diameter can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used" definition="Where applicable, the external diameter can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used."/>
      <element name="shape" elementType="FHIR.string" description="Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used" definition="Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used."/>
      <element name="color" description="Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used" definition="Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="imprint" description="Where applicable, the imprint can be specified as text" definition="Where applicable, the imprint can be specified as text.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="image" description="Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations" definition="Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations.">
         <elementTypeSpecifier elementType="FHIR.Attachment" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="scoring" elementType="FHIR.CodeableConcept" description="Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used" definition="Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ProductShelfLife" identifier="http://hl7.org/fhir/StructureDefinition/ProductShelfLife" label="ProductShelfLife" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Unique identifier for the packaged Medicinal Product" definition="Unique identifier for the packaged Medicinal Product."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified" definition="This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified."/>
      <element name="period" elementType="FHIR.Quantity" description="The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used" definition="The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used."/>
      <element name="specialPrecautionsForStorage" description="Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified" definition="Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="PropertyRepresentation" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="PropertyType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Provenance" identifier="http://hl7.org/fhir/StructureDefinition/Provenance" label="Provenance" retrievable="true" xsi:type="ClassInfo">
      <element name="target" description="Target Reference(s) (usually version specific)" definition="The Reference(s) that were generated or updated by  the activity described in this resource. A provenance can point to more than one target if multiple resources were created/updated by the same activity." comment="Target references are usually version specific, but might not be, if a version has not been assigned or if the provenance information is part of the set of resources being maintained (i.e. a document). When using the RESTful API, the identity of the resource might not be known (especially not the version specific one); the client may either submit the resource first, and then the provenance, or it may submit both using a single transaction. See the notes on transaction for further discussion.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="occurred" description="When the activity occurred" definition="The period during which the activity occurred." comment="The period can be a little arbitrary; where possible, the time should correspond to human assessment of the activity time.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="recorded" elementType="FHIR.instant" description="When the activity was recorded / updated" definition="The instant of time at which the activity was recorded." comment="This can be a little different from the time stamp on the resource if there is a delay between recording the event and updating the provenance and target resource."/>
      <element name="policy" description="Policy or plan the activity was defined by" definition="Policy or plan the activity was defined by. Typically, a single activity may have multiple applicable policy documents, such as patient consent, guarantor funding, etc." comment="For example: Where an OAuth token authorizes, the unique identifier from the OAuth token is placed into the policy element Where a policy engine (e.g. XACML) holds policy logic, the unique policy identifier is placed into the policy element.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="location" elementType="FHIR.Reference" description="Where the activity occurred, if relevant" definition="Where the activity occurred, if relevant."/>
      <element name="reason" description="Reason the activity is occurring" definition="The reason that the activity was taking place.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProvenanceReason" description="The reason the activity took place." strength="Extensible"/>
      </element>
      <element name="activity" elementType="FHIR.CodeableConcept" description="Activity that occurred" definition="An activity is something that occurs over a period of time and acts upon or with entities; it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.">
         <binding name="ProvenanceActivity" description="The activity that took place." strength="Extensible"/>
      </element>
      <element name="agent" description="Actor involved" definition="An actor taking a role in an activity  for which it can be assigned some degree of responsibility for the activity taking place." comment="Several agents may be associated (i.e. has some responsibility for an activity) with an activity and vice-versa.">
         <elementTypeSpecifier elementType="FHIR.Provenance.Agent" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="entity" description="An entity used in this activity" definition="An entity used in this activity.">
         <elementTypeSpecifier elementType="FHIR.Provenance.Entity" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="signature" description="Signature on target" definition="A digital signature on the target Reference(s). The signer should match a Provenance.agent. The purpose of the signature is indicated.">
         <elementTypeSpecifier elementType="FHIR.Signature" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="who"/>
      <contextRelationship context="Patient" relatedKeyElement="where(resolve() is Patient)"/>
      <contextRelationship context="Device" relatedKeyElement="who"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="who"/>
      <search name="signature-type" path="signature.type" type="System.Code"/>
      <search name="patient" path="target.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="agent-role" path="agent.role" type="System.Code"/>
      <search name="entity" path="entity.what">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="recorded" path="recorded" type="System.DateTime"/>
      <search name="location" path="location" type="FHIR.Location"/>
      <search name="agent-type" path="agent.type" type="System.Code"/>
      <search name="target" path="target">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="agent" path="agent.who">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Provenance.Agent" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="How the agent participated" definition="The participation the agent had with respect to the activity." comment="For example: author, performer, enterer, attester, etc.">
         <binding name="ProvenanceAgentType" description="The type of participation that a provenance agent played with respect to the activity." strength="Extensible"/>
      </element>
      <element name="role" description="What the agents role was" definition="The function of the agent with respect to the activity. The security role enabling the agent with respect to the activity." comment="For example: doctor, nurse, clerk, etc.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ProvenanceAgentRole" description="The role that a provenance agent played with respect to the activity." strength="Example"/>
      </element>
      <element name="who" elementType="FHIR.Reference" description="Who participated" definition="The individual, device or organization that participated in the event." comment="whoIdentity should be used when the agent is not a Resource type."/>
      <element name="onBehalfOf" elementType="FHIR.Reference" description="Who the agent is representing" definition="The individual, device, or organization for whom the change was made." comment="onBehalfOfIdentity should be used when the agent is not a Resource type."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Provenance.Entity" retrievable="false" xsi:type="ClassInfo">
      <element name="role" elementType="FHIR.ProvenanceEntityRole" description="derivation | revision | quotation | source | removal" definition="How the entity was used during the activity.">
         <binding name="ProvenanceEntityRole" description="How an entity was used in an activity." strength="Required"/>
      </element>
      <element name="what" elementType="FHIR.Reference" description="Identity of entity" definition="Identity of the  Entity used. May be a logical or physical uri and maybe absolute or relative." comment="whatIdentity should be used for entities that are not a Resource type."/>
      <element name="agent" description="Entity is attributed to this agent" definition="The entity is attributed to an agent to express the agent's responsibility for that entity, possibly along with other agents. This description can be understood as shorthand for saying that the agent was responsible for the activity which generated the entity." comment="A usecase where one Provenance.entity.agent is used where the Entity that was used in the creation/updating of the Target, is not in the context of the same custodianship as the Target, and thus the meaning of Provenance.entity.agent is to say that the entity referenced is managed elsewhere and that this Agent provided access to it.  This would be similar to where the Entity being referenced is managed outside FHIR, such as through HL7 v2, v3, or XDS. This might be where the Entity being referenced is managed in another FHIR resource server. Thus it explains the Provenance of that Entity's use in the context of this Provenance activity.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="Provenance.Agent" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ProvenanceEntityRole" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="PublicationStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="QualityType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Quantity" identifier="http://hl7.org/fhir/StructureDefinition/Quantity" label="Quantity" retrievable="false" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="value" elementType="FHIR.decimal" description="Numerical value (with implicit precision)" definition="The value of the measured amount. The value includes an implicit precision in the presentation of the value." comment="The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)."/>
      <element name="comparator" elementType="FHIR.QuantityComparator" description="&lt; | &lt;= | >= | > - how to understand the value" definition="How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is &quot;&lt;&quot; , then the real value is &lt; stated value.">
         <binding name="QuantityComparator" description="How the Quantity should be understood and represented." strength="Required"/>
      </element>
      <element name="unit" elementType="FHIR.string" description="Unit representation" definition="A human-readable form of the unit."/>
      <element name="system" elementType="FHIR.uri" description="System that defines coded unit form" definition="The identification of the system that provides the coded form of the unit."/>
      <element name="code" elementType="FHIR.code" description="Coded form of the unit" definition="A computer processable form of the unit in some unit representation system." comment="The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="QuantityComparator" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Questionnaire" identifier="http://hl7.org/fhir/StructureDefinition/Questionnaire" label="Questionnaire" retrievable="true" primaryCodePath="name" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this questionnaire, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this questionnaire 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 questionnaire is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the questionnaire is stored on different servers." comment="The name of the referenced questionnaire can be conveyed using the http://hl7.org/fhir/StructureDefinition/display extension."/>
      <element name="identifier" description="Additional identifier for the questionnaire" definition="A formal identifier that is used to identify this questionnaire when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this questionnaire outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the questionnaire" definition="The identifier that is used to identify this version of the questionnaire when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the questionnaire 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 questionnaire 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 questionnaire with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this questionnaire (computer friendly)" definition="A natural language name identifying the questionnaire. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this questionnaire (human friendly)" definition="A short, descriptive, user-friendly title for the questionnaire." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="derivedFrom" description="Instantiates protocol or definition" definition="The URL of a Questionnaire that this Questionnaire is based on.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this questionnaire. Enables tracking the life-cycle of the content." comment="Allows filtering of questionnaires that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this questionnaire is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of questionnaires that are appropriate for use versus not."/>
      <element name="subjectType" description="Resource that can be subject of QuestionnaireResponse" definition="The types of subjects that can be the subject of responses created for the questionnaire." comment="If none are specified, then the subject is unlimited.">
         <elementTypeSpecifier elementType="FHIR.ResourceType" xsi:type="ListTypeSpecifier"/>
         <binding name="ResourceType" description="One of the resource types defined as part of this version of FHIR." strength="Required"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the questionnaire 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 questionnaire 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 questionnaire. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the questionnaire." comment="Usually an organization but may be an individual. The publisher (or steward) of the questionnaire is the organization or individual primarily responsible for the maintenance and upkeep of the questionnaire. 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 questionnaire. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the questionnaire" definition="A free text natural language description of the questionnaire from a consumer's perspective." comment="This description can be used to capture details such as why the questionnaire 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 questionnaire 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 questionnaire is presumed to be the predominant language in the place the questionnaire was created)."/>
      <element name="useContext" description="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 questionnaire instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for questionnaire (if applicable)" definition="A legal or geographic region in which the questionnaire is intended to be used." comment="It may be possible for the questionnaire to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this questionnaire is defined" definition="Explanation of why this questionnaire is needed and why it has been designed as it has." comment="This element does not describe the usage of the questionnaire. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this questionnaire."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the questionnaire and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the questionnaire."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the questionnaire was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the questionnaire was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the questionnaire is expected to be used" definition="The period during which the questionnaire content was or is planned to be in active use." comment="The effective period for a questionnaire  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 might be published in 2015."/>
      <element name="code" description="Concept that represents the overall questionnaire" definition="An identifier for this question or group of questions in a particular terminology such as LOINC.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="QuestionnaireConcept" description="Codes for questionnaires, groups and individual questions." strength="Example"/>
      </element>
      <element name="item" description="Questions and sections within the Questionnaire" definition="A particular question, question grouping or display text that is part of the questionnaire." comment="The content of the questionnaire is constructed from an ordered, hierarchical collection of items.">
         <elementTypeSpecifier elementType="FHIR.Questionnaire.Item" xsi:type="ListTypeSpecifier"/>
         <constraint name="que-9" severity="ERROR" message="Read-only can't be specified for &quot;display&quot; items">
            <expression language="text/fhirpath" expression="type!='display' or readOnly.empty()"/>
         </constraint>
         <constraint name="que-8" severity="ERROR" message="Initial values can't be specified for groups or display items">
            <expression language="text/fhirpath" expression="(type!='group' and type!='display') or initial.empty()"/>
         </constraint>
         <constraint name="que-6" severity="ERROR" message="Required and repeat aren't permitted for display items">
            <expression language="text/fhirpath" expression="type!='display' or (required.empty() and repeats.empty())"/>
         </constraint>
         <constraint name="que-5" severity="ERROR" message="Only 'choice' and 'open-choice' items can have answerValueSet">
            <expression language="text/fhirpath" expression="(type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())"/>
         </constraint>
         <constraint name="que-4" severity="ERROR" message="A question cannot have both answerOption and answerValueSet">
            <expression language="text/fhirpath" expression="answerOption.empty() or answerValueSet.empty()"/>
         </constraint>
         <constraint name="que-3" severity="ERROR" message="Display items cannot have a &quot;code&quot; asserted">
            <expression language="text/fhirpath" expression="type!='display' or code.empty()"/>
         </constraint>
         <constraint name="que-10" severity="ERROR" message="Maximum length can only be declared for simple question types">
            <expression language="text/fhirpath" expression="(type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()"/>
         </constraint>
         <constraint name="que-1" severity="ERROR" message="Group items must have nested items, display items cannot have nested items">
            <expression language="text/fhirpath" expression="(type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())"/>
         </constraint>
         <constraint name="que-13" severity="ERROR" message="Can only have multiple initial values for repeating items">
            <expression language="text/fhirpath" expression="repeats=true or initial.count() &lt;= 1"/>
         </constraint>
         <constraint name="que-11" severity="ERROR" message="If one or more answerOption is present, initial[x] must be missing">
            <expression language="text/fhirpath" expression="answerOption.empty() or initial.empty()"/>
         </constraint>
         <constraint name="que-12" severity="ERROR" message="If there are more than one enableWhen, enableBehavior must be specified">
            <expression language="text/fhirpath" expression="enableWhen.count() > 2 implies enableBehavior.exists()"/>
         </constraint>
      </element>
      <search name="subject-type" path="subjectType" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="version" path="version" type="System.Code"/>
      <search name="description" path="description" type="System.String"/>
      <search name="definition" path="item.definition" type="System.String"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="url" path="url" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="code" path="item.code" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Questionnaire.Item" retrievable="false" xsi:type="ClassInfo">
      <element name="linkId" elementType="FHIR.string" description="Unique id for item in questionnaire" definition="An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource." comment="This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here."/>
      <element name="definition" elementType="FHIR.uri" description="ElementDefinition - details for the item" definition="This element is a URI that refers to an [ElementDefinition](elementdefinition.html) that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:&#xa;&#xa;* code (ElementDefinition.code) &#xa;* type (ElementDefinition.type) &#xa;* required (ElementDefinition.min) &#xa;* repeats (ElementDefinition.max) &#xa;* maxLength (ElementDefinition.maxLength) &#xa;* answerValueSet (ElementDefinition.binding)&#xa;* options (ElementDefinition.binding)." comment="The uri refers to an ElementDefinition in a [StructureDefinition](structuredefinition.html#) and always starts with the [canonical URL](references.html#canonical) for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id [Element.id](element-definitions.html#Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition."/>
      <element name="code" description="Corresponding concept for this item in a terminology" definition="A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers)." comment="The value may come from the ElementDefinition referred to by .definition.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="QuestionnaireConcept" description="Codes for questionnaires, groups and individual questions." strength="Example"/>
      </element>
      <element name="prefix" elementType="FHIR.string" description="E.g. &quot;1(a)&quot;, &quot;2.5.3&quot;" definition="A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire." comment="These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed.  Typically, these won't be used for &quot;display&quot; items, though such use is not prohibited.  Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire."/>
      <element name="text" elementType="FHIR.string" description="Primary text for the item" definition="The name of a section, the text of a question or text content for a display item." comment="When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading.  Group item instructions should be included as a display type item within the group."/>
      <element name="type" elementType="FHIR.QuestionnaireItemType" description="group | display | boolean | decimal | integer | date | dateTime +" definition="The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.)." comment="Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.">
         <binding name="QuestionnaireItemType" description="Distinguishes groups from questions and display text and indicates data type for questions." strength="Required"/>
      </element>
      <element name="enableWhen" description="Only allow data when" definition="A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true." comment="If multiple repetitions of this extension are present, the item should be enabled when the condition for *any* of the repetitions is true.  I.e. treat &quot;enableWhen&quot;s as being joined by an &quot;or&quot; clause.  This element is a modifier because if enableWhen is present for an item, &quot;required&quot; is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.">
         <elementTypeSpecifier elementType="FHIR.Questionnaire.Item.EnableWhen" xsi:type="ListTypeSpecifier"/>
         <constraint name="que-7" severity="ERROR" message="If the operator is 'exists', the value must be a boolean">
            <expression language="text/fhirpath" expression="operator = 'exists' implies (answer is Boolean)"/>
         </constraint>
      </element>
      <element name="enableBehavior" elementType="FHIR.EnableWhenBehavior" description="all | any" definition="Controls how multiple enableWhen values are interpreted -  whether all or any must be true." comment="This element must be specified if more than one enableWhen value is provided.">
         <binding name="EnableWhenBehavior" description="Controls how multiple enableWhen values are interpreted -  whether all or any must be true." strength="Required"/>
      </element>
      <element name="required" elementType="FHIR.boolean" description="Whether the item must be included in data results" definition="An indication, if true, that the item must be present in a &quot;completed&quot; QuestionnaireResponse.  If false, the item may be skipped when answering the questionnaire." comment="Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true.  If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition."/>
      <element name="repeats" elementType="FHIR.boolean" description="Whether the item may repeat" definition="An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups." comment="If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse.  When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. &quot;repeat the question&quot;) or to simply allow entry/selection of multiple answers for the question (repeat the answers).  Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.&#xa;&#xa;The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.&#xa;&#xa; The value may come from the ElementDefinition referred to by .definition."/>
      <element name="readOnly" elementType="FHIR.boolean" description="Don't allow human editing" definition="An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire." comment="The value of readOnly elements can be established by asserting  extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers."/>
      <element name="maxLength" elementType="FHIR.integer" description="No more than this many characters" definition="The maximum number of characters that are permitted in the answer to be considered a &quot;valid&quot; QuestionnaireResponse." comment="For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition."/>
      <element name="answerValueSet" elementType="FHIR.canonical" description="Valueset containing permitted answers" definition="A reference to a value set containing a list of codes representing permitted answers for a &quot;choice&quot; or &quot;open-choice&quot; question." comment="LOINC defines many useful value sets for questionnaire responses. See [LOINC Answer Lists](loinc.html#alist). The value may come from the ElementDefinition referred to by .definition."/>
      <element name="answerOption" description="Permitted answer" definition="One of the permitted answers for a &quot;choice&quot; or &quot;open-choice&quot; question." comment="This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.">
         <elementTypeSpecifier elementType="FHIR.Questionnaire.Item.AnswerOption" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="initial" description="Initial value(s) when item is first rendered" definition="One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input." comment="The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created.  Note that initial values can influence results.  The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.">
         <elementTypeSpecifier elementType="FHIR.Questionnaire.Item.Initial" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="item" description="Nested questionnaire items" definition="Text, questions and other groups to be nested beneath a question or group." comment="There is no specified limit to the depth of nesting.  However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="Questionnaire.Item" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Questionnaire.Item.AnswerOption" retrievable="false" xsi:type="ClassInfo">
      <element name="value" description="Answer value" definition="A potential answer that's allowed as the answer to this question." comment="The data type of the value must agree with the item.type.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="QuestionnaireQuestionOption" description="Allowed values to answer questions." strength="Example"/>
      </element>
      <element name="initialSelected" elementType="FHIR.boolean" description="Whether option is selected by default" definition="Indicates whether the answer value is selected when the list of possible answers is initially shown." comment="Use this instead of initial[v] if answerValueSet is present."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Questionnaire.Item.EnableWhen" retrievable="false" xsi:type="ClassInfo">
      <element name="question" elementType="FHIR.string" description="Question that determines whether item is enabled" definition="The linkId for the question whose answer (or lack of answer) governs whether this item is enabled." comment="If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the &quot;ancestor&quot; axis and then the &quot;preceding&quot; axis and then the &quot;following&quot; axis."/>
      <element name="operator" elementType="FHIR.QuestionnaireItemOperator" description="exists | = | != | > | &lt; | >= | &lt;=" definition="Specifies the criteria by which the question is enabled.">
         <binding name="QuestionnaireItemOperator" description="The criteria by which a question is enabled." strength="Required"/>
      </element>
      <element name="answer" description="Value for question comparison based on operator" definition="A value that the referenced question is tested using the specified operator in order for the item to be enabled.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="QuestionnaireQuestionOption3" description="Allowed values to answer questions." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Questionnaire.Item.Initial" retrievable="false" xsi:type="ClassInfo">
      <element name="value" description="Actual value for initializing the question" definition="The actual value to for an initial answer." comment="The type of the initial value must be consistent with the type of the item.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="QuestionnaireQuestionOption2" description="Allowed values to answer questions." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="QuestionnaireItemOperator" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="QuestionnaireItemType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="QuestionnaireResponse" identifier="http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" label="QuestionnaireResponse" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Unique id for this set of answers" definition="A business identifier assigned to a particular completed (or partially completed) questionnaire."/>
      <element name="basedOn" description="Request fulfilled by this QuestionnaireResponse" definition="The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse.  For example, a ServiceRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" description="Part of this action" definition="A procedure or observation that this questionnaire was performed as part of the execution of.  For example, the surgery a checklist was executed as part of." comment="Composition of questionnaire responses will be handled by the parent questionnaire having answers that reference the child questionnaire.  For relationships to referrals, and other types of requests, use basedOn.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="questionnaire" elementType="FHIR.canonical" description="Form being answered" definition="The Questionnaire that defines and organizes the questions for which answers are being provided." comment="If a QuestionnaireResponse references a Questionnaire, then the QuestionnaireResponse structure must be consistent with the Questionnaire (i.e. questions must be organized into the same groups, nested questions must still be nested, etc.)."/>
      <element name="status" elementType="FHIR.QuestionnaireResponseStatus" description="in-progress | completed | amended | entered-in-error | stopped" definition="The position of the questionnaire response within its overall lifecycle." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="QuestionnaireResponseStatus" description="Lifecycle status of the questionnaire response." strength="Required"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="The subject of the questions" definition="The subject of the questionnaire response.  This could be a patient, organization, practitioner, device, etc.  This is who/what the answers apply to, but is not necessarily the source of information." comment="If the Questionnaire declared a subjectType, the resource pointed to by this element must be an instance of one of the listed types."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter created as part of" definition="The Encounter during which this questionnaire response was created or to which the creation of this record is tightly associated." comment="This will typically be the encounter the event occurred within, but some activities may be initiated prior to or after the official completion of an encounter but still be tied to the context of the encounter. A questionnaire that was initiated during an encounter but not fully completed during the encounter would still generally be associated with the encounter."/>
      <element name="authored" elementType="FHIR.dateTime" description="Date the answers were gathered" definition="The date and/or time that this set of answers were last changed." comment="May be different from the lastUpdateTime of the resource itself, because that reflects when the data was known to the server, not when the data was captured.&#xa;&#xa;This element is optional to allow for systems that might not know the value, however it SHOULD be populated if possible."/>
      <element name="author" elementType="FHIR.Reference" description="Person who received and recorded the answers" definition="Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system." comment="Mapping a subject's answers to multiple choice options and determining what to put in the textual answer is a matter of interpretation.  Authoring by device would indicate that some portion of the questionnaire had been auto-populated."/>
      <element name="source" elementType="FHIR.Reference" description="The person who answered the questions" definition="The person who answered the questions about the subject." comment="If not specified, no inference can be made about who provided the data."/>
      <element name="item" description="Groups and questions" definition="A group or question item from the original questionnaire for which answers are provided." comment="Groups cannot have answers and therefore must nest directly within item. When dealing with questions, nesting must occur within each answer because some questions may have multiple answers (and the nesting occurs for each answer).">
         <elementTypeSpecifier elementType="FHIR.QuestionnaireResponse.Item" xsi:type="ListTypeSpecifier"/>
         <constraint name="qrs-1" severity="ERROR" message="Nested item can't be beneath both item and answer">
            <expression language="text/fhirpath" expression="(answer.exists() and item.exists()).not()"/>
         </constraint>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="author"/>
      <contextRelationship context="Practitioner" relatedKeyElement="source"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="author"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="author"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="author"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="source"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="author" path="author">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="based-on" path="basedOn">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="encounter" path="encounter" type="FHIR.Encounter"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="part-of" path="partOf">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="authored" path="authored" type="System.DateTime"/>
      <search name="questionnaire" path="questionnaire" type="FHIR.Questionnaire"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="source" path="source">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="QuestionnaireResponse.Item" retrievable="false" xsi:type="ClassInfo">
      <element name="linkId" elementType="FHIR.string" description="Pointer to specific item from Questionnaire" definition="The item from the Questionnaire that corresponds to this item in the QuestionnaireResponse resource."/>
      <element name="definition" elementType="FHIR.uri" description="ElementDefinition - details for the item" definition="A reference to an [ElementDefinition](elementdefinition.html) that provides the details for the item." comment="The ElementDefinition must be in a [StructureDefinition](structuredefinition.html#), and must have a fragment identifier that identifies the specific data element by its id (Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x].&#xa;&#xa;There is no need for this element if the item pointed to by the linkId has a definition listed."/>
      <element name="text" elementType="FHIR.string" description="Name for group or question text" definition="Text that is displayed above the contents of the group or as the text of the question being answered."/>
      <element name="answer" description="The response(s) to the question" definition="The respondent's answer(s) to the question." comment="The value is nested because we cannot have a repeating structure that has variable type.">
         <elementTypeSpecifier elementType="FHIR.QuestionnaireResponse.Item.Answer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="item" description="Nested questionnaire response items" definition="Questions or sub-groups nested beneath a question or group.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="QuestionnaireResponse.Item" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="QuestionnaireResponse.Item.Answer" retrievable="false" xsi:type="ClassInfo">
      <element name="value" description="Single-valued answer to the question" definition="The answer (or one of the answers) provided by the respondent to the question." comment="More complex structures (Attachment, Resource and Quantity) will typically be limited to electronic forms that can expose an appropriate user interface to capture the components and enforce the constraints of a complex data type.  Additional complex types can be introduced through extensions. Must match the datatype specified by Questionnaire.item.type in the corresponding Questionnaire.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="QuestionnaireAnswer" description="Code indicating the response provided for a question." strength="Example"/>
      </element>
      <element name="item" description="Nested groups and questions" definition="Nested groups and/or questions found within this particular answer.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="QuestionnaireResponse.Item" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="QuestionnaireResponseStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Range" identifier="http://hl7.org/fhir/StructureDefinition/Range" label="Range" retrievable="false" xsi:type="ClassInfo">
      <element name="low" elementType="FHIR.SimpleQuantity" description="Low limit" definition="The low limit. The boundary is inclusive." comment="If the low element is missing, the low boundary is not known."/>
      <element name="high" elementType="FHIR.SimpleQuantity" description="High limit" definition="The high limit. The boundary is inclusive." comment="If the high element is missing, the high boundary is not known."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Ratio" identifier="http://hl7.org/fhir/StructureDefinition/Ratio" label="Ratio" retrievable="false" xsi:type="ClassInfo">
      <element name="numerator" elementType="FHIR.Quantity" description="Numerator value" definition="The value of the numerator."/>
      <element name="denominator" elementType="FHIR.Quantity" description="Denominator value" definition="The value of the denominator."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Reference" identifier="http://hl7.org/fhir/StructureDefinition/Reference" label="Reference" retrievable="false" xsi:type="ClassInfo">
      <element name="reference" elementType="FHIR.string" description="Literal reference, Relative, internal or absolute URL" definition="A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources." comment="Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure &quot;/[type]/[id]&quot; then it should be assumed that the reference is to a FHIR RESTful server."/>
      <element name="type" elementType="FHIR.uri" description="Type the reference refers to (e.g. &quot;Patient&quot;)" definition="The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.&#xa;&#xa;The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. &quot;Patient&quot; is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources)." comment="This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.">
         <binding name="FHIRResourceTypeExt" description="Aa resource (or, for logical models, the URI of the logical model)." strength="Extensible"/>
      </element>
      <element name="identifier" elementType="FHIR.Identifier" description="Logical reference, when literal reference is not known" definition="An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference." comment="When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. &#xa;&#xa;When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference&#xa;&#xa;Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.&#xa;&#xa;Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any)."/>
      <element name="display" elementType="FHIR.string" description="Text alternative for the resource" definition="Plain text narrative that identifies the resource in addition to the resource reference." comment="This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ReferenceHandlingPolicy" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ReferenceVersionRules" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ReferredDocumentStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="RelatedArtifact" identifier="http://hl7.org/fhir/StructureDefinition/RelatedArtifact" label="RelatedArtifact" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.RelatedArtifactType" description="documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of" definition="The type of relationship to the related artifact.">
         <binding name="RelatedArtifactType" description="The type of relationship to the related artifact." strength="Required"/>
      </element>
      <element name="label" elementType="FHIR.string" description="Short label" definition="A short label that can be used to reference the citation from elsewhere in the containing artifact, such as a footnote index."/>
      <element name="display" elementType="FHIR.string" description="Brief description of the related artifact" definition="A brief description of the document or knowledge resource being referenced, suitable for display to a consumer."/>
      <element name="citation" elementType="FHIR.markdown" description="Bibliographic citation for the artifact" definition="A bibliographic citation for the related artifact. This text SHOULD be formatted according to an accepted citation format." comment="Additional structured information about citations should be captured as extensions."/>
      <element name="url" elementType="FHIR.url" description="Where the artifact can be accessed" definition="A url for the artifact that can be followed to access the actual content." comment="If a document or resource element is present, this element SHALL NOT be provided (use the url or reference in the Attachment or resource reference)."/>
      <element name="document" elementType="FHIR.Attachment" description="What document is being referenced" definition="The document being referenced, represented as an attachment. This is exclusive with the resource element."/>
      <element name="resource" elementType="FHIR.canonical" description="What resource is being referenced" definition="The related resource, such as a library, value set, profile, or other knowledge resource." comment="If the type is predecessor, this is a reference to the succeeding knowledge resource. If the type is successor, this is a reference to the prior knowledge resource."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="RelatedArtifactType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="RelatedPerson" identifier="http://hl7.org/fhir/StructureDefinition/RelatedPerson" label="RelatedPerson" retrievable="true" primaryCodePath="relationship" xsi:type="ClassInfo">
      <element name="identifier" description="A human identifier for this person" definition="Identifier for a person within a particular scope.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="active" elementType="FHIR.boolean" description="Whether this related person's record is in active use" definition="Whether this related person record is in active use." comment="This element is labeled as a modifier because it may be used to mark that the resource was created in error."/>
      <element name="patient" elementType="FHIR.Reference" description="The patient this person is related to" definition="The patient this person is related to."/>
      <element name="relationship" description="The nature of the relationship" definition="The nature of the relationship between a patient and the related person.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="PatientRelationshipType" description="The nature of the relationship between a patient and the related person." strength="Preferred"/>
      </element>
      <element name="name" description="A name associated with the person" definition="A name associated with the person.">
         <elementTypeSpecifier elementType="FHIR.HumanName" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="telecom" description="A contact detail for the person" definition="A contact detail for the person, e.g. a telephone number or an email address." comment="Person may have multiple ways to be contacted with different uses or applicable periods.  May need to have options for contacting the person urgently, and also to help with identification.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="gender" elementType="FHIR.AdministrativeGender" description="male | female | other | unknown" definition="Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.">
         <binding name="AdministrativeGender" description="The gender of a person used for administrative purposes." strength="Required"/>
      </element>
      <element name="birthDate" elementType="FHIR.date" description="The date on which the related person was born" definition="The date on which the related person was born."/>
      <element name="address" description="Address where the related person can be contacted or visited" definition="Address where the related person can be contacted or visited.">
         <elementTypeSpecifier elementType="FHIR.Address" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="photo" description="Image of the person" definition="Image of the person.">
         <elementTypeSpecifier elementType="FHIR.Attachment" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Period of time that this relationship is considered valid" definition="The period of time during which this relationship is or was active. If there are no dates defined, then the interval is unknown."/>
      <element name="communication" description="A language which may be used to communicate with about the patient's health" definition="A language which may be used to communicate with about the patient's health." comment="If no language is specified, this *implies* that the default local language is spoken.  If you need to convey proficiency for multiple modes, then you need multiple RelatedPerson.Communication associations.   If the RelatedPerson does not speak the default local language, then the Interpreter Required Standard can be used to explicitly declare that an interpreter is required.">
         <elementTypeSpecifier elementType="FHIR.RelatedPerson.Communication" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="phone" path="telecom.where(system='phone')" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="address-postalcode" path="address.postalCode" type="System.String"/>
      <search name="address" path="address" type="System.String"/>
      <search name="telecom" path="telecom" type="System.Code"/>
      <search name="address-use" path="address.use" type="System.Code"/>
      <search name="active" path="active" type="System.Code"/>
      <search name="address-state" path="address.state" type="System.String"/>
      <search name="relationship" path="relationship" type="System.Code"/>
      <search name="birthdate" path="birthDate" type="System.DateTime"/>
      <search name="address-country" path="address.country" type="System.String"/>
      <search name="address-city" path="address.city" type="System.String"/>
      <search name="phonetic" path="name" type="System.String"/>
      <search name="email" path="telecom.where(system='email')" type="System.Code"/>
      <search name="gender" path="gender" type="System.Code"/>
      <search name="name" path="name" type="System.String"/>
      <search name="patient" path="patient" type="FHIR.Patient"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="RelatedPerson.Communication" retrievable="false" xsi:type="ClassInfo">
      <element name="language" elementType="FHIR.CodeableConcept" description="The language which can be used to communicate with the patient about his or her health" definition="The ISO-639-1 alpha 2 code in lower case for the language, optionally followed by a hyphen and the ISO-3166-1 alpha 2 code for the region in upper case; e.g. &quot;en&quot; for English, or &quot;en-US&quot; for American English versus &quot;en-EN&quot; for England English." comment="The structure aa-BB with this exact casing is one the most widely used notations for locale. However not all systems actually code this but instead have it as free text. Hence CodeableConcept instead of code as the data type.">
         <binding name="Language" description="A human language." strength="Preferred"/>
      </element>
      <element name="preferred" elementType="FHIR.boolean" description="Language preference indicator" definition="Indicates whether or not the patient prefers this language (over other languages he masters up a certain level)." comment="This language is specifically identified for communicating healthcare information."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="RemittanceOutcome" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="RepositoryType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="RequestGroup" identifier="http://hl7.org/fhir/StructureDefinition/RequestGroup" label="RequestGroup" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Business identifier" definition="Allows a service to provide a unique, business identifier for the request.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesCanonical" description="Instantiates FHIR protocol or definition" definition="A canonical URL referencing a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesUri" description="Instantiates external protocol or definition" definition="A URL referencing an externally defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this request.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="Fulfills plan, proposal, or order" definition="A plan, proposal or order that is fulfilled in whole or in part by this request.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="replaces" description="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.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="groupIdentifier" elementType="FHIR.Identifier" description="Composite request this is part of" definition="A shared identifier common to all requests that were authorized more or less simultaneously by a single author, representing the identifier of the requisition, prescription or similar form." comment="Requests are linked either by a &quot;basedOn&quot; relationship (i.e. one request is fulfilling another) or by having a common requisition.  Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation."/>
      <element name="status" elementType="FHIR.RequestStatus" description="draft | active | on-hold | revoked | completed | entered-in-error | unknown" definition="The current state of the request. For request groups, the status reflects the status of all the requests in the group.">
         <binding name="RequestStatus" description="Codes identifying the lifecycle stage of a request." strength="Required"/>
      </element>
      <element name="intent" elementType="FHIR.RequestIntent" description="proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option" definition="Indicates the level of authority/intentionality associated with the request and where the request fits into the workflow chain.">
         <binding name="RequestIntent" description="Codes indicating the degree of authority/intentionality associated with a request." strength="Required"/>
      </element>
      <element name="priority" elementType="FHIR.RequestPriority" description="routine | urgent | asap | stat" definition="Indicates how quickly the request should be addressed with respect to other requests.">
         <binding name="RequestPriority" description="Identifies the level of importance to be assigned to actioning the request." strength="Required"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="What's being requested/ordered" definition="A code that identifies what the overall request group is." comment="This element can be used to provide a code that captures the meaning of the request group as a whole, as opposed to the code of the action element, which captures the meaning of the individual actions within the request group."/>
      <element name="subject" elementType="FHIR.Reference" description="Who the request group is about" definition="The subject for which the request group was created."/>
      <element name="encounter" elementType="FHIR.Reference" description="Created as part of" definition="Describes the context of the request group, if any."/>
      <element name="authoredOn" elementType="FHIR.dateTime" description="When the request group was authored" definition="Indicates when the request group was created."/>
      <element name="author" elementType="FHIR.Reference" description="Device or practitioner that authored the request group" definition="Provides a reference to the author of the request group."/>
      <element name="reasonCode" description="Why the request group is needed" definition="Describes the reason for the request group in coded or textual form.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reasonReference" description="Why the request group is needed" definition="Indicates another resource whose existence justifies this request group.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Additional notes about the response" definition="Provides a mechanism to communicate additional information about the response.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="action" description="Proposed actions, if any" definition="The actions, if any, produced by the evaluation of the artifact.">
         <elementTypeSpecifier elementType="FHIR.RequestGroup.Action" xsi:type="ListTypeSpecifier"/>
         <constraint name="rqg-1" severity="ERROR" message="Must have resource or action but not both">
            <expression language="text/fhirpath" expression="resource.exists() != action.exists()"/>
         </constraint>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="participant"/>
      <contextRelationship context="Practitioner" relatedKeyElement="author"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="participant"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="author"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="participant"/>
      <search name="author" path="author">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="instantiates-canonical" path="instantiatesCanonical" type="FHIR.Reference"/>
      <search name="encounter" path="encounter" type="FHIR.Encounter"/>
      <search name="instantiates-uri" path="instantiatesUri" type="System.String"/>
      <search name="intent" path="intent" type="System.Code"/>
      <search name="priority" path="priority" type="System.Code"/>
      <search name="participant" path="action.participant">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="code" path="code" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="group-identifier" path="groupIdentifier" type="System.Code"/>
      <search name="authored" path="authoredOn" type="System.DateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="RequestGroup.Action" retrievable="false" xsi:type="ClassInfo">
      <element name="prefix" elementType="FHIR.string" description="User-visible prefix for the action (e.g. 1. or A.)" definition="A user-visible prefix for the action."/>
      <element name="title" elementType="FHIR.string" description="User-visible title" definition="The title of the action displayed to a user."/>
      <element name="description" elementType="FHIR.string" description="Short description of the action" definition="A short description of the action used to provide a summary to display to the user."/>
      <element name="textEquivalent" elementType="FHIR.string" description="Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system" definition="A text equivalent of the action to be performed. This provides a human-interpretable description of the action when the definition is consumed by a system that might not be capable of interpreting it dynamically."/>
      <element name="priority" elementType="FHIR.RequestPriority" description="routine | urgent | asap | stat" definition="Indicates how quickly the action should be addressed with respect to other actions.">
         <binding name="RequestPriority" description="Identifies the level of importance to be assigned to actioning the request." strength="Required"/>
      </element>
      <element name="code" description="Code representing the meaning of the action or sub-actions" definition="A code that provides meaning for the action or action group. For example, a section may have a LOINC code for a section of a documentation template.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="documentation" description="Supporting documentation for the intended performer of the action" definition="Didactic or other informational resources associated with the action that can be provided to the CDS recipient. Information resources can include inline text commentary and links to web resources.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="condition" description="Whether or not the action is applicable" definition="An expression that describes applicability criteria, or start/stop conditions for the action." comment="When multiple conditions of the same kind are present, the effects are combined using AND semantics, so the overall condition is true only if all of the conditions are true.">
         <elementTypeSpecifier elementType="FHIR.RequestGroup.Action.Condition" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedAction" description="Relationship to another action" definition="A relationship to another action such as &quot;before&quot; or &quot;30-60 minutes after start of&quot;.">
         <elementTypeSpecifier elementType="FHIR.RequestGroup.Action.RelatedAction" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="timing" description="When the action should take place" definition="An optional value describing when the action should be performed.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="participant" description="Who should perform the action" definition="The participant that should perform or be responsible for this action.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="create | update | remove | fire-event" definition="The type of action to perform (create, update, remove).">
         <binding name="ActionType" description="The type of action to be performed." strength="Extensible"/>
      </element>
      <element name="groupingBehavior" elementType="FHIR.ActionGroupingBehavior" description="visual-group | logical-group | sentence-group" definition="Defines the grouping behavior for the action and its children.">
         <binding name="ActionGroupingBehavior" description="Defines organization behavior of a group." strength="Required"/>
      </element>
      <element name="selectionBehavior" elementType="FHIR.ActionSelectionBehavior" description="any | all | all-or-none | exactly-one | at-most-one | one-or-more" definition="Defines the selection behavior for the action and its children.">
         <binding name="ActionSelectionBehavior" description="Defines selection behavior of a group." strength="Required"/>
      </element>
      <element name="requiredBehavior" elementType="FHIR.ActionRequiredBehavior" description="must | could | must-unless-documented" definition="Defines expectations around whether an action is required.">
         <binding name="ActionRequiredBehavior" description="Defines expectations around whether an action or action group is required." strength="Required"/>
      </element>
      <element name="precheckBehavior" elementType="FHIR.ActionPrecheckBehavior" description="yes | no" definition="Defines whether the action should usually be preselected.">
         <binding name="ActionPrecheckBehavior" description="Defines selection frequency behavior for an action or group." strength="Required"/>
      </element>
      <element name="cardinalityBehavior" elementType="FHIR.ActionCardinalityBehavior" description="single | multiple" definition="Defines whether the action can be selected multiple times.">
         <binding name="ActionCardinalityBehavior" description="Defines behavior for an action or a group for how many times that item may be repeated." strength="Required"/>
      </element>
      <element name="resource" elementType="FHIR.Reference" description="The target of the action" definition="The resource that is the target of the action (e.g. CommunicationRequest)." comment="The target resource SHALL be a [Request](request.html) resource with a Request.intent set to &quot;option&quot;."/>
      <element name="action" description="Sub action" definition="Sub actions.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="RequestGroup.Action" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="RequestGroup.Action.Condition" retrievable="false" xsi:type="ClassInfo">
      <element name="kind" elementType="FHIR.ActionConditionKind" description="applicability | start | stop" definition="The kind of condition." comment="Applicability criteria are used to determine immediate applicability when a plan definition is applied to a given context. Start and stop criteria are carried through application and used to describe enter/exit criteria for an action.">
         <binding name="ActionConditionKind" description="The kind of condition for the action." strength="Required"/>
      </element>
      <element name="expression" elementType="FHIR.Expression" description="Boolean-valued expression" definition="An expression that returns true or false, indicating whether or not the condition is satisfied." comment="The expression may be inlined, or may be a reference to a named expression within a logic library referenced by the library element."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="RequestGroup.Action.RelatedAction" retrievable="false" xsi:type="ClassInfo">
      <element name="actionId" elementType="FHIR.id" description="What action this is related to" definition="The element id of the action this is related to."/>
      <element name="relationship" elementType="FHIR.ActionRelationshipType" description="before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end" definition="The relationship of this action to the related action.">
         <binding name="ActionRelationshipType" description="Defines the types of relationships between actions." strength="Required"/>
      </element>
      <element name="offset" description="Time offset for the relationship" definition="A duration or range of durations to apply to the relationship. For example, 30-60 minutes before.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="RequestIntent" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="RequestPriority" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="RequestStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ResearchDefinition" identifier="http://hl7.org/fhir/StructureDefinition/ResearchDefinition" label="ResearchDefinition" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this research definition, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this research definition 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 research definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the research definition 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the research definition" definition="A formal identifier that is used to identify this research definition when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this research definition outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the research definition" definition="The identifier that is used to identify this version of the research definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the research definition 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. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts." comment="There may be different research definition 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 research definition with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this research definition (computer friendly)" definition="A natural language name identifying the research definition. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this research definition (human friendly)" definition="A short, descriptive, user-friendly title for the research definition." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="shortTitle" elementType="FHIR.string" description="Title for use in informal contexts" definition="The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary."/>
      <element name="subtitle" elementType="FHIR.string" description="Subordinate title of the ResearchDefinition" definition="An explanatory or alternate title for the ResearchDefinition giving additional information about its content."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this research definition. Enables tracking the life-cycle of the content." comment="Allows filtering of research definitions that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this research definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of research definitions that are appropriate for use versus not."/>
      <element name="subject" description="E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device" definition="The intended subjects for the ResearchDefinition. If this element is not provided, a Patient subject is assumed, but the subject of the ResearchDefinition can be anything." comment="The subject of the ResearchDefinition is critical in interpreting the criteria definitions, as the logic in the ResearchDefinitions is evaluated with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what content is available based on its relationship to the subject. In CQL, this corresponds to the context declaration.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SubjectType" description="The possible types of subjects for the research (E.g. Patient, Practitioner, Organization, Location, etc.)." strength="Extensible"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the research definition 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 research definition 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 research definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the research definition." comment="Usually an organization but may be an individual. The publisher (or steward) of the research definition is the organization or individual primarily responsible for the maintenance and upkeep of the research definition. 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 research definition. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the research definition" definition="A free text natural language description of the research definition from a consumer's perspective." comment="This description can be used to capture details such as why the research definition 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 research definition 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 research definition is presumed to be the predominant language in the place the research definition was created)."/>
      <element name="comment" description="Used for footnotes or explanatory notes" definition="A human-readable string to clarify or explain concepts about the resource.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="useContext" description="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 research definition instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for research definition (if applicable)" definition="A legal or geographic region in which the research definition is intended to be used." comment="It may be possible for the research definition to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this research definition is defined" definition="Explanation of why this research definition is needed and why it has been designed as it has." comment="This element does not describe the usage of the research definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this research definition."/>
      <element name="usage" elementType="FHIR.string" description="Describes the clinical usage of the ResearchDefinition" definition="A detailed description, from a clinical perspective, of how the ResearchDefinition is used."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the research definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the research definition."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the research definition was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the research definition was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the research definition is expected to be used" definition="The period during which the research definition content was or is planned to be in active use." comment="The effective period for a research definition  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 might be published in 2015."/>
      <element name="topic" description="The category of the ResearchDefinition, such as Education, Treatment, Assessment, etc." definition="Descriptive topics related to the content of the ResearchDefinition. Topics provide a high-level categorization grouping types of ResearchDefinitions that can be useful for filtering and searching.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DefinitionTopic" description="High-level categorization of the definition, used for searching, sorting, and filtering." strength="Example"/>
      </element>
      <element name="author" description="Who authored the content" definition="An individiual or organization primarily involved in the creation and maintenance of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="editor" description="Who edited the content" definition="An individual or organization primarily responsible for internal coherence of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reviewer" description="Who reviewed the content" definition="An individual or organization primarily responsible for review of some aspect of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endorser" description="Who endorsed the content" definition="An individual or organization responsible for officially endorsing the content for use in some setting.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedArtifact" description="Additional documentation, citations, etc." definition="Related artifacts such as additional documentation, justification, or bibliographic references." comment="Each related artifact is either an attachment, or a reference to another resource, but not both.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="library" description="Logic used by the ResearchDefinition" definition="A reference to a Library resource containing the formal logic used by the ResearchDefinition.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="population" elementType="FHIR.Reference" description="What population?" definition="A reference to a ResearchElementDefinition resource that defines the population for the research."/>
      <element name="exposure" elementType="FHIR.Reference" description="What exposure?" definition="A reference to a ResearchElementDefinition resource that defines the exposure for the research."/>
      <element name="exposureAlternative" elementType="FHIR.Reference" description="What alternative exposure state?" definition="A reference to a ResearchElementDefinition resource that defines the exposureAlternative for the research."/>
      <element name="outcome" elementType="FHIR.Reference" description="What outcome?" definition="A reference to a ResearchElementDefinition resomece that defines the outcome for the research."/>
      <search name="status" path="status" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="version" path="version" type="System.Code"/>
      <search name="composed-of" path="relatedArtifact.where(type='composed-of').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="topic" path="topic" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="predecessor" path="relatedArtifact.where(type='predecessor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="derived-from" path="relatedArtifact.where(type='derived-from').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="successor" path="relatedArtifact.where(type='successor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="depends-on" path="relatedArtifact.where(type='depends-on').resource|library">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="description" path="description" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ResearchElementDefinition" identifier="http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition" label="ResearchElementDefinition" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this research element definition, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this research element definition 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 research element definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the research element definition 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the research element definition" definition="A formal identifier that is used to identify this research element definition when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this research element definition outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the research element definition" definition="The identifier that is used to identify this version of the research element definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the research element definition 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. To provide a version consistent with the Decision Support Service specification, use the format Major.Minor.Revision (e.g. 1.0.0). For more information on versioning knowledge assets, refer to the Decision Support Service specification. Note that a version is required for non-experimental active artifacts." comment="There may be different research element definition 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 research element definition with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this research element definition (computer friendly)" definition="A natural language name identifying the research element definition. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this research element definition (human friendly)" definition="A short, descriptive, user-friendly title for the research element definition." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="shortTitle" elementType="FHIR.string" description="Title for use in informal contexts" definition="The short title provides an alternate title for use in informal descriptive contexts where the full, formal title is not necessary."/>
      <element name="subtitle" elementType="FHIR.string" description="Subordinate title of the ResearchElementDefinition" definition="An explanatory or alternate title for the ResearchElementDefinition giving additional information about its content."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this research element definition. Enables tracking the life-cycle of the content." comment="Allows filtering of research element definitions that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this research element definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of research element definitions that are appropriate for use versus not."/>
      <element name="subject" description="E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device" definition="The intended subjects for the ResearchElementDefinition. If this element is not provided, a Patient subject is assumed, but the subject of the ResearchElementDefinition can be anything." comment="The subject of the ResearchElementDefinition is critical in interpreting the criteria definitions, as the logic in the ResearchElementDefinitions is evaluated with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what content is available based on its relationship to the subject. In CQL, this corresponds to the context declaration.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SubjectType" description="The possible types of subjects for a measure (E.g. Patient, Practitioner, Organization, Location, etc.)." strength="Extensible"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the research element definition 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 research element definition 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 research element definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the research element definition." comment="Usually an organization but may be an individual. The publisher (or steward) of the research element definition is the organization or individual primarily responsible for the maintenance and upkeep of the research element definition. 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 research element definition. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the research element definition" definition="A free text natural language description of the research element definition from a consumer's perspective." comment="This description can be used to capture details such as why the research element definition 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 research element definition 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 research element definition is presumed to be the predominant language in the place the research element definition was created)."/>
      <element name="comment" description="Used for footnotes or explanatory notes" definition="A human-readable string to clarify or explain concepts about the resource.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="useContext" description="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 research element definition instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for research element definition (if applicable)" definition="A legal or geographic region in which the research element definition is intended to be used." comment="It may be possible for the research element definition to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this research element definition is defined" definition="Explanation of why this research element definition is needed and why it has been designed as it has." comment="This element does not describe the usage of the research element definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this research element definition."/>
      <element name="usage" elementType="FHIR.string" description="Describes the clinical usage of the ResearchElementDefinition" definition="A detailed description, from a clinical perspective, of how the ResearchElementDefinition is used."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the research element definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the research element definition."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the research element definition was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the research element definition was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the research element definition is expected to be used" definition="The period during which the research element definition content was or is planned to be in active use." comment="The effective period for a research element definition  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 might be published in 2015."/>
      <element name="topic" description="The category of the ResearchElementDefinition, such as Education, Treatment, Assessment, etc." definition="Descriptive topics related to the content of the ResearchElementDefinition. Topics provide a high-level categorization grouping types of ResearchElementDefinitions that can be useful for filtering and searching.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DefinitionTopic" description="High-level categorization of the definition, used for searching, sorting, and filtering." strength="Example"/>
      </element>
      <element name="author" description="Who authored the content" definition="An individiual or organization primarily involved in the creation and maintenance of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="editor" description="Who edited the content" definition="An individual or organization primarily responsible for internal coherence of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reviewer" description="Who reviewed the content" definition="An individual or organization primarily responsible for review of some aspect of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endorser" description="Who endorsed the content" definition="An individual or organization responsible for officially endorsing the content for use in some setting.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedArtifact" description="Additional documentation, citations, etc." definition="Related artifacts such as additional documentation, justification, or bibliographic references." comment="Each related artifact is either an attachment, or a reference to another resource, but not both.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="library" description="Logic used by the ResearchElementDefinition" definition="A reference to a Library resource containing the formal logic used by the ResearchElementDefinition.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.ResearchElementType" description="population | exposure | outcome" definition="The type of research element, a population, an exposure, or an outcome.">
         <binding name="ResearchElementType" description="The possible types of research elements (E.g. Population, Exposure, Outcome)." strength="Required"/>
      </element>
      <element name="variableType" elementType="FHIR.VariableType" description="dichotomous | continuous | descriptive" definition="The type of the outcome (e.g. Dichotomous, Continuous, or Descriptive).">
         <binding name="VariableType" description="The possible types of variables for exposures or outcomes (E.g. Dichotomous, Continuous, Descriptive)." strength="Required"/>
      </element>
      <element name="characteristic" description="What defines the members of the research element" definition="A characteristic that defines the members of the research element. Multiple characteristics are applied with &quot;and&quot; semantics." comment="Characteristics can be defined flexibly to accommodate different use cases for membership criteria, ranging from simple codes, all the way to using an expression language to express the criteria.">
         <elementTypeSpecifier elementType="FHIR.ResearchElementDefinition.Characteristic" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="title" path="title" type="System.String"/>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="url" path="url" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="depends-on" path="relatedArtifact.where(type='depends-on').resource|library">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="topic" path="topic" type="System.Code"/>
      <search name="description" path="description" type="System.String"/>
      <search name="derived-from" path="relatedArtifact.where(type='derived-from').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="name" path="name" type="System.String"/>
      <search name="predecessor" path="relatedArtifact.where(type='predecessor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="composed-of" path="relatedArtifact.where(type='composed-of').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="version" path="version" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="successor" path="relatedArtifact.where(type='successor').resource">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ResearchElementDefinition.Characteristic" retrievable="false" xsi:type="ClassInfo">
      <element name="definition" description="What code or expression defines members?" definition="Define members of the research element using Codes (such as condition, medication, or observation), Expressions ( using an expression language such as FHIRPath or CQL) or DataRequirements (such as Diabetes diagnosis onset in the last year).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Expression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DataRequirement" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="usageContext" description="What code/value pairs define members?" definition="Use UsageContext to define the members of the population, such as Age Ranges, Genders, Settings.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="exclude" elementType="FHIR.boolean" description="Whether the characteristic includes or excludes members" definition="When true, members with this characteristic are excluded from the element."/>
      <element name="unitOfMeasure" elementType="FHIR.CodeableConcept" description="What unit is the outcome described in?" definition="Specifies the UCUM unit for the outcome.">
         <binding name="UCUMUnits" description="Unified Code for Units of Measure (UCUM)." strength="Required"/>
      </element>
      <element name="studyEffectiveDescription" elementType="FHIR.string" description="What time period does the study cover" definition="A narrative description of the time period the study covers."/>
      <element name="studyEffective" description="What time period does the study cover" definition="Indicates what effective period the study covers.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="studyEffectiveTimeFromStart" elementType="FHIR.Duration" description="Observation time from study start" definition="Indicates duration from the study initiation."/>
      <element name="studyEffectiveGroupMeasure" elementType="FHIR.GroupMeasure" description="mean | median | mean-of-mean | mean-of-median | median-of-mean | median-of-median" definition="Indicates how elements are aggregated within the study effective period.">
         <binding name="GroupMeasure" description="Possible group measure aggregates (E.g. Mean, Median)." strength="Required"/>
      </element>
      <element name="participantEffectiveDescription" elementType="FHIR.string" description="What time period do participants cover" definition="A narrative description of the time period the study covers."/>
      <element name="participantEffective" description="What time period do participants cover" definition="Indicates what effective period the study covers.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="participantEffectiveTimeFromStart" elementType="FHIR.Duration" description="Observation time from study start" definition="Indicates duration from the participant's study entry."/>
      <element name="participantEffectiveGroupMeasure" elementType="FHIR.GroupMeasure" description="mean | median | mean-of-mean | mean-of-median | median-of-mean | median-of-median" definition="Indicates how elements are aggregated within the study effective period.">
         <binding name="GroupMeasure" description="Possible group measure aggregates (E.g. Mean, Median)." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ResearchElementType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ResearchStudy" identifier="http://hl7.org/fhir/StructureDefinition/ResearchStudy" label="ResearchStudy" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for study" definition="Identifiers assigned to this research study by the sponsor or other systems.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="title" elementType="FHIR.string" description="Name for this study" definition="A short, descriptive user-friendly label for the study."/>
      <element name="protocol" description="Steps followed in executing study" definition="The set of steps expected to be performed as part of the execution of the study.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" description="Part of larger study" definition="A larger research study of which this particular study is a component or step.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ResearchStudyStatus" description="active | administratively-completed | approved | closed-to-accrual | closed-to-accrual-and-intervention | completed | disapproved | in-review | temporarily-closed-to-accrual | temporarily-closed-to-accrual-and-intervention | withdrawn" definition="The current state of the study.">
         <binding name="ResearchStudyStatus" description="Codes that convey the current status of the research study." strength="Required"/>
      </element>
      <element name="primaryPurposeType" elementType="FHIR.CodeableConcept" description="treatment | prevention | diagnostic | supportive-care | screening | health-services-research | basic-science | device-feasibility" definition="The type of study based upon the intent of the study's activities. A classification of the intent of the study.">
         <binding name="ResearchStudyPrimaryPurposeType" description="Codes for the main intent of the study." strength="Extensible"/>
      </element>
      <element name="phase" elementType="FHIR.CodeableConcept" description="n-a | early-phase-1 | phase-1 | phase-1-phase-2 | phase-2 | phase-2-phase-3 | phase-3 | phase-4" definition="The stage in the progression of a therapy from initial experimental use in humans in clinical trials to post-market evaluation.">
         <binding name="ResearchStudyPhase" description="Codes for the stage in the progression of a therapy from initial experimental use in humans in clinical trials to post-market evaluation." strength="Example"/>
      </element>
      <element name="category" description="Classifications for the study" definition="Codes categorizing the type of study such as investigational vs. observational, type of blinding, type of randomization, safety vs. efficacy, etc.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ResearchStudyCategory" description="Codes that describe the type of research study.  E.g. Study phase, Interventional/Observational, blinding type, etc." strength="Example"/>
      </element>
      <element name="focus" description="Drugs, devices, etc. under study" definition="The medication(s), food(s), therapy(ies), device(s) or other concerns or interventions that the study is seeking to gain more information about.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ResearchStudyFocus" description="Codes for medications, devices and other interventions." strength="Example"/>
      </element>
      <element name="condition" description="Condition being studied" definition="The condition that is the focus of the study.  For example, In a study to examine risk factors for Lupus, might have as an inclusion criterion &quot;healthy volunteer&quot;, but the target condition code would be a Lupus SNOMED code.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ConditionCode" description="Identification of the condition or diagnosis." strength="Example"/>
      </element>
      <element name="contact" description="Contact details for the study" definition="Contact details to assist a user in learning more about or engaging with the study.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedArtifact" description="References and dependencies" definition="Citations, references and other related documents.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="keyword" description="Used to search for the study" definition="Key terms to aid in searching for or filtering the study.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ResearchStudyKeyword" description="Words associated with the study that may be useful in discovery." strength="Example"/>
      </element>
      <element name="location" description="Geographic region(s) for study" definition="Indicates a country, state or other region where the study is taking place.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="What this is study doing" definition="A full description of how the study is being conducted."/>
      <element name="enrollment" description="Inclusion &amp; exclusion criteria" definition="Reference to a Group that defines the criteria for and quantity of subjects participating in the study.  E.g. &quot; 200 female Europeans between the ages of 20 and 45 with early onset diabetes&quot;." comment="The Group referenced should not generally enumerate specific subjects.  Subjects will be linked to the study using the ResearchSubject resource.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="When the study began and ended" definition="Identifies the start date and the expected (or actual, depending on status) end date for the study."/>
      <element name="sponsor" elementType="FHIR.Reference" description="Organization that initiates and is legally responsible for the study" definition="An organization that initiates the investigation and is legally responsible for the study."/>
      <element name="principalInvestigator" elementType="FHIR.Reference" description="Researcher who oversees multiple aspects of the study" definition="A researcher in a study who oversees multiple aspects of the study, such as concept development, protocol writing, protocol submission for IRB approval, participant recruitment, informed consent, data collection, analysis, interpretation and presentation."/>
      <element name="site" description="Facility where study activities are conducted" definition="A facility in which study activities are conducted.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reasonStopped" elementType="FHIR.CodeableConcept" description="accrual-goal-met | closed-due-to-toxicity | closed-due-to-lack-of-study-progress | temporarily-closed-per-study-design" definition="A description and/or code explaining the premature termination of the study.">
         <binding name="ResearchStudyReasonStopped" description="Codes for why the study ended prematurely." strength="Example"/>
      </element>
      <element name="note" description="Comments made about the study" definition="Comments made about the study by the performer, subject or other participants.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="arm" description="Defined path through the study for a subject" definition="Describes an expected sequence of events for one of the participants of a study.  E.g. Exposure to drug A, wash-out, exposure to drug B, wash-out, follow-up.">
         <elementTypeSpecifier elementType="FHIR.ResearchStudy.Arm" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="objective" description="A goal for the study" definition="A goal that the study is aiming to achieve in terms of a scientific question to be answered by the analysis of data collected during the study.">
         <elementTypeSpecifier elementType="FHIR.ResearchStudy.Objective" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="principalInvestigator"/>
      <search name="principalinvestigator" path="principalInvestigator">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="protocol" path="protocol" type="FHIR.PlanDefinition"/>
      <search name="title" path="title" type="System.String"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="sponsor" path="sponsor" type="FHIR.Organization"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="partof" path="partOf" type="FHIR.ResearchStudy"/>
      <search name="focus" path="focus" type="System.Code"/>
      <search name="keyword" path="keyword" type="System.Code"/>
      <search name="location" path="location" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="date" path="period" type="System.DateTime"/>
      <search name="site" path="site" type="FHIR.Location"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ResearchStudy.Arm" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Label for study arm" definition="Unique, human-readable label for this arm of the study."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Categorization of study arm" definition="Categorization of study arm, e.g. experimental, active comparator, placebo comparater."/>
      <element name="description" elementType="FHIR.string" description="Short explanation of study path" definition="A succinct description of the path through the study that would be followed by a subject adhering to this arm."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ResearchStudy.Objective" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Label for the objective" definition="Unique, human-readable label for this objective of the study."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="primary | secondary | exploratory" definition="The kind of study objective.">
         <binding name="ResearchStudyObjectiveType" description="Codes for the kind of study objective." strength="Preferred"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ResearchStudyStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ResearchSubject" identifier="http://hl7.org/fhir/StructureDefinition/ResearchSubject" label="ResearchSubject" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for research subject in a study" definition="Identifiers assigned to this research subject for a study.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.ResearchSubjectStatus" description="candidate | eligible | follow-up | ineligible | not-registered | off-study | on-study | on-study-intervention | on-study-observation | pending-on-study | potential-candidate | screening | withdrawn" definition="The current state of the subject.">
         <binding name="ResearchSubjectStatus" description="Indicates the progression of a study subject through a study." strength="Required"/>
      </element>
      <element name="period" elementType="FHIR.Period" description="Start and end of participation" definition="The dates the subject began and ended their participation in the study."/>
      <element name="study" elementType="FHIR.Reference" description="Study subject is part of" definition="Reference to the study the subject is participating in."/>
      <element name="individual" elementType="FHIR.Reference" description="Who is part of study" definition="The record of the person or animal who is involved in the study."/>
      <element name="assignedArm" elementType="FHIR.string" description="What path should be followed" definition="The name of the arm in the study the subject is expected to follow as part of this study."/>
      <element name="actualArm" elementType="FHIR.string" description="What path was followed" definition="The name of the arm in the study the subject actually followed as part of this study."/>
      <element name="consent" elementType="FHIR.Reference" description="Agreement to participate in study" definition="A record of the patient's informed agreement to participate in the study."/>
      <contextRelationship context="Patient" relatedKeyElement="individual"/>
      <search name="study" path="study" type="FHIR.ResearchStudy"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="individual" path="individual" type="FHIR.Patient"/>
      <search name="date" path="period" type="System.DateTime"/>
      <search name="patient" path="individual" type="FHIR.Patient"/>
      <search name="identifier" path="identifier" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ResearchSubjectStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="System.Any" namespace="FHIR" name="Resource" identifier="http://hl7.org/fhir/StructureDefinition/Resource" label="Resource" retrievable="true" xsi:type="ClassInfo">
      <element name="id" elementType="FHIR.id" description="Logical id of this artifact" definition="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." comment="The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/>
      <element name="meta" elementType="FHIR.Meta" description="Metadata about the resource" definition="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource."/>
      <element name="implicitRules" elementType="FHIR.uri" description="A set of rules under which this content was created" definition="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." comment="Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc."/>
      <element name="language" elementType="FHIR.code" description="Language of the resource content" definition="The base language in which the resource is written." comment="Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).">
         <binding name="Language" description="A human language." strength="Preferred"/>
      </element>
      <search name="_profile" path="meta.profile" type="System.String"/>
      <search name="_lastUpdated" path="meta.lastUpdated" type="System.DateTime"/>
      <search name="_security" path="meta.security" type="System.Code"/>
      <search name="_id" path="id" type="System.Code"/>
      <search name="_source" path="meta.source" type="System.String"/>
      <search name="_tag" path="meta.tag" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ResourceType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ResourceVersionPolicy" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ResponseType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="RestfulCapabilityMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="RiskAssessment" identifier="http://hl7.org/fhir/StructureDefinition/RiskAssessment" label="RiskAssessment" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Unique identifier for the assessment" definition="Business identifier assigned to the risk assessment.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" elementType="FHIR.Reference" description="Request fulfilled by this assessment" definition="A reference to the request that is fulfilled by this risk assessment."/>
      <element name="parent" elementType="FHIR.Reference" description="Part of this occurrence" definition="A reference to a resource that this risk assessment is part of, such as a Procedure."/>
      <element name="status" elementType="FHIR.RiskAssessmentStatus" description="registered | preliminary | final | amended +" definition="The status of the RiskAssessment, using the same statuses as an Observation.">
         <binding name="RiskAssessmentStatus" description="The status of the risk assessment; e.g. preliminary, final, amended, etc." strength="Required"/>
      </element>
      <element name="method" elementType="FHIR.CodeableConcept" description="Evaluation mechanism" definition="The algorithm, process or mechanism used to evaluate the risk.">
         <binding name="RiskAssessmentMethod" description="The mechanism or algorithm used to make the assessment; e.g. TIMI, PRISM, Cardiff Type 2 diabetes, etc." strength="Example"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Type of assessment" definition="The type of the risk assessment performed."/>
      <element name="subject" elementType="FHIR.Reference" description="Who/what does assessment apply to?" definition="The patient or group the risk assessment applies to."/>
      <element name="encounter" elementType="FHIR.Reference" description="Where was assessment performed?" definition="The encounter where the assessment was performed."/>
      <element name="occurrence" description="When was assessment made?" definition="The date (and possibly time) the risk assessment was performed.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="condition" elementType="FHIR.Reference" description="Condition assessed" definition="For assessments or prognosis specific to a particular condition, indicates the condition being assessed."/>
      <element name="performer" elementType="FHIR.Reference" description="Who did assessment?" definition="The provider or software application that performed the assessment."/>
      <element name="reasonCode" description="Why the assessment was necessary?" definition="The reason the risk assessment was performed.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reasonReference" description="Why the assessment was necessary?" definition="Resources supporting the reason the risk assessment was performed.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basis" description="Information used in assessment" definition="Indicates the source data considered as part of the assessment (for example, FamilyHistory, Observations, Procedures, Conditions, etc.).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="prediction" description="Outcome predicted" definition="Describes the expected outcome for the subject." comment="Multiple repetitions can be used to identify the same type of outcome in different timeframes as well as different types of outcomes.">
         <elementTypeSpecifier elementType="FHIR.RiskAssessment.Prediction" xsi:type="ListTypeSpecifier"/>
         <constraint name="ras-2" severity="ERROR" message="Must be &lt;= 100">
            <expression language="text/fhirpath" expression="probability is decimal implies (probability as decimal) &lt;= 100"/>
         </constraint>
      </element>
      <element name="mitigation" elementType="FHIR.string" description="How to reduce risk" definition="A description of the steps that might be taken to reduce the identified risk(s)."/>
      <element name="note" description="Comments on the risk assessment" definition="Additional comments about the risk assessment.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="performer"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Device" relatedKeyElement="performer"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="encounter" path="encounter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="performer" path="performer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="probability" path="prediction.probability" type="System.Decimal"/>
      <search name="risk" path="prediction.qualitativeRisk" type="System.Code"/>
      <search name="condition" path="condition" type="FHIR.Condition"/>
      <search name="method" path="method" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="RiskAssessment.Prediction" retrievable="false" xsi:type="ClassInfo">
      <element name="outcome" elementType="FHIR.CodeableConcept" description="Possible outcome for the subject" definition="One of the potential outcomes for the patient (e.g. remission, death,  a particular condition).">
         <binding name="RiskAssessmentOutcome" description="The condition or other outcome; e.g. death, remission, amputation, infection, etc." strength="Example"/>
      </element>
      <element name="probability" description="Likelihood of specified outcome" definition="Indicates how likely the outcome is (in the specified timeframe)." comment="If range is used, it represents the lower and upper bounds of certainty; e.g. 40-60%  Decimal values are expressed as percentages as well (max = 100).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <constraint name="ras-1" severity="ERROR" message="low and high must be percentages, if present">
            <expression language="text/fhirpath" expression="(low.empty() or ((low.code = '%') and (low.system = %ucum))) and (high.empty() or ((high.code = '%') and (high.system = %ucum)))"/>
         </constraint>
      </element>
      <element name="qualitativeRisk" elementType="FHIR.CodeableConcept" description="Likelihood of specified outcome as a qualitative value" definition="Indicates how likely the outcome is (in the specified timeframe), expressed as a qualitative value (e.g. low, medium, or high).">
         <binding name="RiskAssessmentProbability" description="The likelihood of the occurrence of a specified outcome." strength="Example"/>
      </element>
      <element name="relativeRisk" elementType="FHIR.decimal" description="Relative likelihood" definition="Indicates the risk for this particular subject (with their specific characteristics) divided by the risk of the population in general.  (Numbers greater than 1 = higher risk than the population, numbers less than 1 = lower risk.)."/>
      <element name="when" description="Timeframe or age range" definition="Indicates the period of time or age range of the subject to which the specified probability applies." comment="If not specified, the risk applies &quot;over the subject's lifespan&quot;.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="rationale" elementType="FHIR.string" description="Explanation of prediction" definition="Additional information explaining the basis for the prediction."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="RiskAssessmentStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="RiskEvidenceSynthesis" identifier="http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis" label="RiskEvidenceSynthesis" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this risk evidence synthesis, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this risk evidence synthesis 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 risk evidence synthesis is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the risk evidence synthesis 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the risk evidence synthesis" definition="A formal identifier that is used to identify this risk evidence synthesis when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this risk evidence synthesis outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the risk evidence synthesis" definition="The identifier that is used to identify this version of the risk evidence synthesis when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the risk evidence synthesis 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 risk evidence synthesis 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 risk evidence synthesis with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this risk evidence synthesis (computer friendly)" definition="A natural language name identifying the risk evidence synthesis. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this risk evidence synthesis (human friendly)" definition="A short, descriptive, user-friendly title for the risk evidence synthesis." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this risk evidence synthesis. Enables tracking the life-cycle of the content." comment="Allows filtering of risk evidence synthesiss that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the risk evidence synthesis 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 risk evidence synthesis 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 risk evidence synthesis. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the risk evidence synthesis." comment="Usually an organization but may be an individual. The publisher (or steward) of the risk evidence synthesis is the organization or individual primarily responsible for the maintenance and upkeep of the risk evidence synthesis. 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 risk evidence synthesis. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the risk evidence synthesis" definition="A free text natural language description of the risk evidence synthesis from a consumer's perspective." comment="This description can be used to capture details such as why the risk evidence synthesis 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 risk evidence synthesis 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 risk evidence synthesis is presumed to be the predominant language in the place the risk evidence synthesis was created)."/>
      <element name="note" description="Used for footnotes or explanatory notes" definition="A human-readable string to clarify or explain concepts about the resource.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="useContext" description="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 risk evidence synthesis instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for risk evidence synthesis (if applicable)" definition="A legal or geographic region in which the risk evidence synthesis is intended to be used." comment="It may be possible for the risk evidence synthesis to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the risk evidence synthesis and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the risk evidence synthesis."/>
      <element name="approvalDate" elementType="FHIR.date" description="When the risk evidence synthesis was approved by publisher" definition="The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." comment="The 'date' element may be more recent than the approval date because of minor changes or editorial corrections."/>
      <element name="lastReviewDate" elementType="FHIR.date" description="When the risk evidence synthesis was last reviewed" definition="The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." comment="If specified, this date follows the original approval date."/>
      <element name="effectivePeriod" elementType="FHIR.Period" description="When the risk evidence synthesis is expected to be used" definition="The period during which the risk evidence synthesis content was or is planned to be in active use." comment="The effective period for a risk evidence synthesis  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 might be published in 2015."/>
      <element name="topic" description="The category of the EffectEvidenceSynthesis, such as Education, Treatment, Assessment, etc." definition="Descriptive topics related to the content of the RiskEvidenceSynthesis. Topics provide a high-level categorization grouping types of EffectEvidenceSynthesiss that can be useful for filtering and searching.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="DefinitionTopic" description="High-level categorization of the definition, used for searching, sorting, and filtering." strength="Example"/>
      </element>
      <element name="author" description="Who authored the content" definition="An individiual or organization primarily involved in the creation and maintenance of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="editor" description="Who edited the content" definition="An individual or organization primarily responsible for internal coherence of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reviewer" description="Who reviewed the content" definition="An individual or organization primarily responsible for review of some aspect of the content.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="endorser" description="Who endorsed the content" definition="An individual or organization responsible for officially endorsing the content for use in some setting.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relatedArtifact" description="Additional documentation, citations, etc." definition="Related artifacts such as additional documentation, justification, or bibliographic references." comment="Each related artifact is either an attachment, or a reference to another resource, but not both.">
         <elementTypeSpecifier elementType="FHIR.RelatedArtifact" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="synthesisType" elementType="FHIR.CodeableConcept" description="Type of synthesis" definition="Type of synthesis eg meta-analysis.">
         <binding name="SynthesisType" description="Types of combining results from a body of evidence (eg. summary data meta-analysis)." strength="Extensible"/>
      </element>
      <element name="studyType" elementType="FHIR.CodeableConcept" description="Type of study" definition="Type of study eg randomized trial.">
         <binding name="StudyType" description="Types of research studies (types of research methods)." strength="Extensible"/>
      </element>
      <element name="population" elementType="FHIR.Reference" description="What population?" definition="A reference to a EvidenceVariable resource that defines the population for the research."/>
      <element name="exposure" elementType="FHIR.Reference" description="What exposure?" definition="A reference to a EvidenceVariable resource that defines the exposure for the research."/>
      <element name="outcome" elementType="FHIR.Reference" description="What outcome?" definition="A reference to a EvidenceVariable resomece that defines the outcome for the research."/>
      <element name="sampleSize" elementType="FHIR.RiskEvidenceSynthesis.SampleSize" description="What sample size was involved?" definition="A description of the size of the sample involved in the synthesis."/>
      <element name="riskEstimate" elementType="FHIR.RiskEvidenceSynthesis.RiskEstimate" description="What was the estimated risk" definition="The estimated risk of the outcome."/>
      <element name="certainty" description="How certain is the risk" definition="A description of the certainty of the risk estimate.">
         <elementTypeSpecifier elementType="FHIR.RiskEvidenceSynthesis.Certainty" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="effective" path="effectivePeriod" type="System.DateTime"/>
      <search name="name" path="name" type="System.String"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
      <search name="description" path="description" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="date" path="date" type="System.DateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="RiskEvidenceSynthesis.Certainty" retrievable="false" xsi:type="ClassInfo">
      <element name="rating" description="Certainty rating" definition="A rating of the certainty of the effect estimate.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="QualityOfEvidenceRating" 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." strength="Extensible"/>
      </element>
      <element name="note" description="Used for footnotes or explanatory notes" definition="A human-readable string to clarify or explain concepts about the resource.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="certaintySubcomponent" description="A component that contributes to the overall certainty" definition="A description of a component of the overall certainty.">
         <elementTypeSpecifier elementType="FHIR.RiskEvidenceSynthesis.Certainty.CertaintySubcomponent" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="RiskEvidenceSynthesis.Certainty.CertaintySubcomponent" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of subcomponent of certainty rating" definition="Type of subcomponent of certainty rating.">
         <binding name="CertaintySubcomponentType" description="The subcomponent classification of quality of evidence rating systems." strength="Extensible"/>
      </element>
      <element name="rating" description="Subcomponent certainty rating" definition="A rating of a subcomponent of rating certainty.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="CertaintySubcomponentRating" description="The quality rating of the subcomponent of a quality of evidence rating." strength="Extensible"/>
      </element>
      <element name="note" description="Used for footnotes or explanatory notes" definition="A human-readable string to clarify or explain concepts about the resource.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="RiskEvidenceSynthesis.RiskEstimate" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Description of risk estimate" definition="Human-readable summary of risk estimate."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of risk estimate" definition="Examples include proportion and mean.">
         <binding name="RiskEstimateType" description="Whether the risk estimate is dichotomous, continuous or qualitative and the specific type of risk estimate (eg proportion or median)." strength="Extensible"/>
      </element>
      <element name="value" elementType="FHIR.decimal" description="Point estimate" definition="The point estimate of the risk estimate."/>
      <element name="unitOfMeasure" elementType="FHIR.CodeableConcept" description="What unit is the outcome described in?" definition="Specifies the UCUM unit for the outcome.">
         <binding name="UCUMUnits" description="Unified Code for Units of Measure (UCUM)." strength="Required"/>
      </element>
      <element name="denominatorCount" elementType="FHIR.integer" description="Sample size for group measured" definition="The sample size for the group that was measured for this risk estimate."/>
      <element name="numeratorCount" elementType="FHIR.integer" description="Number with the outcome" definition="The number of group members with the outcome of interest."/>
      <element name="precisionEstimate" description="How precise the estimate is" definition="A description of the precision of the estimate for the effect.">
         <elementTypeSpecifier elementType="FHIR.RiskEvidenceSynthesis.RiskEstimate.PrecisionEstimate" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="RiskEvidenceSynthesis.RiskEstimate.PrecisionEstimate" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of precision estimate" definition="Examples include confidence interval and interquartile range.">
         <binding name="PrecisionEstimateType" description="Method of reporting variability of estimates, such as confidence intervals, interquartile range or standard deviation." strength="Extensible"/>
      </element>
      <element name="level" elementType="FHIR.decimal" description="Level of confidence interval" definition="Use 95 for a 95% confidence interval."/>
      <element name="from" elementType="FHIR.decimal" description="Lower bound" definition="Lower bound of confidence interval."/>
      <element name="to" elementType="FHIR.decimal" description="Upper bound" definition="Upper bound of confidence interval."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="RiskEvidenceSynthesis.SampleSize" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Description of sample size" definition="Human-readable summary of sample size."/>
      <element name="numberOfStudies" elementType="FHIR.integer" description="How many studies?" definition="Number of studies included in this evidence synthesis."/>
      <element name="numberOfParticipants" elementType="FHIR.integer" description="How many participants?" definition="Number of participants included in this evidence synthesis."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SPDXLicense" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SampledData" identifier="http://hl7.org/fhir/StructureDefinition/SampledData" label="SampledData" retrievable="false" xsi:type="ClassInfo">
      <element name="origin" elementType="FHIR.SimpleQuantity" description="Zero value and units" definition="The base quantity that a measured value of zero represents. In addition, this provides the units of the entire measurement series."/>
      <element name="period" elementType="FHIR.decimal" description="Number of milliseconds between samples" definition="The length of time between sampling times, measured in milliseconds." comment="This is usually a whole number."/>
      <element name="factor" elementType="FHIR.decimal" description="Multiply data by this before adding to origin" definition="A correction factor that is applied to the sampled data points before they are added to the origin."/>
      <element name="lowerLimit" elementType="FHIR.decimal" description="Lower limit of detection" definition="The lower limit of detection of the measured points. This is needed if any of the data points have the value &quot;L&quot; (lower than detection limit)."/>
      <element name="upperLimit" elementType="FHIR.decimal" description="Upper limit of detection" definition="The upper limit of detection of the measured points. This is needed if any of the data points have the value &quot;U&quot; (higher than detection limit)."/>
      <element name="dimensions" elementType="FHIR.positiveInt" description="Number of sample points at each time point" definition="The number of sample points at each time point. If this value is greater than one, then the dimensions will be interlaced - all the sample points for a point in time will be recorded at once." comment="If there is more than one dimension, the code for the type of data will define the meaning of the dimensions (typically ECG data)."/>
      <element name="data" elementType="FHIR.string" description="Decimal values with spaces, or &quot;E&quot; | &quot;U&quot; | &quot;L&quot;" definition="A series of data points which are decimal values separated by a single space (character u20). The special values &quot;E&quot; (error), &quot;L&quot; (below detection limit) and &quot;U&quot; (above detection limit) can also be used in place of a decimal value." comment="Data may be missing if it is omitted for summarization purposes. In general, data is required for any actual use of a SampledData."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Schedule" identifier="http://hl7.org/fhir/StructureDefinition/Schedule" label="Schedule" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="External Ids for this item" definition="External Ids for this item.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="active" elementType="FHIR.boolean" description="Whether this schedule is in active use" definition="Whether this schedule record is in active use or should not be used (such as was entered in error)." comment="This element is labeled as a modifier because it may be used to mark that the resource was created in error."/>
      <element name="serviceCategory" description="High-level category" definition="A broad categorization of the service that is to be performed during this appointment.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="service-category" strength="Example"/>
      </element>
      <element name="serviceType" description="Specific service" definition="The specific service that is to be performed during this appointment.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="service-type" strength="Example"/>
      </element>
      <element name="specialty" description="Type of specialty needed" definition="The specialty of a practitioner that would be required to perform the service requested in this appointment.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="specialty" description="Additional details about where the content was created (e.g. clinical specialty)." strength="Preferred"/>
      </element>
      <element name="actor" description="Resource(s) that availability information is being provided for" definition="Slots that reference this schedule resource provide the availability details to these referenced resource(s)." comment="The capacity to support multiple referenced resource types should be used in cases where the specific resources themselves cannot be scheduled without the other, and thus only make sense to the system exposing them as a group. Common examples of this are where the combination of a practitioner and a room (Location) are always required by a system.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="planningHorizon" elementType="FHIR.Period" description="Period of time covered by schedule" definition="The period of time that the slots that reference this Schedule resource cover (even if none exist). These  cover the amount of time that an organization's planning horizon; the interval for which they are currently accepting appointments. This does not define a &quot;template&quot; for planning outside these dates."/>
      <element name="comment" elementType="FHIR.string" description="Comments on availability" definition="Comments on the availability to describe any extended information. Such as custom constraints on the slots that may be associated."/>
      <contextRelationship context="Practitioner" relatedKeyElement="actor"/>
      <contextRelationship context="Patient" relatedKeyElement="actor"/>
      <contextRelationship context="Device" relatedKeyElement="actor"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="actor"/>
      <search name="service-type" path="serviceType" type="System.Code"/>
      <search name="specialty" path="specialty" type="System.Code"/>
      <search name="actor" path="actor">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="service-category" path="serviceCategory" type="System.Code"/>
      <search name="date" path="planningHorizon" type="System.DateTime"/>
      <search name="active" path="active" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SearchComparator" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SearchEntryMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SearchModifierCode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SearchParamType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="SearchParameter" identifier="http://hl7.org/fhir/StructureDefinition/SearchParameter" label="SearchParameter" retrievable="true" primaryCodePath="target" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this search parameter, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this search parameter 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 search parameter is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the search parameter 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="version" elementType="FHIR.string" description="Business version of the search parameter" definition="The identifier that is used to identify this version of the search parameter when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the search parameter 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 search parameter 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 search parameter with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this search parameter (computer friendly)" definition="A natural language name identifying the search parameter. 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."/>
      <element name="derivedFrom" elementType="FHIR.canonical" description="Original definition for the search parameter" definition="Where this search parameter is originally defined. If a derivedFrom is provided, then the details in the search parameter must be consistent with the definition from which it is defined. i.e. the parameter should have the same meaning, and (usually) the functionality should be a proper subset of the underlying search parameter." comment="The intent of this is that a server can designate that it provides support for a search parameter defined in the specification itself (e.g.  [`value-quantity`](http://hl7.org/fhir/SearchParameter/Observation-value-quantity), but detail how it is supported by the server."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this search parameter. Enables tracking the life-cycle of the content." comment="Allows filtering of search parameters that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this search parameter is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of search parameters that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the search parameter 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 search parameter 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 search parameter. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the search parameter." comment="Usually an organization but may be an individual. The publisher (or steward) of the search parameter is the organization or individual primarily responsible for the maintenance and upkeep of the search parameter. 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 search parameter. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the search parameter" definition="And how it used." comment="This description can be used to capture details such as why the search parameter 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 search parameter 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 search parameter is presumed to be the predominant language in the place the search parameter was created)."/>
      <element name="useContext" description="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 search parameter instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for search parameter (if applicable)" definition="A legal or geographic region in which the search parameter is intended to be used." comment="It may be possible for the search parameter to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this search parameter is defined" definition="Explanation of why this search parameter is needed and why it has been designed as it has." comment="This element does not describe the usage of the search parameter. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this search parameter."/>
      <element name="code" elementType="FHIR.code" description="Code used in URL" definition="The code used in the URL or the parameter name in a parameters resource for this search parameter." comment="For maximum compatibility, use only lowercase ASCII characters."/>
      <element name="base" description="The resource type(s) this search parameter applies to" definition="The base resource type(s) that this search parameter can be used against." comment="A search parameter must always apply to at least one resource type. When search parameters apply to more than one resource type, they can be used against any of the listed resource types, or in a cross-type search (see [Cross Resource Search](http.html#xres-search)).">
         <elementTypeSpecifier elementType="FHIR.ResourceType" xsi:type="ListTypeSpecifier"/>
         <binding name="ResourceType" description="One of the resource types defined as part of this version of FHIR." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.SearchParamType" description="number | date | string | token | reference | composite | quantity | uri | special" definition="The type of value that a search parameter may contain, and how the content is interpreted.">
         <binding name="SearchParamType" description="Data types allowed to be used for search parameters." strength="Required"/>
      </element>
      <element name="expression" elementType="FHIR.string" description="FHIRPath expression that extracts the values" definition="A FHIRPath expression that returns a set of elements for the search parameter." comment="Note that the elements returned by the expression are sometimes complex elements where logic is required to determine quite how to handle them; e.g. CodeableConcepts may contain text and/or multiple codings, where the codings themselves contain a code and a system. For composite search parameters, the outcome of the expression must a collection of base elements from which the composites are derived."/>
      <element name="xpath" elementType="FHIR.string" description="XPath that extracts the values" definition="An XPath expression that returns a set of elements for the search parameter." comment="Note that the elements returned by the XPath are sometimes complex elements where logic is required to determine quite how to handle them; e.g. CodeableConcepts may contain text and/or multiple codings, where the codings themselves contain a code and a system."/>
      <element name="xpathUsage" elementType="FHIR.XPathUsageType" description="normal | phonetic | nearby | distance | other" definition="How the search parameter relates to the set of elements returned by evaluating the xpath query.">
         <binding name="XPathUsageType" description="How a search parameter relates to the set of elements returned by evaluating its xpath query." strength="Required"/>
      </element>
      <element name="target" description="Types of resource (if a resource reference)" definition="Types of resource (if a resource is referenced).">
         <elementTypeSpecifier elementType="FHIR.ResourceType" xsi:type="ListTypeSpecifier"/>
         <binding name="ResourceType" description="One of the resource types defined as part of this version of FHIR." strength="Required"/>
      </element>
      <element name="multipleOr" elementType="FHIR.boolean" description="Allow multiple values per parameter (or)" definition="Whether multiple values are allowed for each time the parameter exists. Values are separated by commas, and the parameter matches if any of the values match."/>
      <element name="multipleAnd" elementType="FHIR.boolean" description="Allow multiple parameters (and)" definition="Whether multiple parameters are allowed - e.g. more than one parameter with the same name. The search matches if all the parameters match."/>
      <element name="comparator" description="eq | ne | gt | lt | ge | le | sa | eb | ap" definition="Comparators supported for the search parameter." comment="If no comparators are listed, clients should not expect servers to support any comparators.">
         <elementTypeSpecifier elementType="FHIR.SearchComparator" xsi:type="ListTypeSpecifier"/>
         <binding name="SearchComparator" description="What Search Comparator Codes are supported in search." strength="Required"/>
      </element>
      <element name="modifier" description="missing | exact | contains | not | text | in | not-in | below | above | type | identifier | ofType" definition="A modifier supported for the search parameter.">
         <elementTypeSpecifier elementType="FHIR.SearchModifierCode" xsi:type="ListTypeSpecifier"/>
         <binding name="SearchModifierCode" description="A supported modifier for a search parameter." strength="Required"/>
      </element>
      <element name="chain" description="Chained names supported" definition="Contains the names of any search parameters which may be chained to the containing search parameter. Chained parameters may be added to search parameters of type reference and specify that resources will only be returned if they contain a reference to a resource which matches the chained parameter value. Values for this field should be drawn from SearchParameter.code for a parameter on the target resource type." comment="Systems are not required to list all the chain names they support, but if they don't list them, clients might not know to use them.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="component" description="For Composite resources to define the parts" definition="Used to define the parts of a composite search parameter.">
         <elementTypeSpecifier elementType="FHIR.SearchParameter.Component" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="base" path="base" type="System.Code"/>
      <search name="target" path="target" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
      <search name="code" path="code" type="System.Code"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="derived-from" path="derivedFrom" type="FHIR.SearchParameter"/>
      <search name="component" path="component.definition" type="FHIR.SearchParameter"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SearchParameter.Component" retrievable="false" xsi:type="ClassInfo">
      <element name="definition" elementType="FHIR.canonical" description="Defines how the part works" definition="The definition of the search parameter that describes this part."/>
      <element name="expression" elementType="FHIR.string" description="Subexpression relative to main expression" definition="A sub-expression that defines how to extract values for this component from the output of the main SearchParameter.expression." comment="This expression overrides the expression in the definition and extracts the index values from the outcome of the composite expression."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SectionMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SequenceType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ServiceRequest" identifier="http://hl7.org/fhir/StructureDefinition/ServiceRequest" label="ServiceRequest" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Identifiers assigned to this order" definition="Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller." comment="The identifier.type element is used to distinguish between the identifiers assigned by the orderer (known as the 'Placer' in HL7 v2) and the producer of the observations in response to the order (known as the 'Filler' in HL7 v2).  For further discussion and examples see the resource notes section below.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesCanonical" description="Instantiates 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 this ServiceRequest." comment="Note: This is a business identifier, not a resource identifier (see [discussion](resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesUri" description="Instantiates 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 this ServiceRequest." comment="This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="What request fulfills" definition="Plan/proposal/order fulfilled by this request.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="replaces" description="What request replaces" definition="The request takes the place of the referenced completed or terminated request(s).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="requisition" elementType="FHIR.Identifier" description="Composite Request ID" definition="A shared identifier common to all service requests that were authorized more or less simultaneously by a single author, representing the composite or group identifier." comment="Requests are linked either by a &quot;basedOn&quot; relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation."/>
      <element name="status" elementType="FHIR.ServiceRequestStatus" description="draft | active | on-hold | revoked | completed | entered-in-error | unknown" definition="The status of the order." comment="The status is generally fully in the control of the requester - they determine whether the order is draft or active and, after it has been activated, competed, cancelled or suspended. States relating to the activities of the performer are reflected on either the corresponding event (see [Event Pattern](event.html) for general discussion) or using the [Task](task.html) resource.">
         <binding name="ServiceRequestStatus" description="The status of a service order." strength="Required"/>
      </element>
      <element name="intent" elementType="FHIR.ServiceRequestIntent" description="proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option" definition="Whether the request is a proposal, plan, an original order or a reflex order." comment="This element is labeled as a modifier because the intent alters when and how the resource is actually applicable.">
         <binding name="ServiceRequestIntent" description="The kind of service request." strength="Required"/>
      </element>
      <element name="category" description="Classification of service" definition="A code that classifies the service for searching, sorting and display purposes (e.g. &quot;Surgical Procedure&quot;)." comment="There may be multiple axis of categorization depending on the context or use case for retrieving or displaying the resource.  The level of granularity is defined by the category concepts in the value set.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ServiceRequestCategory" description="Classification of the requested service." strength="Example"/>
      </element>
      <element name="priority" elementType="FHIR.ServiceRequestPriority" description="routine | urgent | asap | stat" definition="Indicates how quickly the ServiceRequest should be addressed with respect to other requests.">
         <binding name="ServiceRequestPriority" description="Identifies the level of importance to be assigned to actioning the request." strength="Required"/>
      </element>
      <element name="doNotPerform" elementType="FHIR.boolean" description="True if service/procedure should not be performed" definition="Set this to true if the record is saying that the service/procedure should NOT be performed." comment="In general, only the code and timeframe will be present, though occasional additional qualifiers such as body site or even performer could be included to narrow the scope of the prohibition.  If the ServiceRequest.code and ServiceRequest.doNotPerform both contain negation, that will reinforce prohibition and should not have a double negative interpretation."/>
      <element name="code" elementType="FHIR.CodeableConcept" description="What is being requested/ordered" definition="A code that identifies a particular service (i.e., procedure, diagnostic investigation, or panel of investigations) that have been requested." comment="Many laboratory and radiology procedure codes embed the specimen/organ system in the test order name, for example,  serum or serum/plasma glucose, or a chest x-ray. The specimen might not be recorded separately from the test code.">
         <binding name="ServiceRequestCode" description="Codes for tests or services that can be carried out by a designated individual, organization or healthcare service.  For laboratory, LOINC is  (preferred)[http://build.fhir.org/terminologies.html#preferred] and a valueset using LOINC Order codes is available [here](valueset-diagnostic-requests.html)." strength="Example"/>
      </element>
      <element name="orderDetail" description="Additional order information" definition="Additional details and instructions about the how the services are to be delivered.   For example, and order for a urinary catheter may have an order detail for an external or indwelling catheter, or an order for a bandage may require additional instructions specifying how the bandage should be applied." comment="For information from the medical record intended to support the delivery of the requested services, use the `supportingInformation` element.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="OrderDetail" description="Codified order entry details which are based on order context." strength="Example"/>
      </element>
      <element name="quantity" description="Service amount" definition="An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Individual or Entity the service is ordered for" definition="On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans)."/>
      <element name="encounter" elementType="FHIR.Reference" description="Encounter in which the request was created" definition="An encounter that provides additional information about the healthcare context in which this request is made."/>
      <element name="occurrence" description="When service should occur" definition="The date/time at which the requested service should occur.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="asNeeded" description="Preconditions for service" definition="If a CodeableConcept is present, it indicates the pre-condition for performing the service.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ProcedureAsNeededReason" description="A coded concept identifying the pre-condition that should hold prior to performing a procedure.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc." strength="Example"/>
      </element>
      <element name="authoredOn" elementType="FHIR.dateTime" description="Date request signed" definition="When the request transitioned to being actionable."/>
      <element name="requester" elementType="FHIR.Reference" description="Who/what is requesting service" definition="The individual who initiated the request and has responsibility for its activation." comment="This not the dispatcher, but rather who is the authorizer.  This element is not intended to handle delegation which would generally be managed through the Provenance resource."/>
      <element name="performerType" elementType="FHIR.CodeableConcept" description="Performer role" definition="Desired type of performer for doing the requested service." comment="This is a  role, not  a participation type.  In other words, does not describe the task but describes the capacity.  For example, “compounding pharmacy”, “psychiatrist” or “internal referral”.">
         <binding name="ServiceRequestParticipantRole" description="Indicates specific responsibility of an individual within the care team, such as &quot;Primary physician&quot;, &quot;Team coordinator&quot;, &quot;Caregiver&quot;, etc." strength="Example"/>
      </element>
      <element name="performer" description="Requested performer" definition="The desired performer for doing the requested service.  For example, the surgeon, dermatopathologist, endoscopist, etc." comment="If multiple performers are present, it is interpreted as a list of *alternative* performers without any preference regardless of order.  If order of preference is needed use the [request-performerOrder extension](extension-request-performerorder.html).  Use CareTeam to represent a group of performers (for example, Practitioner A *and* Practitioner B).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="locationCode" description="Requested location" definition="The preferred location(s) where the procedure should actually happen in coded or free text form. E.g. at home or nursing day care center.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ServiceRequestLocation" description="A location type where services are delivered." strength="Example"/>
      </element>
      <element name="locationReference" description="Requested location" definition="A reference to the the preferred location(s) where the procedure should actually happen. E.g. at home or nursing day care center.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reasonCode" description="Explanation/Justification for procedure or service" definition="An explanation or justification for why this service is being requested in coded or textual form.   This is often for billing purposes.  May relate to the resources referred to in `supportingInfo`." comment="This element represents why the referral is being made and may be used to decide how the service will be performed, or even if it will be performed at all.   Use `CodeableConcept.text` element if the data is free (uncoded) text as shown in the [CT Scan example](servicerequest-example-di.html).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="ServiceRequestReason" description="Diagnosis or problem codes justifying the reason for requesting the service investigation." strength="Example"/>
      </element>
      <element name="reasonReference" description="Explanation/Justification for service or service" definition="Indicates another resource that provides a justification for why this service is being requested.   May relate to the resources referred to in `supportingInfo`." comment="This element represents why the referral is being made and may be used to decide how the service will be performed, or even if it will be performed at all.    To be as specific as possible,  a reference to  *Observation* or *Condition* should be used if available.  Otherwise when referencing  *DiagnosticReport*  it should contain a finding  in `DiagnosticReport.conclusion` and/or `DiagnosticReport.conclusionCode`.   When using a reference to *DocumentReference*, the target document should contain clear findings language providing the relevant reason for this service request.  Use  the CodeableConcept text element in `ServiceRequest.reasonCode` if the data is free (uncoded) text as shown in the [CT Scan example](servicerequest-example-di.html).">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="insurance" description="Associated insurance coverage" definition="Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="supportingInfo" description="Additional clinical information" definition="Additional clinical information about the patient or specimen that may influence the services or their interpretations.     This information includes diagnosis, clinical findings and other observations.  In laboratory ordering these are typically referred to as &quot;ask at order entry questions (AOEs)&quot;.  This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example,  reporting the amount of inspired oxygen for blood gas measurements." comment="To represent information about how the services are to be delivered use the `instructions` element.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="specimen" description="Procedure Samples" definition="One or more specimens that the laboratory procedure will use." comment="Many diagnostic procedures need a specimen, but the request itself is not actually about the specimen. This element is for when the diagnostic is requested on already existing specimens and the request points to the specimen it applies to.    Conversely, if the request is entered first with an unknown specimen, then the [Specimen](specimen.html) resource points to the ServiceRequest.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="bodySite" description="Location on Body" definition="Anatomic location where the procedure should be performed. This is the target site." comment="Only used if not implicit in the code found in ServiceRequest.code.  If the use case requires BodySite to be handled as a separate resource instead of an inline coded element (e.g. to identify and track separately)  then use the standard extension [procedure-targetBodyStructure](extension-procedure-targetbodystructure.html).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="BodySite" description="Codes describing anatomical locations. May include laterality." strength="Example"/>
      </element>
      <element name="note" description="Comments" definition="Any other notes and comments made about the service request. For example, internal billing notes.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="patientInstruction" elementType="FHIR.string" description="Patient or consumer-oriented instructions" definition="Instructions in terms that are understood by the patient or consumer."/>
      <element name="relevantHistory" description="Request provenance" definition="Key events in the history of the request." comment="This might not include provenances for all versions of the request – only those deemed “relevant” or important.&#xd;This SHALL NOT include the Provenance associated with this current version of the resource.  (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update.  Until then, it can be queried directly as the Provenance that points to this version using _revinclude&#xd;All Provenances should have some historical version of this Request as their subject.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="performer"/>
      <contextRelationship context="Practitioner" relatedKeyElement="requester"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Patient" relatedKeyElement="performer"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <contextRelationship context="Device" relatedKeyElement="performer"/>
      <contextRelationship context="Device" relatedKeyElement="requester"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="performer"/>
      <search name="body-site" path="bodySite" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="requester" path="requester">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="encounter" path="encounter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="occurrence" path="occurrence" type="System.DateTime"/>
      <search name="patient" path="subject.where(resolve() is Patient)">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="code" path="code" type="System.Code"/>
      <search name="performer-type" path="performerType" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="replaces" path="replaces" type="FHIR.ServiceRequest"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="instantiates-uri" path="instantiatesUri" type="System.String"/>
      <search name="requisition" path="requisition" type="System.Code"/>
      <search name="authored" path="authoredOn" type="System.DateTime"/>
      <search name="intent" path="intent" type="System.Code"/>
      <search name="based-on" path="basedOn">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="performer" path="performer">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="instantiates-canonical" path="instantiatesCanonical">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="priority" path="priority" type="System.Code"/>
      <search name="specimen" path="specimen" type="FHIR.Specimen"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ServiceRequestIntent" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ServiceRequestPriority" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="ServiceRequestStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Signature" identifier="http://hl7.org/fhir/StructureDefinition/Signature" label="Signature" retrievable="false" xsi:type="ClassInfo">
      <element name="type" description="Indication of the reason the entity signed the object(s)" definition="An indication of the reason that the entity signed this document. This may be explicitly included as part of the signature information and can be used when determining accountability for various actions concerning the document." comment="Examples include attesting to: authorship, correct transcription, and witness of specific event. Also known as a &amp;quot;Commitment Type Indication&amp;quot;.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="SignatureType" description="An indication of the reason that an entity signed the object." strength="Preferred"/>
      </element>
      <element name="when" elementType="FHIR.instant" description="When the signature was created" definition="When the digital signature was signed." comment="This should agree with the information in the signature."/>
      <element name="who" elementType="FHIR.Reference" description="Who signed" definition="A reference to an application-usable description of the identity that signed  (e.g. the signature used their private key)." comment="This should agree with the information in the signature."/>
      <element name="onBehalfOf" elementType="FHIR.Reference" description="The party represented" definition="A reference to an application-usable description of the identity that is represented by the signature." comment="The party that can't sign. For example a child."/>
      <element name="targetFormat" elementType="FHIR.MimeType" description="The technical format of the signed resources" definition="A mime type that indicates the technical format of the target resources signed by the signature." comment="&quot;xml&quot;, &quot;json&quot; and &quot;ttl&quot; are allowed, which describe the simple encodings described in the specification (and imply appropriate bundle support). Otherwise, mime types are legal here.">
         <binding name="MimeType" description="The mime type of an attachment. Any valid mime type is allowed." strength="Required"/>
      </element>
      <element name="sigFormat" elementType="FHIR.MimeType" description="The technical format of the signature" definition="A mime type that indicates the technical format of the signature. Important mime types are application/signature+xml for X ML DigSig, application/jose for JWS, and image/* for a graphical image of a signature, etc.">
         <binding name="MimeType" description="The mime type of an attachment. Any valid mime type is allowed." strength="Required"/>
      </element>
      <element name="data" elementType="FHIR.base64Binary" description="The actual signature content (XML DigSig. JWS, picture, etc.)" definition="The base64 encoding of the Signature content. When signature is not recorded electronically this element would be empty." comment="Where the signature type is an XML DigSig, the signed content is a FHIR Resource(s), the signature is of the XML form of the Resource(s) using  XML-Signature (XMLDIG) &quot;Detached Signature&quot; form."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Quantity" namespace="FHIR" name="SimpleQuantity" identifier="http://hl7.org/fhir/StructureDefinition/SimpleQuantity" label="SimpleQuantity" retrievable="false" xsi:type="ClassInfo"/>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SlicingRules" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Slot" identifier="http://hl7.org/fhir/StructureDefinition/Slot" label="Slot" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="External Ids for this item" definition="External Ids for this item.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="serviceCategory" description="A broad categorization of the service that is to be performed during this appointment" definition="A broad categorization of the service that is to be performed during this appointment.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="service-category" strength="Example"/>
      </element>
      <element name="serviceType" description="The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource" definition="The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="service-type" strength="Example"/>
      </element>
      <element name="specialty" description="The specialty of a practitioner that would be required to perform the service requested in this appointment" definition="The specialty of a practitioner that would be required to perform the service requested in this appointment.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="specialty" description="Additional details about where the content was created (e.g. clinical specialty)." strength="Preferred"/>
      </element>
      <element name="appointmentType" elementType="FHIR.CodeableConcept" description="The style of appointment or patient that may be booked in the slot (not service type)" definition="The style of appointment or patient that may be booked in the slot (not service type).">
         <binding name="appointment-type" strength="Preferred"/>
      </element>
      <element name="schedule" elementType="FHIR.Reference" description="The schedule resource that this slot defines an interval of status information" definition="The schedule resource that this slot defines an interval of status information."/>
      <element name="status" elementType="FHIR.SlotStatus" description="busy | free | busy-unavailable | busy-tentative | entered-in-error" definition="busy | free | busy-unavailable | busy-tentative | entered-in-error.">
         <binding name="SlotStatus" description="The free/busy status of the slot." strength="Required"/>
      </element>
      <element name="start" elementType="FHIR.instant" description="Date/Time that the slot is to begin" definition="Date/Time that the slot is to begin."/>
      <element name="end" elementType="FHIR.instant" description="Date/Time that the slot is to conclude" definition="Date/Time that the slot is to conclude."/>
      <element name="overbooked" elementType="FHIR.boolean" description="This slot has already been overbooked, appointments are unlikely to be accepted for this time" definition="This slot has already been overbooked, appointments are unlikely to be accepted for this time."/>
      <element name="comment" elementType="FHIR.string" description="Comments on the slot to describe any extended information. Such as custom constraints on the slot" definition="Comments on the slot to describe any extended information. Such as custom constraints on the slot."/>
      <search name="start" path="start" type="System.DateTime"/>
      <search name="appointment-type" path="appointmentType" type="System.Code"/>
      <search name="schedule" path="schedule" type="FHIR.Schedule"/>
      <search name="specialty" path="specialty" type="System.Code"/>
      <search name="service-type" path="serviceType" type="System.Code"/>
      <search name="service-category" path="serviceCategory" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SlotStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SortDirection" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Specimen" identifier="http://hl7.org/fhir/StructureDefinition/Specimen" label="Specimen" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" description="External Identifier" definition="Id for specimen.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="accessionIdentifier" elementType="FHIR.Identifier" description="Identifier assigned by the lab" definition="The identifier assigned by the lab when accessioning specimen(s). This is not necessarily the same as the specimen identifier, depending on local lab procedures."/>
      <element name="status" elementType="FHIR.SpecimenStatus" description="available | unavailable | unsatisfactory | entered-in-error" definition="The availability of the specimen." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="SpecimenStatus" description="Codes providing the status/availability of a specimen." strength="Required"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Kind of material that forms the specimen" definition="The kind of material that forms the specimen." comment="The type can change the way that a specimen is handled and drives what kind of analyses can properly be performed on the specimen. It is frequently used in diagnostic work flow decision making systems.">
         <binding name="SpecimenType" description="The type of the specimen." strength="Example"/>
      </element>
      <element name="subject" elementType="FHIR.Reference" description="Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance or a device" definition="Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance or a device."/>
      <element name="receivedTime" elementType="FHIR.dateTime" description="The time when specimen was received for processing" definition="Time when specimen was received for processing or testing."/>
      <element name="parent" description="Specimen from which this specimen originated" definition="Reference to the parent (source) specimen which is used when the specimen was either derived from or a component of another specimen." comment="The parent specimen could be the source from which the current specimen is derived by some processing step (e.g. an aliquot or isolate or extracted nucleic acids from clinical samples) or one of many specimens that were combined to create a pooled sample.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="request" description="Why the specimen was collected" definition="Details concerning a service request that required a specimen to be collected." comment="The request may be explicit or implied such with a ServiceRequest that requires a blood draw.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="collection" elementType="FHIR.Specimen.Collection" description="Collection details" definition="Details concerning the specimen collection."/>
      <element name="processing" description="Processing and processing step details" definition="Details concerning processing and processing steps for the specimen.">
         <elementTypeSpecifier elementType="FHIR.Specimen.Processing" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="container" description="Direct container of specimen (tube/slide, etc.)" definition="The container holding the specimen.  The recursive nature of containers; i.e. blood in tube in tray in rack is not addressed here.">
         <elementTypeSpecifier elementType="FHIR.Specimen.Container" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="condition" description="State of the specimen" definition="A mode or state of being that describes the nature of the specimen." comment="Specimen condition is an observation made about the specimen.  It's a point-in-time assessment.  It can be used to assess its quality or appropriateness for a specific test.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="SpecimenCondition" description="Codes describing the state of the specimen." strength="Extensible"/>
      </element>
      <element name="note" description="Comments" definition="To communicate any details or issues about the specimen or during the specimen collection. (for example: broken vial, sent with patient, frozen).">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="collector"/>
      <contextRelationship context="Patient" relatedKeyElement="subject"/>
      <contextRelationship context="Device" relatedKeyElement="subject"/>
      <search name="bodysite" path="collection.bodySite" type="System.Code"/>
      <search name="parent" path="parent" type="FHIR.Specimen"/>
      <search name="collected" path="collection.collected" type="System.DateTime"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="type" path="type" type="System.Code"/>
      <search name="accession" path="accessionIdentifier" type="System.Code"/>
      <search name="container" path="container.type" type="System.Code"/>
      <search name="subject" path="subject">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="collector" path="collection.collector">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="patient" path="subject.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="container-id" path="container.identifier" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Specimen.Collection" retrievable="false" xsi:type="ClassInfo">
      <element name="collector" elementType="FHIR.Reference" description="Who collected the specimen" definition="Person who collected the specimen."/>
      <element name="collected" description="Collection time" definition="Time when specimen was collected from subject - the physiologically relevant time.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="duration" elementType="FHIR.Duration" description="How long it took to collect specimen" definition="The span of time over which the collection of a specimen occurred."/>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="The quantity of specimen collected" definition="The quantity of specimen collected; for instance the volume of a blood sample, or the physical measurement of an anatomic pathology sample."/>
      <element name="method" elementType="FHIR.CodeableConcept" description="Technique used to perform collection" definition="A coded value specifying the technique that is used to perform the procedure.">
         <binding name="SpecimenCollectionMethod" description="The  technique that is used to perform the procedure." strength="Example"/>
      </element>
      <element name="bodySite" elementType="FHIR.CodeableConcept" description="Anatomical collection site" definition="Anatomical location from which the specimen was collected (if subject is a patient). This is the target site.  This element is not used for environmental specimens." comment="If the use case requires  BodySite to be handled as a separate resource instead of an inline coded element (e.g. to identify and track separately)  then use the standard extension [bodySite](extension-bodysite.html).">
         <binding name="BodySite" description="Codes describing anatomical locations. May include laterality." strength="Example"/>
      </element>
      <element name="fastingStatus" description="Whether or how long patient abstained from food and/or drink" definition="Abstinence or reduction from some or all food, drink, or both, for a period of time prior to sample collection." comment="Representing fasting status using this element is preferred to representing it with an observation using a 'pre-coordinated code'  such as  LOINC 2005-7 (Calcium [Moles/​time] in 2 hour Urine --12 hours fasting), or  using  a component observation ` such as `Observation.component code`  = LOINC 49541-6 (Fasting status - Reported).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="FastingStatus" description="Codes describing the fasting status of the patient." strength="Extensible"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Specimen.Container" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" description="Id for the container" definition="Id for container. There may be multiple; a manufacturer's bar code, lab assigned identifier, etc. The container ID may differ from the specimen id in some circumstances.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Textual description of the container" definition="Textual description of the container."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Kind of container directly associated with specimen" definition="The type of container associated with the specimen (e.g. slide, aliquot, etc.).">
         <binding name="SpecimenContainerType" description="Type of specimen container." strength="Example"/>
      </element>
      <element name="capacity" elementType="FHIR.SimpleQuantity" description="Container volume or size" definition="The capacity (volume or other measure) the container may contain."/>
      <element name="specimenQuantity" elementType="FHIR.SimpleQuantity" description="Quantity of specimen within container" definition="The quantity of specimen in the container; may be volume, dimensions, or other appropriate measurements, depending on the specimen type."/>
      <element name="additive" description="Additive associated with container" definition="Introduced substance to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SpecimenContainerAdditive" description="Substance added to specimen container." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Specimen.Processing" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Textual description of procedure" definition="Textual description of procedure."/>
      <element name="procedure" elementType="FHIR.CodeableConcept" description="Indicates the treatment step  applied to the specimen" definition="A coded value specifying the procedure used to process the specimen.">
         <binding name="SpecimenProcessingProcedure" description="Type indicating the technique used to process the specimen." strength="Example"/>
      </element>
      <element name="additive" description="Material used in the processing step" definition="Material used in the processing step.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="time" description="Date and time of specimen processing" definition="A record of the time or period when the specimen processing occurred.  For example the time of sample fixation or the period of time the sample was in formalin.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SpecimenContainedPreference" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="SpecimenDefinition" identifier="http://hl7.org/fhir/StructureDefinition/SpecimenDefinition" label="SpecimenDefinition" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Business identifier of a kind of specimen" definition="A business identifier associated with the kind of specimen."/>
      <element name="typeCollected" elementType="FHIR.CodeableConcept" description="Kind of material to collect" definition="The kind of material to be collected.">
         <binding name="CollectedSpecimenType" description="The type of the specimen to be collected." strength="Example"/>
      </element>
      <element name="patientPreparation" description="Patient preparation for collection" definition="Preparation of the patient for specimen collection.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="PreparePatient" description="Checks on the patient prior specimen collection." strength="Example"/>
      </element>
      <element name="timeAspect" elementType="FHIR.string" description="Time aspect for collection" definition="Time aspect of specimen collection (duration or offset)."/>
      <element name="collection" description="Specimen collection procedure" definition="The action to be performed for collecting the specimen.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="SpecimenCollection" description="The action to collect a type of specimen." strength="Example"/>
      </element>
      <element name="typeTested" description="Specimen in container intended for testing by lab" definition="Specimen conditioned in a container as expected by the testing laboratory.">
         <elementTypeSpecifier elementType="FHIR.SpecimenDefinition.TypeTested" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="type" path="typeCollected" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="container" path="typeTested.container.type" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SpecimenDefinition.TypeTested" retrievable="false" xsi:type="ClassInfo">
      <element name="isDerived" elementType="FHIR.boolean" description="Primary or secondary specimen" definition="Primary of secondary specimen."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of intended specimen" definition="The kind of specimen conditioned for testing expected by lab.">
         <binding name="IntendedSpecimenType" description="The type of specimen conditioned in a container for lab testing." strength="Example"/>
      </element>
      <element name="preference" elementType="FHIR.SpecimenContainedPreference" description="preferred | alternate" definition="The preference for this type of conditioned specimen.">
         <binding name="SpecimenContainedPreference" description="Degree of preference of a type of conditioned specimen." strength="Required"/>
      </element>
      <element name="container" elementType="FHIR.SpecimenDefinition.TypeTested.Container" description="The specimen's container" definition="The specimen's container."/>
      <element name="requirement" elementType="FHIR.string" description="Specimen requirements" definition="Requirements for delivery and special handling of this kind of conditioned specimen."/>
      <element name="retentionTime" elementType="FHIR.Duration" description="Specimen retention time" definition="The usual time that a specimen of this kind is retained after the ordered tests are completed, for the purpose of additional testing."/>
      <element name="rejectionCriterion" description="Rejection criterion" definition="Criterion for rejection of the specimen in its container by the laboratory.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="RejectionCriterion" description="Criterion for rejection of the specimen by laboratory." strength="Example"/>
      </element>
      <element name="handling" description="Specimen handling before testing" definition="Set of instructions for preservation/transport of the specimen at a defined temperature interval, prior the testing process.">
         <elementTypeSpecifier elementType="FHIR.SpecimenDefinition.TypeTested.Handling" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SpecimenDefinition.TypeTested.Container" retrievable="false" xsi:type="ClassInfo">
      <element name="material" elementType="FHIR.CodeableConcept" description="Container material" definition="The type of material of the container.">
         <binding name="ContainerMaterial" description="Types of material for specimen containers." strength="Example"/>
      </element>
      <element name="type" elementType="FHIR.CodeableConcept" description="Kind of container associated with the kind of specimen" definition="The type of container used to contain this kind of specimen.">
         <binding name="ContainerType" description="Type of specimen container." strength="Example"/>
      </element>
      <element name="cap" elementType="FHIR.CodeableConcept" description="Color of container cap" definition="Color of container cap.">
         <binding name="ContainerCap" description="Color of the container cap." strength="Example"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Container description" definition="The textual description of the kind of container."/>
      <element name="capacity" elementType="FHIR.SimpleQuantity" description="Container capacity" definition="The capacity (volume or other measure) of this kind of container."/>
      <element name="minimumVolume" description="Minimum volume" definition="The minimum volume to be conditioned in the container.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="SimpleQuantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="additive" description="Additive associated with container" definition="Substance introduced in the kind of container to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.">
         <elementTypeSpecifier elementType="FHIR.SpecimenDefinition.TypeTested.Container.Additive" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="preparation" elementType="FHIR.string" description="Specimen container preparation" definition="Special processing that should be applied to the container for this kind of specimen."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SpecimenDefinition.TypeTested.Container.Additive" retrievable="false" xsi:type="ClassInfo">
      <element name="additive" description="Additive associated with container" definition="Substance introduced in the kind of container to preserve, maintain or enhance the specimen. Examples: Formalin, Citrate, EDTA.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="ContainerAdditive" description="Substance added to specimen container." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SpecimenDefinition.TypeTested.Handling" retrievable="false" xsi:type="ClassInfo">
      <element name="temperatureQualifier" elementType="FHIR.CodeableConcept" description="Temperature qualifier" definition="It qualifies the interval of temperature, which characterizes an occurrence of handling. Conditions that are not related to temperature may be handled in the instruction element.">
         <binding name="HandlingConditionSet" description="Set of handling instructions prior testing of the specimen." strength="Example"/>
      </element>
      <element name="temperatureRange" elementType="FHIR.Range" description="Temperature range" definition="The temperature interval for this set of handling instructions."/>
      <element name="maxDuration" elementType="FHIR.Duration" description="Maximum preservation time" definition="The maximum time interval of preservation of the specimen with these conditions."/>
      <element name="instruction" elementType="FHIR.string" description="Preservation instruction" definition="Additional textual instructions for the preservation or transport of the specimen. For instance, 'Protect from light exposure'."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SpecimenStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Status" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="StrandType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="StructureDefinition" identifier="http://hl7.org/fhir/StructureDefinition/StructureDefinition" label="StructureDefinition" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this structure definition, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this structure definition 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 structure definition is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the structure definition 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the structure definition" definition="A formal identifier that is used to identify this structure definition when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this structure definition outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the structure definition" definition="The identifier that is used to identify this version of the structure definition when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the structure definition 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 structure definition 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 structure definition with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this structure definition (computer friendly)" definition="A natural language name identifying the structure definition. 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.Some Examples: &#xa;&#xa;* O2SatObservation&#xa;* PresentationReport&#xa;* Immunization2&#xa;* AcmeAdmissionRecordOld."/>
      <element name="title" elementType="FHIR.string" description="Name for this structure definition (human friendly)" definition="A short, descriptive, user-friendly title for the structure definition." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.Applications don't have to use this name but can always fall back to it. The title also corresponds to the label for the root element."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this structure definition. Enables tracking the life-cycle of the content." comment="Allows filtering of structure definitions that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this structure definition is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of structure definitions that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the structure definition 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 structure definition 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 structure definition. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the structure definition." comment="Usually an organization but may be an individual. The publisher (or steward) of the structure definition is the organization or individual primarily responsible for the maintenance and upkeep of the structure definition. 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 structure definition. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the structure definition" definition="A free text natural language description of the structure definition from a consumer's perspective." comment="This description can be used to capture details such as why the structure definition 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 structure definition 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 structure definition is presumed to be the predominant language in the place the structure definition was created)."/>
      <element name="useContext" description="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 structure definition instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for structure definition (if applicable)" definition="A legal or geographic region in which the structure definition is intended to be used." comment="It may be possible for the structure definition to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this structure definition is defined" definition="Explanation of why this structure definition is needed and why it has been designed as it has." comment="This element does not describe the usage of the structure definition. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this structure definition."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the structure definition and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the structure definition."/>
      <element name="keyword" description="Assist with indexing and finding" definition="A set of key words or terms from external terminologies that may be used to assist with indexing and searching of templates nby describing the use of this structure definition, or the content it describes.">
         <elementTypeSpecifier elementType="FHIR.Coding" xsi:type="ListTypeSpecifier"/>
         <binding name="StructureDefinitionKeyword" description="Codes for the meaning of the defined structure (SNOMED CT and LOINC codes, as an example)." strength="Extensible"/>
      </element>
      <element name="fhirVersion" elementType="FHIR.FHIRVersion" description="FHIR Version this StructureDefinition targets" definition="The version of the FHIR specification on which this StructureDefinition is based - this is the formal version of the specification, without the revision number, e.g. [publication].[major].[minor], which is 4.3.0. for this version." comment="A StructureDefinition does not need to specify the target it applies to as StructureDefinitions will often be valid across multiple versions of FHIR. FHIR tooling can determine whether a StructureDefinition is consistent with a particular StructureDefinition if desired.">
         <binding name="FHIRVersion" description="All published FHIR Versions." strength="Required"/>
      </element>
      <element name="mapping" description="External specification that the content is mapped to" definition="An external specification that the content is mapped to.">
         <elementTypeSpecifier elementType="FHIR.StructureDefinition.Mapping" xsi:type="ListTypeSpecifier"/>
         <constraint name="sdf-2" severity="ERROR" message="Must have at least a name or a uri (or both)">
            <expression language="text/fhirpath" expression="name.exists() or uri.exists()"/>
         </constraint>
      </element>
      <element name="kind" elementType="FHIR.StructureDefinitionKind" description="primitive-type | complex-type | resource | logical" definition="Defines the kind of structure that this definition is describing.">
         <binding name="StructureDefinitionKind" description="Defines the type of structure that a definition is describing." strength="Required"/>
      </element>
      <element name="abstract" elementType="FHIR.boolean" description="Whether the structure is abstract" definition="Whether structure this definition describes is abstract or not  - that is, whether the structure is not intended to be instantiated. For Resources and Data types, abstract types will never be exchanged  between systems." comment="Abstract Resources cannot be instantiated - a concrete sub-type must be used. Abstract datatypes and extensions cannot be used in an instance. For logical models, the exact implication of &quot;abstract&quot; will rest with the author, depending how the logical model is used. Flagging a constraint structure as abstract conveys design intent but makes no difference to how the structure definition is handled. Note that inline declared elements that are given the type &quot;Element&quot; in the StructureDefinition, but have children described, are anonymous concrete types that specialize Element."/>
      <element name="context" description="If an extension, where it can be used in instances" definition="Identifies the types of resource or data type elements to which the extension can be applied.">
         <elementTypeSpecifier elementType="FHIR.StructureDefinition.Context" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="contextInvariant" description="FHIRPath invariants - when the extension can be used" definition="A set of rules as FHIRPath Invariants about when the extension can be used (e.g. co-occurrence variants for the extension). All the rules must be true." comment="The rules are only evaluated when the extension is present. When evaluating the invariant, the FHIRPath focus is the element that holds the extension, and %extension refers to the extension itself.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="type" elementType="FHIR.uri" description="Type defined or constrained by this structure" definition="The type this structure describes. If the derivation kind is 'specialization' then this is the master definition for a type, and there is always one of these (a data type, an extension, a resource, including abstract ones). Otherwise the structure definition is a constraint on the stated type (and in this case, the type cannot be an abstract type).  References are URLs that are relative to http://hl7.org/fhir/StructureDefinition e.g. &quot;string&quot; is a reference to http://hl7.org/fhir/StructureDefinition/string. Absolute URLs are only allowed in logical models." comment="Note that in the case of constraints, the type could be determined by chasing through the baseDefinition references until a concrete structure (derivation = specialization) is reached, or by looking at the path of the first element in the snapshot - if present - but providing the type directly makes for simpler tooling and indexing. &#xa;&#xa;The type must match the elements defined in the differential and the snapshot. For all FHIR defined types, the path name of the element will start with the type name. For logical models, where the type is a URL, the type name SHOULD start with the tail of the type URL where required.">
         <binding name="FHIRDefinedTypeExt" description="Either a resource or a data type, including logical model types." strength="Extensible"/>
      </element>
      <element name="baseDefinition" elementType="FHIR.canonical" description="Definition that this type is constrained/specialized from" definition="An absolute URI that is the base structure from which this type is derived, either by specialization or constraint." comment="If differential constraints are specified in this structure, they are applied to the base in a &quot;differential&quot; fashion. If there is no base, then the differential constraints cannot be provided (snapshot only). Differential structures are useful for the editing perspective, and snapshot structures are suitable for operational use. The FHIR Project provides a number of tools/services to populate snapshots from differential constraints. Logical Models have a base of &quot;Element&quot; or another logical model."/>
      <element name="derivation" elementType="FHIR.TypeDerivationRule" description="specialization | constraint - How relates to base definition" definition="How the type relates to the baseDefinition." comment="If the definition is a specialization, then it adds new elements in the differential, and the snapshot includes the inherited elements.  If the definition is a constraint, then it cannot define new elements, it can only make new rules about existing content (see [Profiling Resources](profiling.html#resources)).">
         <binding name="TypeDerivationRule" description="How a type relates to its baseDefinition." strength="Required"/>
      </element>
      <element name="snapshot" elementType="FHIR.StructureDefinition.Snapshot" description="Snapshot view of the structure" definition="A snapshot view is expressed in a standalone form that can be used and interpreted without considering the base StructureDefinition.">
         <constraint name="sdf-8" severity="ERROR" message="All snapshot elements must start with the StructureDefinition's specified type for non-logical models, or with the same type name for logical models">
            <expression language="text/fhirpath" expression="(%resource.kind = 'logical' or element.first().path = %resource.type) and element.tail().all(path.startsWith(%resource.snapshot.element.first().path&amp;'.'))"/>
         </constraint>
         <constraint name="sdf-3" severity="ERROR" message="Each element definition in a snapshot must have a formal definition and cardinalities">
            <expression language="text/fhirpath" expression="element.all(definition.exists() and min.exists() and max.exists())"/>
         </constraint>
         <constraint name="sdf-8b" severity="ERROR" message="All snapshot elements must have a base definition">
            <expression language="text/fhirpath" expression="element.all(base.exists())"/>
         </constraint>
      </element>
      <element name="differential" elementType="FHIR.StructureDefinition.Differential" description="Differential view of the structure" definition="A differential view is expressed relative to the base StructureDefinition - a statement of differences that it applies.">
         <constraint name="sdf-20" severity="ERROR" description="no slicing on root" message="No slicing on the root element">
            <expression language="text/fhirpath" expression="element.where(path.contains('.').not()).slicing.empty()"/>
         </constraint>
         <constraint name="sdf-8a" severity="ERROR" message="In any differential, all the elements must start with the StructureDefinition's specified type for non-logical models, or with the same type name for logical models">
            <expression language="text/fhirpath" expression="(%resource.kind = 'logical' or element.first().path.startsWith(%resource.type)) and (element.tail().empty() or element.tail().all(path.startsWith(%resource.differential.element.first().path.replaceMatches('\\..*','')&amp;'.')))"/>
         </constraint>
      </element>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="type" path="type" type="System.String"/>
      <search name="abstract" path="abstract" type="System.Code"/>
      <search name="base" path="baseDefinition" type="FHIR.StructureDefinition"/>
      <search name="derivation" path="derivation" type="System.Code"/>
      <search name="keyword" path="keyword" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
      <search name="experimental" path="experimental" type="System.Code"/>
      <search name="kind" path="kind" type="System.Code"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="valueset" path="snapshot.element.binding.valueSet" type="FHIR.ValueSet"/>
      <search name="base-path" path="snapshot.element.base.path|differential.element.base.path" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="ext-context" path="context.type" type="System.Code"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="path" path="snapshot.element.path|differential.element.path" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="StructureDefinition.Context" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.ExtensionContextType" description="fhirpath | element | extension" definition="Defines how to interpret the expression that defines what the context of the extension is.">
         <binding name="ExtensionContextType" description="How an extension context is interpreted." strength="Required"/>
      </element>
      <element name="expression" elementType="FHIR.string" description="Where the extension can be used in instances" definition="An expression that defines where an extension can be used in resources."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="StructureDefinition.Differential" retrievable="false" xsi:type="ClassInfo">
      <element name="element" description="Definition of elements in the resource (if no StructureDefinition)" definition="Captures constraints on each element within the resource.">
         <elementTypeSpecifier elementType="FHIR.ElementDefinition" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="StructureDefinition.Mapping" retrievable="false" xsi:type="ClassInfo">
      <element name="identity" elementType="FHIR.id" description="Internal id when this mapping is used" definition="An Internal id that is used to identify this mapping set when specific mappings are made." comment="The specification is described once, with general comments, and then specific mappings are made that reference this declaration."/>
      <element name="uri" elementType="FHIR.uri" description="Identifies what this mapping refers to" definition="An absolute URI that identifies the specification that this mapping is expressed to." comment="A formal identity for the specification being mapped to helps with identifying maps consistently."/>
      <element name="name" elementType="FHIR.string" description="Names what this mapping refers to" definition="A name for the specification that is being mapped to."/>
      <element name="comment" elementType="FHIR.string" description="Versions, Issues, Scope limitations etc." definition="Comments about this mapping, including version notes, issues, scope limitations, and other important notes for usage."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="StructureDefinition.Snapshot" retrievable="false" xsi:type="ClassInfo">
      <element name="element" description="Definition of elements in the resource (if no StructureDefinition)" definition="Captures constraints on each element within the resource.">
         <elementTypeSpecifier elementType="FHIR.ElementDefinition" xsi:type="ListTypeSpecifier"/>
         <constraint name="sdf-10" severity="ERROR" description="binding is required" message="provide either a binding reference or a description (or both)">
            <expression language="text/fhirpath" expression="binding.empty() or binding.valueSet.exists() or binding.description.exists()"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="StructureDefinitionKind" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="StructureMap" identifier="http://hl7.org/fhir/StructureDefinition/StructureMap" label="StructureMap" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this structure map, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this structure map 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 structure map is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the structure map 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the structure map" definition="A formal identifier that is used to identify this structure map when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this structure map outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the structure map" definition="The identifier that is used to identify this version of the structure map when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the structure map 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 structure map 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 structure map with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this structure map (computer friendly)" definition="A natural language name identifying the structure map. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this structure map (human friendly)" definition="A short, descriptive, user-friendly title for the structure map." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this structure map. Enables tracking the life-cycle of the content." comment="Allows filtering of structure maps that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this structure map is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of structure maps that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the structure map 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 structure map 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 structure map. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the structure map." comment="Usually an organization but may be an individual. The publisher (or steward) of the structure map is the organization or individual primarily responsible for the maintenance and upkeep of the structure map. 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 structure map. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the structure map" definition="A free text natural language description of the structure map from a consumer's perspective." comment="This description can be used to capture details such as why the structure map 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 structure map 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 structure map is presumed to be the predominant language in the place the structure map was created)."/>
      <element name="useContext" description="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 structure map instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for structure map (if applicable)" definition="A legal or geographic region in which the structure map is intended to be used." comment="It may be possible for the structure map to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this structure map is defined" definition="Explanation of why this structure map is needed and why it has been designed as it has." comment="This element does not describe the usage of the structure map. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this structure map."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the structure map and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the structure map."/>
      <element name="structure" description="Structure Definition used by this map" definition="A structure definition used by this map. The structure definition may describe instances that are converted, or the instances that are produced." comment="It is not necessary for a structure map to identify any dependent structures, though not listing them may restrict its usefulness.">
         <elementTypeSpecifier elementType="FHIR.StructureMap.Structure" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="import" description="Other maps used by this map (canonical URLs)" definition="Other maps used by this map (canonical URLs).">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="group" description="Named sections for reader convenience" definition="Organizes the mapping into manageable chunks for human review/ease of maintenance.">
         <elementTypeSpecifier elementType="FHIR.StructureMap.Group" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="url" path="url" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="StructureMap.Group" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.id" description="Human-readable label" definition="A unique name for the group for the convenience of human readers."/>
      <element name="extends" elementType="FHIR.id" description="Another group that this group adds rules to" definition="Another group that this group adds rules to."/>
      <element name="typeMode" elementType="FHIR.StructureMapGroupTypeMode" description="none | types | type-and-types" definition="If this is the default rule set to apply for the source type or this combination of types." comment="Not applicable if the underlying model is untyped. There can only be one default mapping for any particular type combination.">
         <binding name="StructureMapGroupTypeMode" description="If this is the default rule set to apply for the source type, or this combination of types." strength="Required"/>
      </element>
      <element name="documentation" elementType="FHIR.string" description="Additional description/explanation for group" definition="Additional supporting documentation that explains the purpose of the group and the types of mappings within it."/>
      <element name="input" description="Named instance provided when invoking the map" definition="A name assigned to an instance of data. The instance must be provided when the mapping is invoked." comment="If no inputs are named, then the entry mappings are type based.">
         <elementTypeSpecifier elementType="FHIR.StructureMap.Group.Input" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="rule" description="Transform Rule from source to target" definition="Transform Rule from source to target.">
         <elementTypeSpecifier elementType="FHIR.StructureMap.Group.Rule" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="StructureMap.Group.Input" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.id" description="Name for this instance of data" definition="Name for this instance of data."/>
      <element name="type" elementType="FHIR.string" description="Type for this instance of data" definition="Type for this instance of data."/>
      <element name="mode" elementType="FHIR.StructureMapInputMode" description="source | target" definition="Mode for this instance of data.">
         <binding name="StructureMapInputMode" description="Mode for this instance of data." strength="Required"/>
      </element>
      <element name="documentation" elementType="FHIR.string" description="Documentation for this instance of data" definition="Documentation for this instance of data."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="StructureMap.Group.Rule" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.id" description="Name of the rule for internal references" definition="Name of the rule for internal references."/>
      <element name="source" description="Source inputs to the mapping" definition="Source inputs to the mapping.">
         <elementTypeSpecifier elementType="FHIR.StructureMap.Group.Rule.Source" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="target" description="Content to create because of this mapping rule" definition="Content to create because of this mapping rule.">
         <elementTypeSpecifier elementType="FHIR.StructureMap.Group.Rule.Target" xsi:type="ListTypeSpecifier"/>
         <constraint name="smp-2" severity="ERROR" message="Must have a contextType if you have a context">
            <expression language="text/fhirpath" expression="context.exists() implies contextType.exists()"/>
         </constraint>
         <constraint name="smp-1" severity="ERROR" message="Can only have an element if you have a context">
            <expression language="text/fhirpath" expression="element.exists() implies context.exists()"/>
         </constraint>
      </element>
      <element name="rule" description="Rules contained in this rule" definition="Rules contained in this rule.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="StructureMap.Group.Rule" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="dependent" description="Which other rules to apply in the context of this rule" definition="Which other rules to apply in the context of this rule.">
         <elementTypeSpecifier elementType="FHIR.StructureMap.Group.Rule.Dependent" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="documentation" elementType="FHIR.string" description="Documentation for this instance of data" definition="Documentation for this instance of data."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="StructureMap.Group.Rule.Dependent" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.id" description="Name of a rule or group to apply" definition="Name of a rule or group to apply."/>
      <element name="variable" description="Variable to pass to the rule or group" definition="Variable to pass to the rule or group.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="StructureMap.Group.Rule.Source" retrievable="false" xsi:type="ClassInfo">
      <element name="context" elementType="FHIR.id" description="Type or variable this rule applies to" definition="Type or variable this rule applies to."/>
      <element name="min" elementType="FHIR.integer" description="Specified minimum cardinality" definition="Specified minimum cardinality for the element. This is optional; if present, it acts an implicit check on the input content."/>
      <element name="max" elementType="FHIR.string" description="Specified maximum cardinality (number or *)" definition="Specified maximum cardinality for the element - a number or a &quot;*&quot;. This is optional; if present, it acts an implicit check on the input content (* just serves as documentation; it's the default value)."/>
      <element name="type" elementType="FHIR.string" description="Rule only applies if source has this type" definition="Specified type for the element. This works as a condition on the mapping - use for polymorphic elements."/>
      <element name="defaultValue" description="Default value if no value exists" definition="A value to use if there is no existing value in the source object." comment="If there's a default value on an item that can repeat, it will only be used once.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="base64Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="code" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="id" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="instant" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="markdown" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="oid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="url" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uuid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Annotation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactPoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Count" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Distance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HumanName" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Identifier" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SampledData" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Signature" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactDetail" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contributor" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DataRequirement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Expression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ParameterDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedArtifact" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TriggerDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="UsageContext" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Dosage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Meta" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="element" elementType="FHIR.string" description="Optional field for this source" definition="Optional field for this source."/>
      <element name="listMode" elementType="FHIR.StructureMapSourceListMode" description="first | not_first | last | not_last | only_one" definition="How to handle the list mode for this element.">
         <binding name="StructureMapSourceListMode" description="If field is a list, how to manage the source." strength="Required"/>
      </element>
      <element name="variable" elementType="FHIR.id" description="Named context for field, if a field is specified" definition="Named context for field, if a field is specified."/>
      <element name="condition" elementType="FHIR.string" description="FHIRPath expression  - must be true or the rule does not apply" definition="FHIRPath expression  - must be true or the rule does not apply."/>
      <element name="check" elementType="FHIR.string" description="FHIRPath expression  - must be true or the mapping engine throws an error instead of completing" definition="FHIRPath expression  - must be true or the mapping engine throws an error instead of completing."/>
      <element name="logMessage" elementType="FHIR.string" description="Message to put in log if source exists (FHIRPath)" definition="A FHIRPath expression which specifies a message to put in the transform log when content matching the source rule is found." comment="This is typically used for recording that something Is not transformed to the target for some reason."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="StructureMap.Group.Rule.Target" retrievable="false" xsi:type="ClassInfo">
      <element name="context" elementType="FHIR.id" description="Type or variable this rule applies to" definition="Type or variable this rule applies to."/>
      <element name="contextType" elementType="FHIR.StructureMapContextType" description="type | variable" definition="How to interpret the context.">
         <binding name="StructureMapContextType" description="How to interpret the context." strength="Required"/>
      </element>
      <element name="element" elementType="FHIR.string" description="Field to create in the context" definition="Field to create in the context."/>
      <element name="variable" elementType="FHIR.id" description="Named context for field, if desired, and a field is specified" definition="Named context for field, if desired, and a field is specified."/>
      <element name="listMode" description="first | share | last | collate" definition="If field is a list, how to manage the list.">
         <elementTypeSpecifier elementType="FHIR.StructureMapTargetListMode" xsi:type="ListTypeSpecifier"/>
         <binding name="StructureMapTargetListMode" description="If field is a list, how to manage the production." strength="Required"/>
      </element>
      <element name="listRuleId" elementType="FHIR.id" description="Internal rule reference for shared list items" definition="Internal rule reference for shared list items."/>
      <element name="transform" elementType="FHIR.StructureMapTransform" description="create | copy +" definition="How the data is copied / created.">
         <binding name="StructureMapTransform" description="How data is copied/created." strength="Required"/>
      </element>
      <element name="parameter" description="Parameters to the transform" definition="Parameters to the transform.">
         <elementTypeSpecifier elementType="FHIR.StructureMap.Group.Rule.Target.Parameter" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="StructureMap.Group.Rule.Target.Parameter" retrievable="false" xsi:type="ClassInfo">
      <element name="value" description="Parameter value - variable or literal" definition="Parameter value - variable or literal.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="id" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="StructureMap.Structure" retrievable="false" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.canonical" description="Canonical reference to structure definition" definition="The canonical reference to the structure."/>
      <element name="mode" elementType="FHIR.StructureMapModelMode" description="source | queried | target | produced" definition="How the referenced structure is used in this mapping.">
         <binding name="StructureMapModelMode" description="How the referenced structure is used in this mapping." strength="Required"/>
      </element>
      <element name="alias" elementType="FHIR.string" description="Name for type in this map" definition="The name used for this type in the map." comment="This is needed if both types have the same name (e.g. version conversion)."/>
      <element name="documentation" elementType="FHIR.string" description="Documentation on use of structure" definition="Documentation that describes how the structure is used in the mapping."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="StructureMapContextType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="StructureMapGroupTypeMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="StructureMapInputMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="StructureMapModelMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="StructureMapSourceListMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="StructureMapTargetListMode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="StructureMapTransform" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Subscription" identifier="http://hl7.org/fhir/StructureDefinition/Subscription" label="Subscription" retrievable="true" xsi:type="ClassInfo">
      <element name="status" elementType="FHIR.SubscriptionStatus" description="requested | active | error | off" definition="The status of the subscription, which marks the server state for managing the subscription." comment="A client can only submit subscription resources in the requested or off state. Only the server can  move a subscription from requested to active, and then to error. Either the server or the client can turn a subscription off.&#xa;&#xa;This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="SubscriptionStatus" description="The status of a subscription." strength="Required"/>
      </element>
      <element name="contact" description="Contact details for source (e.g. troubleshooting)" definition="Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting.">
         <elementTypeSpecifier elementType="FHIR.ContactPoint" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="end" elementType="FHIR.instant" description="When to automatically delete the subscription" definition="The time for the server to turn the subscription off." comment="The server is permitted to deviate from this time but should observe it."/>
      <element name="reason" elementType="FHIR.string" description="Description of why this subscription was created" definition="A description of why this subscription is defined."/>
      <element name="criteria" elementType="FHIR.string" description="Rule for server push" definition="The rules that the server should use to determine when to generate notifications for this subscription." comment="The rules are search criteria (without the [base] part). Like Bundle.entry.request.url, it has no leading &quot;/&quot;."/>
      <element name="error" elementType="FHIR.string" description="Latest error note" definition="A record of the last error that occurred when the server processed a notification."/>
      <element name="channel" elementType="FHIR.Subscription.Channel" description="The channel on which to report matches to the criteria" definition="Details where to send notifications when resources are received that meet the criteria."/>
      <search name="payload" path="channel.payload" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="criteria" path="criteria" type="System.String"/>
      <search name="contact" path="contact" type="System.Code"/>
      <search name="url" path="channel.endpoint" type="System.String"/>
      <search name="type" path="channel.type" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Subscription.Channel" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.SubscriptionChannelType" description="rest-hook | websocket | email | sms | message" definition="The type of channel to send notifications on.">
         <binding name="SubscriptionChannelType" description="The type of method used to execute a subscription." strength="Required"/>
      </element>
      <element name="endpoint" elementType="FHIR.url" description="Where the channel points to" definition="The url that describes the actual end-point to send messages to." comment="For rest-hook, and websocket, the end-point must be an http: or https: URL; for email, a mailto: url, for sms, a tel: url, and for message the endpoint can be in any form of url the server understands (usually, http: or mllp:). The URI is allowed to be relative; in which case, it is relative to the server end-point (since there may be more than one, clients should avoid using relative URIs)."/>
      <element name="payload" elementType="FHIR.MimeType" description="MIME type to send, or omit for no payload" definition="The mime type to send the payload in - either application/fhir+xml, or application/fhir+json. If the payload is not present, then there is no payload in the notification, just a notification. The mime type &quot;text/plain&quot; may also be used for Email and SMS subscriptions." comment="Sending the payload has obvious security implications. The server is responsible for ensuring that the content is appropriately secured.">
         <binding name="MimeType" description="The mime type of an attachment. Any valid mime type is allowed." strength="Required"/>
      </element>
      <element name="header" description="Usage depends on the channel type" definition="Additional headers / information to send as part of the notification." comment="Exactly what these mean depend on the channel type. They can convey additional information to the recipient and/or meet security requirements; for example, support of multiple headers in the outgoing notifications for rest-hook type subscriptions.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SubscriptionChannelType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SubscriptionStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Substance" identifier="http://hl7.org/fhir/StructureDefinition/Substance" label="Substance" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Unique identifier" definition="Unique identifier for the substance." comment="This identifier is associated with the kind of substance in contrast to the  Substance.instance.identifier which is associated with the package/container.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.FHIRSubstanceStatus" description="active | inactive | entered-in-error" definition="A code to indicate if the substance is actively used.">
         <binding name="FHIRSubstanceStatus" description="A code to indicate if the substance is actively used." strength="Required"/>
      </element>
      <element name="category" description="What class/type of substance this is" definition="A code that classifies the general type of substance.  This is used  for searching, sorting and display purposes." comment="The level of granularity is defined by the category concepts in the value set.   More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in Substance.code.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="SubstanceCategory" description="Category or classification of substance." strength="Extensible"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="What substance this is" definition="A code (or set of codes) that identify this substance." comment="This could be a reference to an externally defined code.  It could also be a locally assigned code (e.g. a formulary),  optionally with translations to the standard drug codes.">
         <binding name="SubstanceCode" description="Substance codes." strength="Example"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Textual description of the substance, comments" definition="A description of the substance - its appearance, handling requirements, and other usage notes."/>
      <element name="instance" description="If this describes a specific package/container of the substance" definition="Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.">
         <elementTypeSpecifier elementType="FHIR.Substance.Instance" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="ingredient" description="Composition information about the substance" definition="A substance can be composed of other substances.">
         <elementTypeSpecifier elementType="FHIR.Substance.Ingredient" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="category" path="category" type="System.Code"/>
      <search name="quantity" path="instance.quantity" type="System.Quantity"/>
      <search name="code" path="code" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="container-identifier" path="instance.identifier" type="System.Code"/>
      <search name="expiry" path="instance.expiry" type="System.DateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Substance.Ingredient" retrievable="false" xsi:type="ClassInfo">
      <element name="quantity" elementType="FHIR.Ratio" description="Optional amount (concentration)" definition="The amount of the ingredient in the substance - a concentration ratio."/>
      <element name="substance" description="A component of the substance" definition="Another substance that is a component of this substance.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SubstanceIngredient" description="Substance Ingredient codes." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Substance.Instance" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Identifier of the package/container" definition="Identifier associated with the package/container (usually a label affixed directly)."/>
      <element name="expiry" elementType="FHIR.dateTime" description="When no longer valid to use" definition="When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry."/>
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Amount of substance in the package" definition="The amount of the substance."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceAmount" identifier="http://hl7.org/fhir/StructureDefinition/SubstanceAmount" label="SubstanceAmount" retrievable="false" xsi:type="ClassInfo">
      <element name="amount" description="Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field" definition="Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="amountType" elementType="FHIR.CodeableConcept" description="Most elements that require a quantitative value will also have a field called amount type. Amount type should always be specified because the actual value of the amount is often dependent on it. EXAMPLE: In capturing the actual relative amounts of substances or molecular fragments it is essential to indicate whether the amount refers to a mole ratio or weight ratio. For any given element an effort should be made to use same the amount type for all related definitional elements" definition="Most elements that require a quantitative value will also have a field called amount type. Amount type should always be specified because the actual value of the amount is often dependent on it. EXAMPLE: In capturing the actual relative amounts of substances or molecular fragments it is essential to indicate whether the amount refers to a mole ratio or weight ratio. For any given element an effort should be made to use same the amount type for all related definitional elements."/>
      <element name="amountText" elementType="FHIR.string" description="A textual comment on a numeric value" definition="A textual comment on a numeric value."/>
      <element name="referenceRange" elementType="FHIR.SubstanceAmount.ReferenceRange" description="Reference range of possible or expected values" definition="Reference range of possible or expected values."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SubstanceAmount.ReferenceRange" retrievable="false" xsi:type="ClassInfo">
      <element name="lowLimit" elementType="FHIR.Quantity" description="Lower limit possible or expected" definition="Lower limit possible or expected."/>
      <element name="highLimit" elementType="FHIR.Quantity" description="Upper limit possible or expected" definition="Upper limit possible or expected."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="SubstanceNucleicAcid" identifier="http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid" label="SubstanceNucleicAcid" retrievable="true" xsi:type="ClassInfo">
      <element name="sequenceType" elementType="FHIR.CodeableConcept" description="The type of the sequence shall be specified based on a controlled vocabulary" definition="The type of the sequence shall be specified based on a controlled vocabulary."/>
      <element name="numberOfSubunits" elementType="FHIR.integer" description="The number of linear sequences of nucleotides linked through phosphodiester bonds shall be described. Subunits would be strands of nucleic acids that are tightly associated typically through Watson-Crick base pairing. NOTE: If not specified in the reference source, the assumption is that there is 1 subunit" definition="The number of linear sequences of nucleotides linked through phosphodiester bonds shall be described. Subunits would be strands of nucleic acids that are tightly associated typically through Watson-Crick base pairing. NOTE: If not specified in the reference source, the assumption is that there is 1 subunit."/>
      <element name="areaOfHybridisation" elementType="FHIR.string" description="The area of hybridisation shall be described if applicable for double stranded RNA or DNA. The number associated with the subunit followed by the number associated to the residue shall be specified in increasing order. The underscore “” shall be used as separator as follows: “Subunitnumber Residue”" definition="The area of hybridisation shall be described if applicable for double stranded RNA or DNA. The number associated with the subunit followed by the number associated to the residue shall be specified in increasing order. The underscore “” shall be used as separator as follows: “Subunitnumber Residue”."/>
      <element name="oligoNucleotideType" elementType="FHIR.CodeableConcept" description="(TBC)" definition="(TBC)."/>
      <element name="subunit" description="Subunits are listed in order of decreasing length; sequences of the same length will be ordered by molecular weight; subunits that have identical sequences will be repeated multiple times" definition="Subunits are listed in order of decreasing length; sequences of the same length will be ordered by molecular weight; subunits that have identical sequences will be repeated multiple times.">
         <elementTypeSpecifier elementType="FHIR.SubstanceNucleicAcid.Subunit" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceNucleicAcid.Subunit" retrievable="false" xsi:type="ClassInfo">
      <element name="subunit" elementType="FHIR.integer" description="Index of linear sequences of nucleic acids in order of decreasing length. Sequences of the same length will be ordered by molecular weight. Subunits that have identical sequences will be repeated and have sequential subscripts" definition="Index of linear sequences of nucleic acids in order of decreasing length. Sequences of the same length will be ordered by molecular weight. Subunits that have identical sequences will be repeated and have sequential subscripts."/>
      <element name="sequence" elementType="FHIR.string" description="Actual nucleotide sequence notation from 5' to 3' end using standard single letter codes. In addition to the base sequence, sugar and type of phosphate or non-phosphate linkage should also be captured" definition="Actual nucleotide sequence notation from 5' to 3' end using standard single letter codes. In addition to the base sequence, sugar and type of phosphate or non-phosphate linkage should also be captured."/>
      <element name="length" elementType="FHIR.integer" description="The length of the sequence shall be captured" definition="The length of the sequence shall be captured."/>
      <element name="sequenceAttachment" elementType="FHIR.Attachment" description="(TBC)" definition="(TBC)."/>
      <element name="fivePrime" elementType="FHIR.CodeableConcept" description="The nucleotide present at the 5’ terminal shall be specified based on a controlled vocabulary. Since the sequence is represented from the 5' to the 3' end, the 5’ prime nucleotide is the letter at the first position in the sequence. A separate representation would be redundant" definition="The nucleotide present at the 5’ terminal shall be specified based on a controlled vocabulary. Since the sequence is represented from the 5' to the 3' end, the 5’ prime nucleotide is the letter at the first position in the sequence. A separate representation would be redundant."/>
      <element name="threePrime" elementType="FHIR.CodeableConcept" description="The nucleotide present at the 3’ terminal shall be specified based on a controlled vocabulary. Since the sequence is represented from the 5' to the 3' end, the 5’ prime nucleotide is the letter at the last position in the sequence. A separate representation would be redundant" definition="The nucleotide present at the 3’ terminal shall be specified based on a controlled vocabulary. Since the sequence is represented from the 5' to the 3' end, the 5’ prime nucleotide is the letter at the last position in the sequence. A separate representation would be redundant."/>
      <element name="linkage" description="The linkages between sugar residues will also be captured" definition="The linkages between sugar residues will also be captured.">
         <elementTypeSpecifier elementType="FHIR.SubstanceNucleicAcid.Subunit.Linkage" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="sugar" description="5.3.6.8.1 Sugar ID (Mandatory)" definition="5.3.6.8.1 Sugar ID (Mandatory).">
         <elementTypeSpecifier elementType="FHIR.SubstanceNucleicAcid.Subunit.Sugar" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceNucleicAcid.Subunit.Linkage" retrievable="false" xsi:type="ClassInfo">
      <element name="connectivity" elementType="FHIR.string" description="The entity that links the sugar residues together should also be captured for nearly all naturally occurring nucleic acid the linkage is a phosphate group. For many synthetic oligonucleotides phosphorothioate linkages are often seen. Linkage connectivity is assumed to be 3’-5’. If the linkage is either 3’-3’ or 5’-5’ this should be specified" definition="The entity that links the sugar residues together should also be captured for nearly all naturally occurring nucleic acid the linkage is a phosphate group. For many synthetic oligonucleotides phosphorothioate linkages are often seen. Linkage connectivity is assumed to be 3’-5’. If the linkage is either 3’-3’ or 5’-5’ this should be specified."/>
      <element name="identifier" elementType="FHIR.Identifier" description="Each linkage will be registered as a fragment and have an ID" definition="Each linkage will be registered as a fragment and have an ID."/>
      <element name="name" elementType="FHIR.string" description="Each linkage will be registered as a fragment and have at least one name. A single name shall be assigned to each linkage" definition="Each linkage will be registered as a fragment and have at least one name. A single name shall be assigned to each linkage."/>
      <element name="residueSite" elementType="FHIR.string" description="Residues shall be captured as described in 5.3.6.8.3" definition="Residues shall be captured as described in 5.3.6.8.3."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceNucleicAcid.Subunit.Sugar" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="The Substance ID of the sugar or sugar-like component that make up the nucleotide" definition="The Substance ID of the sugar or sugar-like component that make up the nucleotide."/>
      <element name="name" elementType="FHIR.string" description="The name of the sugar or sugar-like component that make up the nucleotide" definition="The name of the sugar or sugar-like component that make up the nucleotide."/>
      <element name="residueSite" elementType="FHIR.string" description="The residues that contain a given sugar will be captured. The order of given residues will be captured in the 5‘-3‘direction consistent with the base sequences listed above" definition="The residues that contain a given sugar will be captured. The order of given residues will be captured in the 5‘-3‘direction consistent with the base sequences listed above."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="SubstancePolymer" identifier="http://hl7.org/fhir/StructureDefinition/SubstancePolymer" label="SubstancePolymer" retrievable="true" xsi:type="ClassInfo">
      <element name="class" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="geometry" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="copolymerConnectivity" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="modification" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="monomerSet" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.SubstancePolymer.MonomerSet" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="repeat" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.SubstancePolymer.Repeat" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstancePolymer.MonomerSet" retrievable="false" xsi:type="ClassInfo">
      <element name="ratioType" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="startingMaterial" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.SubstancePolymer.MonomerSet.StartingMaterial" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstancePolymer.MonomerSet.StartingMaterial" retrievable="false" xsi:type="ClassInfo">
      <element name="material" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="isDefining" elementType="FHIR.boolean" description="Todo" definition="Todo."/>
      <element name="amount" elementType="FHIR.SubstanceAmount" description="Todo" definition="Todo."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstancePolymer.Repeat" retrievable="false" xsi:type="ClassInfo">
      <element name="numberOfUnits" elementType="FHIR.integer" description="Todo" definition="Todo."/>
      <element name="averageMolecularFormula" elementType="FHIR.string" description="Todo" definition="Todo."/>
      <element name="repeatUnitAmountType" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="repeatUnit" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.SubstancePolymer.Repeat.RepeatUnit" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstancePolymer.Repeat.RepeatUnit" retrievable="false" xsi:type="ClassInfo">
      <element name="orientationOfPolymerisation" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="repeatUnit" elementType="FHIR.string" description="Todo" definition="Todo."/>
      <element name="amount" elementType="FHIR.SubstanceAmount" description="Todo" definition="Todo."/>
      <element name="degreeOfPolymerisation" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.SubstancePolymer.Repeat.RepeatUnit.DegreeOfPolymerisation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="structuralRepresentation" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.SubstancePolymer.Repeat.RepeatUnit.StructuralRepresentation" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstancePolymer.Repeat.RepeatUnit.DegreeOfPolymerisation" retrievable="false" xsi:type="ClassInfo">
      <element name="degree" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="amount" elementType="FHIR.SubstanceAmount" description="Todo" definition="Todo."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstancePolymer.Repeat.RepeatUnit.StructuralRepresentation" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="representation" elementType="FHIR.string" description="Todo" definition="Todo."/>
      <element name="attachment" elementType="FHIR.Attachment" description="Todo" definition="Todo."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="SubstanceProtein" identifier="http://hl7.org/fhir/StructureDefinition/SubstanceProtein" label="SubstanceProtein" retrievable="true" xsi:type="ClassInfo">
      <element name="sequenceType" elementType="FHIR.CodeableConcept" description="The SubstanceProtein descriptive elements will only be used when a complete or partial amino acid sequence is available or derivable from a nucleic acid sequence" definition="The SubstanceProtein descriptive elements will only be used when a complete or partial amino acid sequence is available or derivable from a nucleic acid sequence."/>
      <element name="numberOfSubunits" elementType="FHIR.integer" description="Number of linear sequences of amino acids linked through peptide bonds. The number of subunits constituting the SubstanceProtein shall be described. It is possible that the number of subunits can be variable" definition="Number of linear sequences of amino acids linked through peptide bonds. The number of subunits constituting the SubstanceProtein shall be described. It is possible that the number of subunits can be variable."/>
      <element name="disulfideLinkage" description="The disulphide bond between two cysteine residues either on the same subunit or on two different subunits shall be described. The position of the disulfide bonds in the SubstanceProtein shall be listed in increasing order of subunit number and position within subunit followed by the abbreviation of the amino acids involved. The disulfide linkage positions shall actually contain the amino acid Cysteine at the respective positions" definition="The disulphide bond between two cysteine residues either on the same subunit or on two different subunits shall be described. The position of the disulfide bonds in the SubstanceProtein shall be listed in increasing order of subunit number and position within subunit followed by the abbreviation of the amino acids involved. The disulfide linkage positions shall actually contain the amino acid Cysteine at the respective positions.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subunit" description="This subclause refers to the description of each subunit constituting the SubstanceProtein. A subunit is a linear sequence of amino acids linked through peptide bonds. The Subunit information shall be provided when the finished SubstanceProtein is a complex of multiple sequences; subunits are not used to delineate domains within a single sequence. Subunits are listed in order of decreasing length; sequences of the same length will be ordered by decreasing molecular weight; subunits that have identical sequences will be repeated multiple times" definition="This subclause refers to the description of each subunit constituting the SubstanceProtein. A subunit is a linear sequence of amino acids linked through peptide bonds. The Subunit information shall be provided when the finished SubstanceProtein is a complex of multiple sequences; subunits are not used to delineate domains within a single sequence. Subunits are listed in order of decreasing length; sequences of the same length will be ordered by decreasing molecular weight; subunits that have identical sequences will be repeated multiple times.">
         <elementTypeSpecifier elementType="FHIR.SubstanceProtein.Subunit" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceProtein.Subunit" retrievable="false" xsi:type="ClassInfo">
      <element name="subunit" elementType="FHIR.integer" description="Index of primary sequences of amino acids linked through peptide bonds in order of decreasing length. Sequences of the same length will be ordered by molecular weight. Subunits that have identical sequences will be repeated and have sequential subscripts" definition="Index of primary sequences of amino acids linked through peptide bonds in order of decreasing length. Sequences of the same length will be ordered by molecular weight. Subunits that have identical sequences will be repeated and have sequential subscripts."/>
      <element name="sequence" elementType="FHIR.string" description="The sequence information shall be provided enumerating the amino acids from N- to C-terminal end using standard single-letter amino acid codes. Uppercase shall be used for L-amino acids and lowercase for D-amino acids. Transcribed SubstanceProteins will always be described using the translated sequence; for synthetic peptide containing amino acids that are not represented with a single letter code an X should be used within the sequence. The modified amino acids will be distinguished by their position in the sequence" definition="The sequence information shall be provided enumerating the amino acids from N- to C-terminal end using standard single-letter amino acid codes. Uppercase shall be used for L-amino acids and lowercase for D-amino acids. Transcribed SubstanceProteins will always be described using the translated sequence; for synthetic peptide containing amino acids that are not represented with a single letter code an X should be used within the sequence. The modified amino acids will be distinguished by their position in the sequence."/>
      <element name="length" elementType="FHIR.integer" description="Length of linear sequences of amino acids contained in the subunit" definition="Length of linear sequences of amino acids contained in the subunit."/>
      <element name="sequenceAttachment" elementType="FHIR.Attachment" description="The sequence information shall be provided enumerating the amino acids from N- to C-terminal end using standard single-letter amino acid codes. Uppercase shall be used for L-amino acids and lowercase for D-amino acids. Transcribed SubstanceProteins will always be described using the translated sequence; for synthetic peptide containing amino acids that are not represented with a single letter code an X should be used within the sequence. The modified amino acids will be distinguished by their position in the sequence" definition="The sequence information shall be provided enumerating the amino acids from N- to C-terminal end using standard single-letter amino acid codes. Uppercase shall be used for L-amino acids and lowercase for D-amino acids. Transcribed SubstanceProteins will always be described using the translated sequence; for synthetic peptide containing amino acids that are not represented with a single letter code an X should be used within the sequence. The modified amino acids will be distinguished by their position in the sequence."/>
      <element name="nTerminalModificationId" elementType="FHIR.Identifier" description="Unique identifier for molecular fragment modification based on the ISO 11238 Substance ID" definition="Unique identifier for molecular fragment modification based on the ISO 11238 Substance ID."/>
      <element name="nTerminalModification" elementType="FHIR.string" description="The name of the fragment modified at the N-terminal of the SubstanceProtein shall be specified" definition="The name of the fragment modified at the N-terminal of the SubstanceProtein shall be specified."/>
      <element name="cTerminalModificationId" elementType="FHIR.Identifier" description="Unique identifier for molecular fragment modification based on the ISO 11238 Substance ID" definition="Unique identifier for molecular fragment modification based on the ISO 11238 Substance ID."/>
      <element name="cTerminalModification" elementType="FHIR.string" description="The modification at the C-terminal shall be specified" definition="The modification at the C-terminal shall be specified."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="SubstanceReferenceInformation" identifier="http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation" label="SubstanceReferenceInformation" retrievable="true" xsi:type="ClassInfo">
      <element name="comment" elementType="FHIR.string" description="Todo" definition="Todo."/>
      <element name="gene" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.SubstanceReferenceInformation.Gene" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="geneElement" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.SubstanceReferenceInformation.GeneElement" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="classification" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.SubstanceReferenceInformation.Classification" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="target" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.SubstanceReferenceInformation.Target" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceReferenceInformation.Classification" retrievable="false" xsi:type="ClassInfo">
      <element name="domain" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="classification" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="subtype" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="source" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceReferenceInformation.Gene" retrievable="false" xsi:type="ClassInfo">
      <element name="geneSequenceOrigin" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="gene" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="source" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceReferenceInformation.GeneElement" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="element" elementType="FHIR.Identifier" description="Todo" definition="Todo."/>
      <element name="source" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceReferenceInformation.Target" retrievable="false" xsi:type="ClassInfo">
      <element name="target" elementType="FHIR.Identifier" description="Todo" definition="Todo."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="interaction" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="organism" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="organismType" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="amount" description="Todo" definition="Todo.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="amountType" elementType="FHIR.CodeableConcept" description="Todo" definition="Todo."/>
      <element name="source" description="Todo" definition="Todo.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="SubstanceSourceMaterial" identifier="http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial" label="SubstanceSourceMaterial" retrievable="true" xsi:type="ClassInfo">
      <element name="sourceMaterialClass" elementType="FHIR.CodeableConcept" description="General high level classification of the source material specific to the origin of the material" definition="General high level classification of the source material specific to the origin of the material."/>
      <element name="sourceMaterialType" elementType="FHIR.CodeableConcept" description="The type of the source material shall be specified based on a controlled vocabulary. For vaccines, this subclause refers to the class of infectious agent" definition="The type of the source material shall be specified based on a controlled vocabulary. For vaccines, this subclause refers to the class of infectious agent."/>
      <element name="sourceMaterialState" elementType="FHIR.CodeableConcept" description="The state of the source material when extracted" definition="The state of the source material when extracted."/>
      <element name="organismId" elementType="FHIR.Identifier" description="The unique identifier associated with the source material parent organism shall be specified" definition="The unique identifier associated with the source material parent organism shall be specified."/>
      <element name="organismName" elementType="FHIR.string" description="The organism accepted Scientific name shall be provided based on the organism taxonomy" definition="The organism accepted Scientific name shall be provided based on the organism taxonomy."/>
      <element name="parentSubstanceId" description="The parent of the herbal drug Ginkgo biloba, Leaf is the substance ID of the substance (fresh) of Ginkgo biloba L. or Ginkgo biloba L. (Whole plant)" definition="The parent of the herbal drug Ginkgo biloba, Leaf is the substance ID of the substance (fresh) of Ginkgo biloba L. or Ginkgo biloba L. (Whole plant).">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="parentSubstanceName" description="The parent substance of the Herbal Drug, or Herbal preparation" definition="The parent substance of the Herbal Drug, or Herbal preparation.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="countryOfOrigin" description="The country where the plant material is harvested or the countries where the plasma is sourced from as laid down in accordance with the Plasma Master File. For “Plasma-derived substances” the attribute country of origin provides information about the countries used for the manufacturing of the Cryopoor plama or Crioprecipitate" definition="The country where the plant material is harvested or the countries where the plasma is sourced from as laid down in accordance with the Plasma Master File. For “Plasma-derived substances” the attribute country of origin provides information about the countries used for the manufacturing of the Cryopoor plama or Crioprecipitate.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="geographicalLocation" description="The place/region where the plant is harvested or the places/regions where the animal source material has its habitat" definition="The place/region where the plant is harvested or the places/regions where the animal source material has its habitat.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="developmentStage" elementType="FHIR.CodeableConcept" description="Stage of life for animals, plants, insects and microorganisms. This information shall be provided only when the substance is significantly different in these stages (e.g. foetal bovine serum)" definition="Stage of life for animals, plants, insects and microorganisms. This information shall be provided only when the substance is significantly different in these stages (e.g. foetal bovine serum)."/>
      <element name="fractionDescription" description="Many complex materials are fractions of parts of plants, animals, or minerals. Fraction elements are often necessary to define both Substances and Specified Group 1 Substances. For substances derived from Plants, fraction information will be captured at the Substance information level ( . Oils, Juices and Exudates). Additional information for Extracts, such as extraction solvent composition, will be captured at the Specified Substance Group 1 information level. For plasma-derived products fraction information will be captured at the Substance and the Specified Substance Group 1 levels" definition="Many complex materials are fractions of parts of plants, animals, or minerals. Fraction elements are often necessary to define both Substances and Specified Group 1 Substances. For substances derived from Plants, fraction information will be captured at the Substance information level ( . Oils, Juices and Exudates). Additional information for Extracts, such as extraction solvent composition, will be captured at the Specified Substance Group 1 information level. For plasma-derived products fraction information will be captured at the Substance and the Specified Substance Group 1 levels.">
         <elementTypeSpecifier elementType="FHIR.SubstanceSourceMaterial.FractionDescription" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="organism" elementType="FHIR.SubstanceSourceMaterial.Organism" description="This subclause describes the organism which the substance is derived from. For vaccines, the parent organism shall be specified based on these subclause elements. As an example, full taxonomy will be described for the Substance Name: ., Leaf" definition="This subclause describes the organism which the substance is derived from. For vaccines, the parent organism shall be specified based on these subclause elements. As an example, full taxonomy will be described for the Substance Name: ., Leaf."/>
      <element name="partDescription" description="To do" definition="To do.">
         <elementTypeSpecifier elementType="FHIR.SubstanceSourceMaterial.PartDescription" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSourceMaterial.FractionDescription" retrievable="false" xsi:type="ClassInfo">
      <element name="fraction" elementType="FHIR.string" description="This element is capturing information about the fraction of a plant part, or human plasma for fractionation" definition="This element is capturing information about the fraction of a plant part, or human plasma for fractionation."/>
      <element name="materialType" elementType="FHIR.CodeableConcept" description="The specific type of the material constituting the component. For Herbal preparations the particulars of the extracts (liquid/dry) is described in Specified Substance Group 1" definition="The specific type of the material constituting the component. For Herbal preparations the particulars of the extracts (liquid/dry) is described in Specified Substance Group 1."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSourceMaterial.Organism" retrievable="false" xsi:type="ClassInfo">
      <element name="family" elementType="FHIR.CodeableConcept" description="The family of an organism shall be specified" definition="The family of an organism shall be specified."/>
      <element name="genus" elementType="FHIR.CodeableConcept" description="The genus of an organism shall be specified; refers to the Latin epithet of the genus element of the plant/animal scientific name; it is present in names for genera, species and infraspecies" definition="The genus of an organism shall be specified; refers to the Latin epithet of the genus element of the plant/animal scientific name; it is present in names for genera, species and infraspecies."/>
      <element name="species" elementType="FHIR.CodeableConcept" description="The species of an organism shall be specified; refers to the Latin epithet of the species of the plant/animal; it is present in names for species and infraspecies" definition="The species of an organism shall be specified; refers to the Latin epithet of the species of the plant/animal; it is present in names for species and infraspecies."/>
      <element name="intraspecificType" elementType="FHIR.CodeableConcept" description="The Intraspecific type of an organism shall be specified" definition="The Intraspecific type of an organism shall be specified."/>
      <element name="intraspecificDescription" elementType="FHIR.string" description="The intraspecific description of an organism shall be specified based on a controlled vocabulary. For Influenza Vaccine, the intraspecific description shall contain the syntax of the antigen in line with the WHO convention" definition="The intraspecific description of an organism shall be specified based on a controlled vocabulary. For Influenza Vaccine, the intraspecific description shall contain the syntax of the antigen in line with the WHO convention."/>
      <element name="author" description="4.9.13.6.1 Author type (Conditional)" definition="4.9.13.6.1 Author type (Conditional).">
         <elementTypeSpecifier elementType="FHIR.SubstanceSourceMaterial.Organism.Author" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="hybrid" elementType="FHIR.SubstanceSourceMaterial.Organism.Hybrid" description="4.9.13.8.1 Hybrid species maternal organism ID (Optional)" definition="4.9.13.8.1 Hybrid species maternal organism ID (Optional)."/>
      <element name="organismGeneral" elementType="FHIR.SubstanceSourceMaterial.Organism.OrganismGeneral" description="4.9.13.7.1 Kingdom (Conditional)" definition="4.9.13.7.1 Kingdom (Conditional)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSourceMaterial.Organism.Author" retrievable="false" xsi:type="ClassInfo">
      <element name="authorType" elementType="FHIR.CodeableConcept" description="The type of author of an organism species shall be specified. The parenthetical author of an organism species refers to the first author who published the plant/animal name (of any rank). The primary author of an organism species refers to the first author(s), who validly published the plant/animal name" definition="The type of author of an organism species shall be specified. The parenthetical author of an organism species refers to the first author who published the plant/animal name (of any rank). The primary author of an organism species refers to the first author(s), who validly published the plant/animal name."/>
      <element name="authorDescription" elementType="FHIR.string" description="The author of an organism species shall be specified. The author year of an organism shall also be specified when applicable; refers to the year in which the first author(s) published the infraspecific plant/animal name (of any rank)" definition="The author of an organism species shall be specified. The author year of an organism shall also be specified when applicable; refers to the year in which the first author(s) published the infraspecific plant/animal name (of any rank)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSourceMaterial.Organism.Hybrid" retrievable="false" xsi:type="ClassInfo">
      <element name="maternalOrganismId" elementType="FHIR.string" description="The identifier of the maternal species constituting the hybrid organism shall be specified based on a controlled vocabulary. For plants, the parents aren’t always known, and it is unlikely that it will be known which is maternal and which is paternal" definition="The identifier of the maternal species constituting the hybrid organism shall be specified based on a controlled vocabulary. For plants, the parents aren’t always known, and it is unlikely that it will be known which is maternal and which is paternal."/>
      <element name="maternalOrganismName" elementType="FHIR.string" description="The name of the maternal species constituting the hybrid organism shall be specified. For plants, the parents aren’t always known, and it is unlikely that it will be known which is maternal and which is paternal" definition="The name of the maternal species constituting the hybrid organism shall be specified. For plants, the parents aren’t always known, and it is unlikely that it will be known which is maternal and which is paternal."/>
      <element name="paternalOrganismId" elementType="FHIR.string" description="The identifier of the paternal species constituting the hybrid organism shall be specified based on a controlled vocabulary" definition="The identifier of the paternal species constituting the hybrid organism shall be specified based on a controlled vocabulary."/>
      <element name="paternalOrganismName" elementType="FHIR.string" description="The name of the paternal species constituting the hybrid organism shall be specified" definition="The name of the paternal species constituting the hybrid organism shall be specified."/>
      <element name="hybridType" elementType="FHIR.CodeableConcept" description="The hybrid type of an organism shall be specified" definition="The hybrid type of an organism shall be specified."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSourceMaterial.Organism.OrganismGeneral" retrievable="false" xsi:type="ClassInfo">
      <element name="kingdom" elementType="FHIR.CodeableConcept" description="The kingdom of an organism shall be specified" definition="The kingdom of an organism shall be specified."/>
      <element name="phylum" elementType="FHIR.CodeableConcept" description="The phylum of an organism shall be specified" definition="The phylum of an organism shall be specified."/>
      <element name="class" elementType="FHIR.CodeableConcept" description="The class of an organism shall be specified" definition="The class of an organism shall be specified."/>
      <element name="order" elementType="FHIR.CodeableConcept" description="The order of an organism shall be specified," definition="The order of an organism shall be specified,."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSourceMaterial.PartDescription" retrievable="false" xsi:type="ClassInfo">
      <element name="part" elementType="FHIR.CodeableConcept" description="Entity of anatomical origin of source material within an organism" definition="Entity of anatomical origin of source material within an organism."/>
      <element name="partLocation" elementType="FHIR.CodeableConcept" description="The detailed anatomic location when the part can be extracted from different anatomical locations of the organism. Multiple alternative locations may apply" definition="The detailed anatomic location when the part can be extracted from different anatomical locations of the organism. Multiple alternative locations may apply."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="SubstanceSpecification" identifier="http://hl7.org/fhir/StructureDefinition/SubstanceSpecification" label="SubstanceSpecification" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Identifier by which this substance is known" definition="Identifier by which this substance is known."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="High level categorization, e.g. polymer or nucleic acid" definition="High level categorization, e.g. polymer or nucleic acid."/>
      <element name="status" elementType="FHIR.CodeableConcept" description="Status of substance within the catalogue e.g. approved" definition="Status of substance within the catalogue e.g. approved."/>
      <element name="domain" elementType="FHIR.CodeableConcept" description="If the substance applies to only human or veterinary use" definition="If the substance applies to only human or veterinary use."/>
      <element name="description" elementType="FHIR.string" description="Textual description of the substance" definition="Textual description of the substance."/>
      <element name="source" description="Supporting literature" definition="Supporting literature.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="comment" elementType="FHIR.string" description="Textual comment about this record of a substance" definition="Textual comment about this record of a substance."/>
      <element name="moiety" description="Moiety, for structural modifications" definition="Moiety, for structural modifications.">
         <elementTypeSpecifier elementType="FHIR.SubstanceSpecification.Moiety" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="property" description="General specifications for this substance, including how it is related to other substances" definition="General specifications for this substance, including how it is related to other substances.">
         <elementTypeSpecifier elementType="FHIR.SubstanceSpecification.Property" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="referenceInformation" elementType="FHIR.Reference" description="General information detailing this substance" definition="General information detailing this substance."/>
      <element name="structure" elementType="FHIR.SubstanceSpecification.Structure" description="Structural information" definition="Structural information."/>
      <element name="code" description="Codes associated with the substance" definition="Codes associated with the substance.">
         <elementTypeSpecifier elementType="FHIR.SubstanceSpecification.Code" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="name" description="Names applicable to this substance" definition="Names applicable to this substance.">
         <elementTypeSpecifier elementType="FHIR.SubstanceSpecification.Name" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="molecularWeight" description="The molecular weight or weight range (for proteins, polymers or nucleic acids)" definition="The molecular weight or weight range (for proteins, polymers or nucleic acids).">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="SubstanceSpecification.Structure.Isotope.MolecularWeight" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="relationship" description="A link between this substance and another, with details of the relationship" definition="A link between this substance and another, with details of the relationship.">
         <elementTypeSpecifier elementType="FHIR.SubstanceSpecification.Relationship" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="nucleicAcid" elementType="FHIR.Reference" description="Data items specific to nucleic acids" definition="Data items specific to nucleic acids."/>
      <element name="polymer" elementType="FHIR.Reference" description="Data items specific to polymers" definition="Data items specific to polymers."/>
      <element name="protein" elementType="FHIR.Reference" description="Data items specific to proteins" definition="Data items specific to proteins."/>
      <element name="sourceMaterial" elementType="FHIR.Reference" description="Material or taxonomic/anatomical source for the substance" definition="Material or taxonomic/anatomical source for the substance."/>
      <search name="code" path="code.code" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSpecification.Code" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="The specific code" definition="The specific code."/>
      <element name="status" elementType="FHIR.CodeableConcept" description="Status of the code assignment" definition="Status of the code assignment."/>
      <element name="statusDate" elementType="FHIR.dateTime" description="The date at which the code status is changed as part of the terminology maintenance" definition="The date at which the code status is changed as part of the terminology maintenance."/>
      <element name="comment" elementType="FHIR.string" description="Any comment can be provided in this field, if necessary" definition="Any comment can be provided in this field, if necessary."/>
      <element name="source" description="Supporting literature" definition="Supporting literature.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSpecification.Moiety" retrievable="false" xsi:type="ClassInfo">
      <element name="role" elementType="FHIR.CodeableConcept" description="Role that the moiety is playing" definition="Role that the moiety is playing."/>
      <element name="identifier" elementType="FHIR.Identifier" description="Identifier by which this moiety substance is known" definition="Identifier by which this moiety substance is known."/>
      <element name="name" elementType="FHIR.string" description="Textual name for this moiety substance" definition="Textual name for this moiety substance."/>
      <element name="stereochemistry" elementType="FHIR.CodeableConcept" description="Stereochemistry type" definition="Stereochemistry type."/>
      <element name="opticalActivity" elementType="FHIR.CodeableConcept" description="Optical activity type" definition="Optical activity type."/>
      <element name="molecularFormula" elementType="FHIR.string" description="Molecular formula" definition="Molecular formula."/>
      <element name="amount" description="Quantitative value for this moiety" definition="Quantitative value for this moiety.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSpecification.Name" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="The actual name" definition="The actual name."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Name type" definition="Name type."/>
      <element name="status" elementType="FHIR.CodeableConcept" description="The status of the name" definition="The status of the name."/>
      <element name="preferred" elementType="FHIR.boolean" description="If this is the preferred name for this substance" definition="If this is the preferred name for this substance."/>
      <element name="language" description="Language of the name" definition="Language of the name.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="domain" description="The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive" definition="The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="The jurisdiction where this name applies" definition="The jurisdiction where this name applies.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="synonym" description="A synonym of this name" definition="A synonym of this name.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="SubstanceSpecification.Name" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="translation" description="A translation for this name" definition="A translation for this name.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="SubstanceSpecification.Name" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="official" description="Details of the official nature of this name" definition="Details of the official nature of this name.">
         <elementTypeSpecifier elementType="FHIR.SubstanceSpecification.Name.Official" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="source" description="Supporting literature" definition="Supporting literature.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSpecification.Name.Official" retrievable="false" xsi:type="ClassInfo">
      <element name="authority" elementType="FHIR.CodeableConcept" description="Which authority uses this official name" definition="Which authority uses this official name."/>
      <element name="status" elementType="FHIR.CodeableConcept" description="The status of the official name" definition="The status of the official name."/>
      <element name="date" elementType="FHIR.dateTime" description="Date of official name change" definition="Date of official name change."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSpecification.Property" retrievable="false" xsi:type="ClassInfo">
      <element name="category" elementType="FHIR.CodeableConcept" description="A category for this property, e.g. Physical, Chemical, Enzymatic" definition="A category for this property, e.g. Physical, Chemical, Enzymatic."/>
      <element name="code" elementType="FHIR.CodeableConcept" description="Property type e.g. viscosity, pH, isoelectric point" definition="Property type e.g. viscosity, pH, isoelectric point."/>
      <element name="parameters" elementType="FHIR.string" description="Parameters that were used in the measurement of a property (e.g. for viscosity: measured at 20C with a pH of 7.1)" definition="Parameters that were used in the measurement of a property (e.g. for viscosity: measured at 20C with a pH of 7.1)."/>
      <element name="definingSubstance" description="A substance upon which a defining property depends (e.g. for solubility: in water, in alcohol)" definition="A substance upon which a defining property depends (e.g. for solubility: in water, in alcohol).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="amount" description="Quantitative value for this property" definition="Quantitative value for this property.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSpecification.Relationship" retrievable="false" xsi:type="ClassInfo">
      <element name="substance" description="A pointer to another substance, as a resource or just a representational code" definition="A pointer to another substance, as a resource or just a representational code.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="relationship" elementType="FHIR.CodeableConcept" description="For example &quot;salt to parent&quot;, &quot;active moiety&quot;, &quot;starting material&quot;" definition="For example &quot;salt to parent&quot;, &quot;active moiety&quot;, &quot;starting material&quot;."/>
      <element name="isDefining" elementType="FHIR.boolean" description="For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships" definition="For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships."/>
      <element name="amount" description="A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other" definition="A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="amountRatioLowLimit" elementType="FHIR.Ratio" description="For use when the numeric" definition="For use when the numeric."/>
      <element name="amountType" elementType="FHIR.CodeableConcept" description="An operator for the amount, for example &quot;average&quot;, &quot;approximately&quot;, &quot;less than&quot;" definition="An operator for the amount, for example &quot;average&quot;, &quot;approximately&quot;, &quot;less than&quot;."/>
      <element name="source" description="Supporting literature" definition="Supporting literature.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSpecification.Structure" retrievable="false" xsi:type="ClassInfo">
      <element name="stereochemistry" elementType="FHIR.CodeableConcept" description="Stereochemistry type" definition="Stereochemistry type."/>
      <element name="opticalActivity" elementType="FHIR.CodeableConcept" description="Optical activity type" definition="Optical activity type."/>
      <element name="molecularFormula" elementType="FHIR.string" description="Molecular formula" definition="Molecular formula."/>
      <element name="molecularFormulaByMoiety" elementType="FHIR.string" description="Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot" definition="Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot."/>
      <element name="isotope" description="Applicable for single substances that contain a radionuclide or a non-natural isotopic ratio" definition="Applicable for single substances that contain a radionuclide or a non-natural isotopic ratio.">
         <elementTypeSpecifier elementType="FHIR.SubstanceSpecification.Structure.Isotope" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="molecularWeight" elementType="FHIR.SubstanceSpecification.Structure.Isotope.MolecularWeight" description="The molecular weight or weight range (for proteins, polymers or nucleic acids)" definition="The molecular weight or weight range (for proteins, polymers or nucleic acids)."/>
      <element name="source" description="Supporting literature" definition="Supporting literature.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="representation" description="Molecular structural representation" definition="Molecular structural representation.">
         <elementTypeSpecifier elementType="FHIR.SubstanceSpecification.Structure.Representation" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSpecification.Structure.Isotope" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="Substance identifier for each non-natural or radioisotope" definition="Substance identifier for each non-natural or radioisotope."/>
      <element name="name" elementType="FHIR.CodeableConcept" description="Substance name for each non-natural or radioisotope" definition="Substance name for each non-natural or radioisotope."/>
      <element name="substitution" elementType="FHIR.CodeableConcept" description="The type of isotopic substitution present in a single substance" definition="The type of isotopic substitution present in a single substance."/>
      <element name="halfLife" elementType="FHIR.Quantity" description="Half life - for a non-natural nuclide" definition="Half life - for a non-natural nuclide."/>
      <element name="molecularWeight" elementType="FHIR.SubstanceSpecification.Structure.Isotope.MolecularWeight" description="The molecular weight or weight range (for proteins, polymers or nucleic acids)" definition="The molecular weight or weight range (for proteins, polymers or nucleic acids)."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSpecification.Structure.Isotope.MolecularWeight" retrievable="false" xsi:type="ClassInfo">
      <element name="method" elementType="FHIR.CodeableConcept" description="The method by which the molecular weight was determined" definition="The method by which the molecular weight was determined."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Type of molecular weight such as exact, average (also known as. number average), weight average" definition="Type of molecular weight such as exact, average (also known as. number average), weight average."/>
      <element name="amount" elementType="FHIR.Quantity" description="Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field" definition="Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SubstanceSpecification.Structure.Representation" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="The type of structure (e.g. Full, Partial, Representative)" definition="The type of structure (e.g. Full, Partial, Representative)."/>
      <element name="representation" elementType="FHIR.string" description="The structural representation as text string in a format e.g. InChI, SMILES, MOLFILE, CDX" definition="The structural representation as text string in a format e.g. InChI, SMILES, MOLFILE, CDX."/>
      <element name="attachment" elementType="FHIR.Attachment" description="An attached file with the structural representation" definition="An attached file with the structural representation."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="SupplyDelivery" identifier="http://hl7.org/fhir/StructureDefinition/SupplyDelivery" label="SupplyDelivery" retrievable="true" primaryCodePath="type" xsi:type="ClassInfo">
      <element name="identifier" description="External identifier" definition="Identifier for the supply delivery event that is used to identify it across multiple disparate systems." comment="This identifier is typically assigned by the dispenser, and may be used to reference the delivery when exchanging information about it with other systems.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="basedOn" description="Fulfills plan, proposal or order" definition="A plan, proposal or order that is fulfilled in whole or in part by this event.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="partOf" description="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.&#xd;&#xd;[The allowed reference resources may be adjusted as appropriate for the event resource].">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.SupplyDeliveryStatus" description="in-progress | completed | abandoned | entered-in-error" definition="A code specifying the state of the dispense event." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="SupplyDeliveryStatus" description="Status of the supply delivery." strength="Required"/>
      </element>
      <element name="patient" elementType="FHIR.Reference" description="Patient for whom the item is supplied" definition="A link to a resource representing the person whom the delivered item is for."/>
      <element name="type" elementType="FHIR.CodeableConcept" description="Category of dispense event" definition="Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.">
         <binding name="SupplyDeliveryType" description="The type of supply dispense." strength="Required"/>
      </element>
      <element name="suppliedItem" elementType="FHIR.SupplyDelivery.SuppliedItem" description="The item that is delivered or supplied" definition="The item that is being delivered or has been supplied."/>
      <element name="occurrence" description="When event occurred" definition="The date or time(s) the activity occurred." comment="[The list of types may be constrained as appropriate for the type of event].">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="supplier" elementType="FHIR.Reference" description="Dispenser" definition="The individual responsible for dispensing the medication, supplier or device."/>
      <element name="destination" elementType="FHIR.Reference" description="Where the Supply was sent" definition="Identification of the facility/location where the Supply was shipped to, as part of the dispense event."/>
      <element name="receiver" description="Who collected the Supply" definition="Identifies the person who picked up the Supply.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="supplier"/>
      <contextRelationship context="Practitioner" relatedKeyElement="receiver"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="patient" path="patient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="receiver" path="receiver">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="supplier" path="supplier">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SupplyDelivery.SuppliedItem" retrievable="false" xsi:type="ClassInfo">
      <element name="quantity" elementType="FHIR.SimpleQuantity" description="Amount dispensed" definition="The amount of supply that has been dispensed. Includes unit of measure."/>
      <element name="item" description="Medication, Substance, or Device supplied" definition="Identifies the medication, substance or device being dispensed. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SupplyDeliveryItem" description="The item that was delivered." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SupplyDeliveryStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="SupplyRequest" identifier="http://hl7.org/fhir/StructureDefinition/SupplyRequest" label="SupplyRequest" retrievable="true" primaryCodePath="category" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for SupplyRequest" definition="Business identifiers assigned to this SupplyRequest by the author and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server." comment="The identifier.type element is used to distinguish between the identifiers assigned by the requester/placer and the performer/filler.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.SupplyRequestStatus" description="draft | active | suspended +" definition="Status of the supply request.">
         <binding name="SupplyRequestStatus" description="Status of the supply request." strength="Required"/>
      </element>
      <element name="category" elementType="FHIR.CodeableConcept" description="The kind of supply (central, non-stock, etc.)" definition="Category of supply, e.g.  central, non-stock, etc. This is used to support work flows associated with the supply process.">
         <binding name="SupplyRequestKind" description="Category of supply request." strength="Example"/>
      </element>
      <element name="priority" elementType="FHIR.RequestPriority" description="routine | urgent | asap | stat" definition="Indicates how quickly this SupplyRequest should be addressed with respect to other requests.">
         <binding name="RequestPriority" description="Identifies the level of importance to be assigned to actioning the request." strength="Required"/>
      </element>
      <element name="item" description="Medication, Substance, or Device requested to be supplied" definition="The item that is requested to be supplied. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list." comment="Note that there's a difference between a prescription - an instruction to take a medication, along with a (sometimes) implicit supply, and an explicit request to supply, with no explicit instructions.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="SupplyRequestItem" description="The item that was requested." strength="Example"/>
      </element>
      <element name="quantity" elementType="FHIR.Quantity" description="The requested amount of the item indicated" definition="The amount that is being ordered of the indicated item."/>
      <element name="parameter" description="Ordered item details" definition="Specific parameters for the ordered item.  For example, the size of the indicated item.">
         <elementTypeSpecifier elementType="FHIR.SupplyRequest.Parameter" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="occurrence" description="When the request should be fulfilled" definition="When the request should be fulfilled.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="authoredOn" elementType="FHIR.dateTime" description="When the request was made" definition="When the request was made."/>
      <element name="requester" elementType="FHIR.Reference" description="Individual making the request" definition="The device, practitioner, etc. who initiated the request."/>
      <element name="supplier" description="Who is intended to fulfill the request" definition="Who is intended to fulfill the request.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="reasonCode" description="The reason why the supply item was requested" definition="The reason why the supply item was requested.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="SupplyRequestReason" description="The reason why the supply item was requested." strength="Example"/>
      </element>
      <element name="reasonReference" description="The reason why the supply item was requested" definition="The reason why the supply item was requested.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="deliverFrom" elementType="FHIR.Reference" description="The origin of the supply" definition="Where the supply is expected to come from."/>
      <element name="deliverTo" elementType="FHIR.Reference" description="The destination of the supply" definition="Where the supply is destined to go."/>
      <contextRelationship context="Practitioner" relatedKeyElement="requester"/>
      <contextRelationship context="Patient" relatedKeyElement="deliverTo"/>
      <contextRelationship context="Device" relatedKeyElement="requester"/>
      <contextRelationship context="RelatedPerson" relatedKeyElement="requester"/>
      <search name="requester" path="requester">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="date" path="authoredOn" type="System.DateTime"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="category" path="category" type="System.Code"/>
      <search name="subject" path="deliverTo">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="supplier" path="supplier">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="SupplyRequest.Parameter" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.CodeableConcept" description="Item detail" definition="A code or string that identifies the device detail being asserted.">
         <binding name="ParameterCode" description="A code that identifies the device detail." strength="Example"/>
      </element>
      <element name="value" description="Value of detail" definition="The value of the device detail." comment="Range means device should have a value that falls somewhere within the specified range.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SupplyRequestStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="SystemRestfulInteraction" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="Task" identifier="http://hl7.org/fhir/StructureDefinition/Task" label="Task" retrievable="true" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="identifier" description="Task Instance Identifier" definition="The business identifier for this task.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="instantiatesCanonical" elementType="FHIR.canonical" description="Formal definition of task" definition="The URL pointing to a *FHIR*-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Task."/>
      <element name="instantiatesUri" elementType="FHIR.uri" description="Formal definition of task" definition="The URL pointing to an *externally* maintained  protocol, guideline, orderset or other definition that is adhered to in whole or in part by this Task."/>
      <element name="basedOn" description="Request fulfilled by this task" definition="BasedOn refers to a higher-level authorization that triggered the creation of the task.  It references a &quot;request&quot; resource such as a ServiceRequest, MedicationRequest, ServiceRequest, CarePlan, etc. which is distinct from the &quot;request&quot; resource the task is seeking to fulfill.  This latter resource is referenced by FocusOn.  For example, based on a ServiceRequest (= BasedOn), a task is created to fulfill a procedureRequest ( = FocusOn ) to collect a specimen from a patient.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="groupIdentifier" elementType="FHIR.Identifier" description="Requisition or grouper id" definition="An identifier that links together multiple tasks and other requests that were created in the same context."/>
      <element name="partOf" description="Composite task" definition="Task that this particular task is part of." comment="This should usually be 0..1.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.TaskStatus" description="draft | requested | received | accepted | +" definition="The current status of the task.">
         <binding name="TaskStatus" description="The current status of the task." strength="Required"/>
      </element>
      <element name="statusReason" elementType="FHIR.CodeableConcept" description="Reason for current status" definition="An explanation as to why this task is held, failed, was refused, etc." comment="This applies to the current status.  Look at the history of the task to see reasons for past statuses.">
         <binding name="TaskStatusReason" description="Codes to identify the reason for current status.  These will typically be specific to a particular workflow." strength="Example"/>
      </element>
      <element name="businessStatus" elementType="FHIR.CodeableConcept" description="E.g. &quot;Specimen collected&quot;, &quot;IV prepped&quot;" definition="Contains business-specific nuances of the business state.">
         <binding name="TaskBusinessStatus" description="The domain-specific business-contextual sub-state of the task.  For example: &quot;Blood drawn&quot;, &quot;IV inserted&quot;, &quot;Awaiting physician signature&quot;, etc." strength="Example"/>
      </element>
      <element name="intent" elementType="FHIR.TaskIntent" description="unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option" definition="Indicates the &quot;level&quot; of actionability associated with the Task, i.e. i+R[9]Cs this a proposed task, a planned task, an actionable task, etc." comment="This element is immutable.  Proposed tasks, planned tasks, etc. must be distinct instances.&#xa;&#xa;In most cases, Tasks will have an intent of &quot;order&quot;.">
         <binding name="TaskIntent" description="Distinguishes whether the task is a proposal, plan or full order." strength="Required"/>
      </element>
      <element name="priority" elementType="FHIR.TaskPriority" description="routine | urgent | asap | stat" definition="Indicates how quickly the Task should be addressed with respect to other requests.">
         <binding name="TaskPriority" description="The task's priority." strength="Required"/>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="Task Type" definition="A name or code (or both) briefly describing what the task involves." comment="The title (eg &quot;My Tasks&quot;, &quot;Outstanding Tasks for Patient X&quot;) should go into the code.">
         <binding name="TaskCode" description="Codes to identify what the task involves.  These will typically be specific to a particular workflow." strength="Example"/>
      </element>
      <element name="description" elementType="FHIR.string" description="Human-readable explanation of task" definition="A free-text description of what is to be performed."/>
      <element name="focus" elementType="FHIR.Reference" description="What task is acting on" definition="The request being actioned or the resource being manipulated by this task." comment="If multiple resources need to be manipulated, use sub-tasks.  (This ensures that status can be tracked independently for each referenced resource.)."/>
      <element name="for" elementType="FHIR.Reference" description="Beneficiary of the Task" definition="The entity who benefits from the performance of the service specified in the task (e.g., the patient)."/>
      <element name="encounter" elementType="FHIR.Reference" description="Healthcare event during which this task originated" definition="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this task was created."/>
      <element name="executionPeriod" elementType="FHIR.Period" description="Start and end time of execution" definition="Identifies the time action was first taken against the task (start) and/or the time final action was taken against the task prior to marking it as completed (end)."/>
      <element name="authoredOn" elementType="FHIR.dateTime" description="Task Creation Date" definition="The date and time this task was created."/>
      <element name="lastModified" elementType="FHIR.dateTime" description="Task Last Modified Date" definition="The date and time of last modification to this task."/>
      <element name="requester" elementType="FHIR.Reference" description="Who is asking for task to be done" definition="The creator of the task."/>
      <element name="performerType" description="Requested performer" definition="The kind of participant that should perform the task.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="TaskPerformerType" description="The type(s) of task performers allowed." strength="Preferred"/>
      </element>
      <element name="owner" elementType="FHIR.Reference" description="Responsible individual" definition="Individual organization or Device currently responsible for task execution." comment="Tasks may be created with an owner not yet identified."/>
      <element name="location" elementType="FHIR.Reference" description="Where task occurs" definition="Principal physical location where the this task is performed."/>
      <element name="reasonCode" elementType="FHIR.CodeableConcept" description="Why task is needed" definition="A description or code indicating why this task needs to be performed." comment="This should only be included if there is no focus or if it differs from the reason indicated on the focus.">
         <binding name="TaskReason" description="Indicates why the task is needed.  E.g. Suspended because patient admitted to hospital." strength="Example"/>
      </element>
      <element name="reasonReference" elementType="FHIR.Reference" description="Why task is needed" definition="A resource reference indicating why this task needs to be performed." comment="Tasks might be justified based on an Observation, a Condition, a past or planned procedure, etc.   This should only be included if there is no focus or if it differs from the reason indicated on the focus.    Use the CodeableConcept text element in `Task.reasonCode` if the data is free (uncoded) text."/>
      <element name="insurance" description="Associated insurance coverage" definition="Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant to the Task.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="note" description="Comments made about the task" definition="Free-text information captured about the task as it progresses.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="relevantHistory" description="Key events in history of the Task" definition="Links to Provenance records for past versions of this Task that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the task." 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.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="restriction" elementType="FHIR.Task.Restriction" description="Constraints on fulfillment tasks" definition="If the Task.focus is a request resource and the task is seeking fulfillment (i.e. is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned."/>
      <element name="input" description="Information used to perform task" definition="Additional information that may be needed in the execution of the task.">
         <elementTypeSpecifier elementType="FHIR.Task.Input" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="output" description="Information produced as part of task" definition="Outputs produced by the Task.">
         <elementTypeSpecifier elementType="FHIR.Task.Output" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="part-of" path="partOf" type="FHIR.Task"/>
      <search name="period" path="executionPeriod" type="System.DateTime"/>
      <search name="based-on" path="basedOn">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="priority" path="priority" type="System.Code"/>
      <search name="code" path="code" type="System.Code"/>
      <search name="patient" path="for.where(resolve() is Patient)" type="FHIR.Patient"/>
      <search name="encounter" path="encounter" type="FHIR.Encounter"/>
      <search name="performer" path="performerType" type="System.Code"/>
      <search name="modified" path="lastModified" type="System.DateTime"/>
      <search name="business-status" path="businessStatus" type="System.Code"/>
      <search name="subject" path="for">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="intent" path="intent" type="System.Code"/>
      <search name="focus" path="focus">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="requester" path="requester">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="authored-on" path="authoredOn" type="System.DateTime"/>
      <search name="owner" path="owner">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="group-identifier" path="groupIdentifier" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Task.Input" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Label for the input" definition="A code or description indicating how the input is intended to be used as part of the task execution." comment="If referencing a BPMN workflow or Protocol, the &quot;system&quot; is the URL for the workflow definition and the code is the &quot;name&quot; of the required input.">
         <binding name="TaskInputParameterType" description="Codes to identify types of input parameters.  These will typically be specific to a particular workflow.  E.g. &quot;Comparison source&quot;, &quot;Applicable consent&quot;, &quot;Concomitent Medications&quot;, etc." strength="Example"/>
      </element>
      <element name="value" description="Content to use in performing the task" definition="The value of the input parameter as a basic type.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="base64Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="code" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="id" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="instant" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="markdown" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="oid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="url" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uuid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Annotation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactPoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Count" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Distance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HumanName" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Identifier" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SampledData" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Signature" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactDetail" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contributor" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DataRequirement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Expression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ParameterDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedArtifact" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TriggerDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="UsageContext" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Dosage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Meta" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Task.Output" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.CodeableConcept" description="Label for output" definition="The name of the Output parameter.">
         <binding name="TaskOutputParameterType" description="Codes to identify types of input parameters.  These will typically be specific to a particular workflow.  E.g. &quot;Identified issues&quot;, &quot;Preliminary results&quot;, &quot;Filler order&quot;, &quot;Final results&quot;, etc." strength="Example"/>
      </element>
      <element name="value" description="Result of output" definition="The value of the Output parameter as a basic type.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="base64Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="canonical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="code" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="id" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="instant" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="markdown" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="oid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="positiveInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="time" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="unsignedInt" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="url" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uuid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Address" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Age" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Annotation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Attachment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coding" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactPoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Count" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Distance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HumanName" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Identifier" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Money" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Ratio" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SampledData" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Signature" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ContactDetail" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contributor" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DataRequirement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Expression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ParameterDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedArtifact" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TriggerDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="UsageContext" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Dosage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Meta" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Task.Restriction" retrievable="false" xsi:type="ClassInfo">
      <element name="repetitions" elementType="FHIR.positiveInt" description="How many times to repeat" definition="Indicates the number of times the requested action should occur."/>
      <element name="period" elementType="FHIR.Period" description="When fulfillment sought" definition="Over what time-period is fulfillment sought." comment="Note that period.high is the due date representing the time by which the task should be completed."/>
      <element name="recipient" description="For whom is fulfillment sought?" definition="For requests that are targeted to more than on potential recipient/target, for whom is fulfillment sought?">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="TaskIntent" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="TaskPriority" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="TaskStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="TerminologyCapabilities" identifier="http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities" label="TerminologyCapabilities" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this terminology capabilities, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this terminology capabilities 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 terminology capabilities is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the terminology capabilities 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="version" elementType="FHIR.string" description="Business version of the terminology capabilities" definition="The identifier that is used to identify this version of the terminology capabilities when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the terminology capabilities 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 terminology capabilities 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 terminology capabilities with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this terminology capabilities (computer friendly)" definition="A natural language name identifying the terminology capabilities. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this terminology capabilities (human friendly)" definition="A short, descriptive, user-friendly title for the terminology capabilities." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this terminology capabilities. Enables tracking the life-cycle of the content." comment="Allows filtering of terminology capabilitiess that are appropriate for use versus not.This is not intended for use with actual capability statements, but where capability statements are used to describe possible or desired systems.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this terminology capabilities is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of terminology capabilitiess that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the terminology capabilities 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 terminology capabilities 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 terminology capabilities. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the terminology capabilities." comment="Usually an organization but may be an individual. The publisher (or steward) of the terminology capabilities is the organization or individual primarily responsible for the maintenance and upkeep of the terminology capabilities. 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 terminology capabilities. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the terminology capabilities" definition="A free text natural language description of the terminology capabilities from a consumer's perspective. Typically, this is used when the capability statement describes a desired rather than an actual solution, for example as a formal expression of requirements as part of an RFP." comment="This description can be used to capture details such as why the terminology capabilities 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 terminology capabilities 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 terminology capabilities is presumed to be the predominant language in the place the terminology capabilities was created).This does not need to be populated if the description is adequately implied by the software or implementation details."/>
      <element name="useContext" description="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 terminology capabilities instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for terminology capabilities (if applicable)" definition="A legal or geographic region in which the terminology capabilities is intended to be used." comment="It may be possible for the terminology capabilities to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this terminology capabilities is defined" definition="Explanation of why this terminology capabilities is needed and why it has been designed as it has." comment="This element does not describe the usage of the terminology capabilities. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this terminology capabilities."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the terminology capabilities and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the terminology capabilities."/>
      <element name="kind" elementType="FHIR.CapabilityStatementKind" description="instance | capability | requirements" definition="The way that this statement is intended to be used, to describe an actual running instance of software, a particular product (kind, not instance of software) or a class of implementation (e.g. a desired purchase).">
         <binding name="CapabilityStatementKind" description="How a capability statement is intended to be used." strength="Required"/>
      </element>
      <element name="software" elementType="FHIR.TerminologyCapabilities.Software" description="Software that is covered by this terminology capability statement" definition="Software that is covered by this terminology capability statement.  It is used when the statement describes the capabilities of a particular software version, independent of an installation."/>
      <element name="implementation" elementType="FHIR.TerminologyCapabilities.Implementation" description="If this describes a specific instance" definition="Identifies a specific implementation instance that is described by the terminology capability statement - i.e. a particular installation, rather than the capabilities of a software program."/>
      <element name="lockedDate" elementType="FHIR.boolean" description="Whether lockedDate is supported" definition="Whether the server supports lockedDate."/>
      <element name="codeSystem" description="A code system supported by the server" definition="Identifies a code system that is supported by the server. If there is a no code system URL, then this declares the general assumptions a client can make about support for any CodeSystem resource." comment="The code system - identified by its system URL - may also be declared explicitly as a Code System Resource at /CodeSystem, but it might not be.">
         <elementTypeSpecifier elementType="FHIR.TerminologyCapabilities.CodeSystem" xsi:type="ListTypeSpecifier"/>
         <constraint name="tcp-1" severity="ERROR" message="If there is more than one version, a version code must be defined">
            <expression language="text/fhirpath" expression="version.count() > 1 implies version.all(code.exists())"/>
         </constraint>
      </element>
      <element name="expansion" elementType="FHIR.TerminologyCapabilities.Expansion" description="Information about the [ValueSet/$expand](valueset-operation-expand.html) operation" definition="Information about the [ValueSet/$expand](valueset-operation-expand.html) operation."/>
      <element name="codeSearch" elementType="FHIR.CodeSearchSupport" description="explicit | all" definition="The degree to which the server supports the code search parameter on ValueSet, if it is supported." comment="See notes on the [ValueSet](valueset.html#) resource.">
         <binding name="CodeSearchSupport" description="The degree to which the server supports the code search parameter on ValueSet, if it is supported." strength="Required"/>
      </element>
      <element name="validateCode" elementType="FHIR.TerminologyCapabilities.ValidateCode" description="Information about the [ValueSet/$validate-code](valueset-operation-validate-code.html) operation" definition="Information about the [ValueSet/$validate-code](valueset-operation-validate-code.html) operation."/>
      <element name="translation" elementType="FHIR.TerminologyCapabilities.Translation" description="Information about the [ConceptMap/$translate](conceptmap-operation-translate.html) operation" definition="Information about the [ConceptMap/$translate](conceptmap-operation-translate.html) operation."/>
      <element name="closure" elementType="FHIR.TerminologyCapabilities.Closure" description="Information about the [ConceptMap/$closure](conceptmap-operation-closure.html) operation" definition="Whether the $closure operation is supported."/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="url" path="url" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TerminologyCapabilities.Closure" retrievable="false" xsi:type="ClassInfo">
      <element name="translation" elementType="FHIR.boolean" description="If cross-system closure is supported" definition="If cross-system closure is supported."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TerminologyCapabilities.CodeSystem" retrievable="false" xsi:type="ClassInfo">
      <element name="uri" elementType="FHIR.canonical" description="URI for the Code System" definition="URI for the Code System."/>
      <element name="version" description="Version of Code System supported" definition="For the code system, a list of versions that are supported by the server." comment="Language translations might not be available for all codes.">
         <elementTypeSpecifier elementType="FHIR.TerminologyCapabilities.CodeSystem.Version" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="subsumption" elementType="FHIR.boolean" description="Whether subsumption is supported" definition="True if subsumption is supported for this version of the code system."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TerminologyCapabilities.CodeSystem.Version" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.string" description="Version identifier for this version" definition="For version-less code systems, there should be a single version with no identifier."/>
      <element name="isDefault" elementType="FHIR.boolean" description="If this is the default version for this code system" definition="If this is the default version for this code system."/>
      <element name="compositional" elementType="FHIR.boolean" description="If compositional grammar is supported" definition="If the compositional grammar defined by the code system is supported."/>
      <element name="language" description="Language Displays supported" definition="Language Displays supported.">
         <elementTypeSpecifier elementType="FHIR.code" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="filter" description="Filter Properties supported" definition="Filter Properties supported.">
         <elementTypeSpecifier elementType="FHIR.TerminologyCapabilities.CodeSystem.Version.Filter" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="property" description="Properties supported for $lookup" definition="Properties supported for $lookup.">
         <elementTypeSpecifier elementType="FHIR.code" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TerminologyCapabilities.CodeSystem.Version.Filter" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.code" description="Code of the property supported" definition="Code of the property supported."/>
      <element name="op" description="Operations supported for the property" definition="Operations supported for the property.">
         <elementTypeSpecifier elementType="FHIR.code" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TerminologyCapabilities.Expansion" retrievable="false" xsi:type="ClassInfo">
      <element name="hierarchical" elementType="FHIR.boolean" description="Whether the server can return nested value sets" definition="Whether the server can return nested value sets."/>
      <element name="paging" elementType="FHIR.boolean" description="Whether the server supports paging on expansion" definition="Whether the server supports paging on expansion."/>
      <element name="incomplete" elementType="FHIR.boolean" description="Allow request for incomplete expansions?" definition="Allow request for incomplete expansions?"/>
      <element name="parameter" description="Supported expansion parameter" definition="Supported expansion parameter.">
         <elementTypeSpecifier elementType="FHIR.TerminologyCapabilities.Expansion.Parameter" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="textFilter" elementType="FHIR.markdown" description="Documentation about text searching works" definition="Documentation about text searching works." comment="This documentation should cover things like case sensitivity,  use of punctuation if not ignored, what wild cards are supported (if any), whether text is starts with or contains, and whether word order matters."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TerminologyCapabilities.Expansion.Parameter" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.code" description="Expansion Parameter name" definition="Expansion Parameter name."/>
      <element name="documentation" elementType="FHIR.string" description="Description of support for parameter" definition="Description of support for parameter."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TerminologyCapabilities.Implementation" retrievable="false" xsi:type="ClassInfo">
      <element name="description" elementType="FHIR.string" description="Describes this specific instance" definition="Information about the specific installation that this terminology capability statement relates to."/>
      <element name="url" elementType="FHIR.url" description="Base URL for the implementation" definition="An absolute base URL for the implementation."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TerminologyCapabilities.Software" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="A name the software is known by" definition="Name the software is known by."/>
      <element name="version" elementType="FHIR.string" description="Version covered by this statement" definition="The version identifier for the software covered by this statement." comment="If possible, a version should be specified, as statements are likely to be different for different versions of software."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TerminologyCapabilities.Translation" retrievable="false" xsi:type="ClassInfo">
      <element name="needsMap" elementType="FHIR.boolean" description="Whether the client must identify the map" definition="Whether the client must identify the map."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TerminologyCapabilities.ValidateCode" retrievable="false" xsi:type="ClassInfo">
      <element name="translations" elementType="FHIR.boolean" description="Whether translations are validated" definition="Whether translations are validated."/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="TestReport" identifier="http://hl7.org/fhir/StructureDefinition/TestReport" label="TestReport" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.Identifier" description="External identifier" definition="Identifier for the TestScript assigned for external purposes outside the context of FHIR."/>
      <element name="name" elementType="FHIR.string" description="Informal name of the executed TestScript" definition="A free text natural language name identifying the executed TestScript." comment="Not expected to be globally unique."/>
      <element name="status" elementType="FHIR.TestReportStatus" description="completed | in-progress | waiting | stopped | entered-in-error" definition="The current state of this test report." comment="The status represents where the execution is currently within the test script execution life cycle.&#xa;&#xa;This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="TestReportStatus" description="The current status of the test report." strength="Required"/>
      </element>
      <element name="testScript" elementType="FHIR.Reference" description="Reference to the  version-specific TestScript that was executed to produce this TestReport" definition="Ideally this is an absolute URL that is used to identify the version-specific TestScript that was executed, matching the `TestScript.url`."/>
      <element name="result" elementType="FHIR.TestReportResult" description="pass | fail | pending" definition="The overall result from the execution of the TestScript." comment="The pass and fail result represents a completed test script execution. The pending result represents a test script execution that has not yet started or is currently in progress.">
         <binding name="TestReportResult" description="The reported execution result." strength="Required"/>
      </element>
      <element name="score" elementType="FHIR.decimal" description="The final score (percentage of tests passed) resulting from the execution of the TestScript" definition="The final score (percentage of tests passed) resulting from the execution of the TestScript."/>
      <element name="tester" elementType="FHIR.string" description="Name of the tester producing this report (Organization or individual)" definition="Name of the tester producing this report (Organization or individual)." comment="Usually an organization, but may be an individual. This item SHOULD be populated unless the information is available from context."/>
      <element name="issued" elementType="FHIR.dateTime" description="When the TestScript was executed and this TestReport was generated" definition="When the TestScript was executed and this TestReport was generated." comment="Additional specific dates may be added as extensions."/>
      <element name="participant" description="A participant in the test execution, either the execution engine, a client, or a server" definition="A participant in the test execution, either the execution engine, a client, or a server.">
         <elementTypeSpecifier elementType="FHIR.TestReport.Participant" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="setup" elementType="FHIR.TestReport.Setup" description="The results of the series of required setup operations before the tests were executed" definition="The results of the series of required setup operations before the tests were executed."/>
      <element name="test" description="A test executed from the test script" definition="A test executed from the test script.">
         <elementTypeSpecifier elementType="FHIR.TestReport.Test" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="teardown" elementType="FHIR.TestReport.Teardown" description="The results of running the series of required clean up steps" definition="The results of the series of operations required to clean up after all the tests were executed (successfully or otherwise)."/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="result" path="result" type="System.Code"/>
      <search name="tester" path="tester" type="System.String"/>
      <search name="issued" path="issued" type="System.DateTime"/>
      <search name="testscript" path="testScript" type="FHIR.TestScript"/>
      <search name="participant" path="participant.uri" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestReport.Participant" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.TestReportParticipantType" description="test-engine | client | server" definition="The type of participant.">
         <binding name="TestReportParticipantType" description="The type of participant." strength="Required"/>
      </element>
      <element name="uri" elementType="FHIR.uri" description="The uri of the participant. An absolute URL is preferred" definition="The uri of the participant. An absolute URL is preferred."/>
      <element name="display" elementType="FHIR.string" description="The display name of the participant" definition="The display name of the participant."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestReport.Setup" retrievable="false" xsi:type="ClassInfo">
      <element name="action" description="A setup operation or assert that was executed" definition="Action would contain either an operation or an assertion." comment="An action should contain either an operation or an assertion but not both.  It can contain any number of variables.">
         <elementTypeSpecifier elementType="FHIR.TestReport.Setup.Action" xsi:type="ListTypeSpecifier"/>
         <constraint name="inv-1" severity="ERROR" message="Setup action SHALL contain either an operation or assert but not both.">
            <expression language="text/fhirpath" expression="operation.exists() xor assert.exists()"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestReport.Setup.Action" retrievable="false" xsi:type="ClassInfo">
      <element name="operation" elementType="FHIR.TestReport.Setup.Action.Operation" description="The operation to perform" definition="The operation performed."/>
      <element name="assert" elementType="FHIR.TestReport.Setup.Action.Assert" description="The assertion to perform" definition="The results of the assertion performed on the previous operations."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestReport.Setup.Action.Assert" retrievable="false" xsi:type="ClassInfo">
      <element name="result" elementType="FHIR.TestReportActionResult" description="pass | skip | fail | warning | error" definition="The result of this assertion.">
         <binding name="TestReportActionResult" description="The results of executing an action." strength="Required"/>
      </element>
      <element name="message" elementType="FHIR.markdown" description="A message associated with the result" definition="An explanatory message associated with the result."/>
      <element name="detail" elementType="FHIR.string" description="A link to further details on the result" definition="A link to further details on the result."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestReport.Setup.Action.Operation" retrievable="false" xsi:type="ClassInfo">
      <element name="result" elementType="FHIR.TestReportActionResult" description="pass | skip | fail | warning | error" definition="The result of this operation.">
         <binding name="TestReportActionResult" description="The results of executing an action." strength="Required"/>
      </element>
      <element name="message" elementType="FHIR.markdown" description="A message associated with the result" definition="An explanatory message associated with the result."/>
      <element name="detail" elementType="FHIR.uri" description="A link to further details on the result" definition="A link to further details on the result."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestReport.Teardown" retrievable="false" xsi:type="ClassInfo">
      <element name="action" description="One or more teardown operations performed" definition="The teardown action will only contain an operation." comment="An action should contain either an operation or an assertion but not both.  It can contain any number of variables.">
         <elementTypeSpecifier elementType="FHIR.TestReport.Teardown.Action" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestReport.Teardown.Action" retrievable="false" xsi:type="ClassInfo">
      <element name="operation" elementType="FHIR.TestReport.Setup.Action.Operation" description="The teardown operation performed" definition="An operation would involve a REST request to a server."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestReport.Test" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Tracking/logging name of this test" definition="The name of this test used for tracking/logging purposes by test engines."/>
      <element name="description" elementType="FHIR.string" description="Tracking/reporting short description of the test" definition="A short description of the test used by test engines for tracking and reporting purposes."/>
      <element name="action" description="A test operation or assert that was performed" definition="Action would contain either an operation or an assertion." comment="An action should contain either an operation or an assertion but not both.  It can contain any number of variables.">
         <elementTypeSpecifier elementType="FHIR.TestReport.Test.Action" xsi:type="ListTypeSpecifier"/>
         <constraint name="inv-2" severity="ERROR" message="Test action SHALL contain either an operation or assert but not both.">
            <expression language="text/fhirpath" expression="operation.exists() xor assert.exists()"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestReport.Test.Action" retrievable="false" xsi:type="ClassInfo">
      <element name="operation" elementType="FHIR.TestReport.Setup.Action.Operation" description="The operation performed" definition="An operation would involve a REST request to a server."/>
      <element name="assert" elementType="FHIR.TestReport.Setup.Action.Assert" description="The assertion performed" definition="The results of the assertion performed on the previous operations."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="TestReportActionResult" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="TestReportParticipantType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="TestReportResult" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="TestReportStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="TestScript" identifier="http://hl7.org/fhir/StructureDefinition/TestScript" label="TestScript" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this test script, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this test script 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 test script is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the test script 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.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" elementType="FHIR.Identifier" description="Additional identifier for the test script" definition="A formal identifier that is used to identify this test script when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this test script outside of FHIR, where it is not possible to use the logical URI."/>
      <element name="version" elementType="FHIR.string" description="Business version of the test script" definition="The identifier that is used to identify this version of the test script when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the test script 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 test script 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 test script with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this test script (computer friendly)" definition="A natural language name identifying the test script. 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."/>
      <element name="title" elementType="FHIR.string" description="Name for this test script (human friendly)" definition="A short, descriptive, user-friendly title for the test script." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this test script. Enables tracking the life-cycle of the content." comment="Allows filtering of test scripts that are appropriate for use versus not.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this test script is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of test scripts that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date  (and optionally time) when the test script 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 test script 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 test script. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the test script." comment="Usually an organization but may be an individual. The publisher (or steward) of the test script is the organization or individual primarily responsible for the maintenance and upkeep of the test script. 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 test script. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the test script" definition="A free text natural language description of the test script from a consumer's perspective." comment="This description can be used to capture details such as why the test script 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 test script 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 test script is presumed to be the predominant language in the place the test script was created)."/>
      <element name="useContext" description="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 test script instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for test script (if applicable)" definition="A legal or geographic region in which the test script is intended to be used." comment="It may be possible for the test script to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="purpose" elementType="FHIR.markdown" description="Why this test script is defined" definition="Explanation of why this test script is needed and why it has been designed as it has." comment="This element does not describe the usage of the test script. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this test script."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the test script and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the test script."/>
      <element name="origin" description="An abstract server representing a client or sender in a message exchange" definition="An abstract server used in operations within this test script in the origin element." comment="The purpose of this element is to define the profile of an origin element used elsewhere in the script.  Test engines could then use the origin-profile mapping to offer a filtered list of test systems that can serve as the sender for the interaction.">
         <elementTypeSpecifier elementType="FHIR.TestScript.Origin" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="destination" description="An abstract server representing a destination or receiver in a message exchange" definition="An abstract server used in operations within this test script in the destination element." comment="The purpose of this element is to define the profile of a destination element used elsewhere in the script.  Test engines could then use the destination-profile mapping to offer a filtered list of test systems that can serve as the receiver for the interaction.">
         <elementTypeSpecifier elementType="FHIR.TestScript.Destination" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="metadata" elementType="FHIR.TestScript.Metadata" description="Required capability that is assumed to function correctly on the FHIR server being tested" definition="The required capability must exist and are assumed to function correctly on the FHIR server being tested.">
         <constraint name="tst-4" severity="ERROR" message="TestScript metadata capability SHALL contain required or validated or both.">
            <expression language="text/fhirpath" expression="capability.required.exists() or capability.validated.exists()"/>
         </constraint>
      </element>
      <element name="fixture" description="Fixture in the test script - by reference (uri)" definition="Fixture in the test script - by reference (uri). All fixtures are required for the test script to execute.">
         <elementTypeSpecifier elementType="FHIR.TestScript.Fixture" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="profile" description="Reference of the validation profile" definition="Reference to the profile to be used for validation." comment="See http://build.fhir.org/resourcelist.html for complete list of resource types.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="variable" description="Placeholder for evaluated elements" definition="Variable is set based either on element value in response body or on header field value in the response headers." comment="Variables would be set based either on XPath/JSONPath expressions against fixtures (static and response), or headerField evaluations against response headers. If variable evaluates to nodelist or anything other than a primitive value, then test engine would report an error.  Variables would be used to perform clean replacements in &quot;operation.params&quot;, &quot;operation.requestHeader.value&quot;, and &quot;operation.url&quot; element values during operation calls and in &quot;assert.value&quot; during assertion evaluations. This limits the places that test engines would need to look for placeholders &quot;${}&quot;.  Variables are scoped to the whole script. They are NOT evaluated at declaration. They are evaluated by test engine when used for substitutions in &quot;operation.params&quot;, &quot;operation.requestHeader.value&quot;, and &quot;operation.url&quot; element values during operation calls and in &quot;assert.value&quot; during assertion evaluations.  See example testscript-search.xml.">
         <elementTypeSpecifier elementType="FHIR.TestScript.Variable" xsi:type="ListTypeSpecifier"/>
         <constraint name="tst-3" severity="ERROR" message="Variable can only contain one of expression, headerField or path.">
            <expression language="text/fhirpath" expression="expression.empty() or headerField.empty() or path.empty()"/>
         </constraint>
      </element>
      <element name="setup" elementType="FHIR.TestScript.Setup" description="A series of required setup operations before tests are executed" definition="A series of required setup operations before tests are executed."/>
      <element name="test" description="A test in this script" definition="A test in this script.">
         <elementTypeSpecifier elementType="FHIR.TestScript.Test" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="teardown" elementType="FHIR.TestScript.Teardown" description="A series of required clean up steps" definition="A series of operations required to clean up after all the tests are executed (successfully or otherwise)."/>
      <search name="name" path="name" type="System.String"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="testscript-capability" path="metadata.capability.description" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
      <search name="description" path="description" type="System.String"/>
      <search name="title" path="title" type="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Destination" retrievable="false" xsi:type="ClassInfo">
      <element name="index" elementType="FHIR.integer" description="The index of the abstract destination server starting at 1" definition="Abstract name given to a destination server in this test script.  The name is provided as a number starting at 1." comment="A given destination index (e.g. 1) can appear only once in the list (e.g. Destination 1 cannot be specified twice ... once as Form-Manager and again as Form-Processor within the same script as that could get confusing during test configuration). &#xa;&#xa;Different destination indices could play the same actor in the same test script (e.g. You could have two different test systems acting as Form-Manager).&#xa;&#xa;The destination indices provided elsewhere in the test script must be one of these destination indices."/>
      <element name="profile" elementType="FHIR.Coding" description="FHIR-Server | FHIR-SDC-FormManager | FHIR-SDC-FormReceiver | FHIR-SDC-FormProcessor" definition="The type of destination profile the test system supports." comment="Must be a &quot;receiver&quot;/&quot;server&quot; profile.">
         <binding name="TestScriptProfileDestinationType" description="The type of destination profile the test system supports." strength="Extensible"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Fixture" retrievable="false" xsi:type="ClassInfo">
      <element name="autocreate" elementType="FHIR.boolean" description="Whether or not to implicitly create the fixture during setup" definition="Whether or not to implicitly create the fixture during setup. If true, the fixture is automatically created on each server being tested during setup, therefore no create operation is required for this fixture in the TestScript.setup section."/>
      <element name="autodelete" elementType="FHIR.boolean" description="Whether or not to implicitly delete the fixture during teardown" definition="Whether or not to implicitly delete the fixture during teardown. If true, the fixture is automatically deleted on each server being tested during teardown, therefore no delete operation is required for this fixture in the TestScript.teardown section."/>
      <element name="resource" elementType="FHIR.Reference" description="Reference of the resource" definition="Reference to the resource (containing the contents of the resource needed for operations)." comment="See http://build.fhir.org/resourcelist.html for complete list of resource types."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Metadata" retrievable="false" xsi:type="ClassInfo">
      <element name="link" description="Links to the FHIR specification" definition="A link to the FHIR specification that this test is covering.">
         <elementTypeSpecifier elementType="FHIR.TestScript.Metadata.Link" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="capability" description="Capabilities  that are assumed to function correctly on the FHIR server being tested" definition="Capabilities that must exist and are assumed to function correctly on the FHIR server being tested." comment="When the metadata capabilities section is defined at TestScript.metadata or at TestScript.setup.metadata, and the server's conformance statement does not contain the elements defined in the minimal conformance statement, then all the tests in the TestScript are skipped.  When the metadata capabilities section is defined at TestScript.test.metadata and the server's conformance statement does not contain the elements defined in the minimal conformance statement, then only that test is skipped.  The &quot;metadata.capabilities.required&quot; and &quot;metadata.capabilities.validated&quot; elements only indicate whether the capabilities are the primary focus of the test script or not.  They do not impact the skipping logic.  Capabilities whose &quot;metadata.capabilities.validated&quot; flag is true are the primary focus of the test script.">
         <elementTypeSpecifier elementType="FHIR.TestScript.Metadata.Capability" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Metadata.Capability" retrievable="false" xsi:type="ClassInfo">
      <element name="required" elementType="FHIR.boolean" description="Are the capabilities required?" definition="Whether or not the test execution will require the given capabilities of the server in order for this test script to execute."/>
      <element name="validated" elementType="FHIR.boolean" description="Are the capabilities validated?" definition="Whether or not the test execution will validate the given capabilities of the server in order for this test script to execute."/>
      <element name="description" elementType="FHIR.string" description="The expected capabilities of the server" definition="Description of the capabilities that this test script is requiring the server to support."/>
      <element name="origin" description="Which origin server these requirements apply to" definition="Which origin server these requirements apply to.">
         <elementTypeSpecifier elementType="FHIR.integer" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="destination" elementType="FHIR.integer" description="Which server these requirements apply to" definition="Which server these requirements apply to."/>
      <element name="link" description="Links to the FHIR specification" definition="Links to the FHIR specification that describes this interaction and the resources involved in more detail.">
         <elementTypeSpecifier elementType="FHIR.uri" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="capabilities" elementType="FHIR.canonical" description="Required Capability Statement" definition="Minimum capabilities required of server for test script to execute successfully.   If server does not meet at a minimum the referenced capability statement, then all tests in this script are skipped." comment="The conformance statement of the server has to contain at a minimum the contents of the reference pointed to by this element."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Metadata.Link" retrievable="false" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="URL to the specification" definition="URL to a particular requirement or feature within the FHIR specification."/>
      <element name="description" elementType="FHIR.string" description="Short description" definition="Short description of the link."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Origin" retrievable="false" xsi:type="ClassInfo">
      <element name="index" elementType="FHIR.integer" description="The index of the abstract origin server starting at 1" definition="Abstract name given to an origin server in this test script.  The name is provided as a number starting at 1." comment="A given origin index (e.g. 1) can appear only once in the list (e.g. Origin 1 cannot be specified twice ... once as FormFiller and again as FormProcessor within the same script as that could get confusing during test configuration). &#xa;&#xa;Different origin indices could play the same actor in the same test script (e.g. You could have two different test systems acting as Form-Filler).&#xa;&#xa;The origin indices provided elsewhere in the test script must be one of these origin indices."/>
      <element name="profile" elementType="FHIR.Coding" description="FHIR-Client | FHIR-SDC-FormFiller" definition="The type of origin profile the test system supports." comment="Must be a &quot;sender&quot;/&quot;client&quot; profile.">
         <binding name="TestScriptProfileOriginType" description="The type of origin profile the test system supports." strength="Extensible"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Setup" retrievable="false" xsi:type="ClassInfo">
      <element name="action" description="A setup operation or assert to perform" definition="Action would contain either an operation or an assertion." comment="An action should contain either an operation or an assertion but not both.  It can contain any number of variables.">
         <elementTypeSpecifier elementType="FHIR.TestScript.Setup.Action" xsi:type="ListTypeSpecifier"/>
         <constraint name="tst-1" severity="ERROR" message="Setup action SHALL contain either an operation or assert but not both.">
            <expression language="text/fhirpath" expression="operation.exists() xor assert.exists()"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Setup.Action" retrievable="false" xsi:type="ClassInfo">
      <element name="operation" elementType="FHIR.TestScript.Setup.Action.Operation" description="The setup operation to perform" definition="The operation to perform.">
         <constraint name="tst-7" severity="ERROR" message="Setup operation SHALL contain either sourceId or targetId or params or url.">
            <expression language="text/fhirpath" expression="sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' |'search' | 'transaction' | 'history'))"/>
         </constraint>
      </element>
      <element name="assert" elementType="FHIR.TestScript.Setup.Action.Assert" description="The assertion to perform" definition="Evaluates the results of previous operations to determine if the server under test behaves appropriately." comment="In order to evaluate an assertion, the request, response, and results of the most recently executed operation must always be maintained by the test engine.">
         <constraint name="tst-12" severity="ERROR" message="Setup action assert response and responseCode SHALL be empty when direction equals request">
            <expression language="text/fhirpath" expression="(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'"/>
         </constraint>
         <constraint name="tst-5" severity="ERROR" message="Only a single assertion SHALL be present within setup action assert element.">
            <expression language="text/fhirpath" expression="extension.exists() or (contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + requestMethod.count() + resource.count() + responseCode.count() + response.count()  + validateProfileId.count() &lt;=1)"/>
         </constraint>
         <constraint name="tst-10" severity="ERROR" message="Setup action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither.">
            <expression language="text/fhirpath" expression="compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Setup.Action.Assert" retrievable="false" xsi:type="ClassInfo">
      <element name="label" elementType="FHIR.string" description="Tracking/logging assertion label" definition="The label would be used for tracking/logging purposes by test engines." comment="This has no impact on the verification itself."/>
      <element name="description" elementType="FHIR.string" description="Tracking/reporting assertion description" definition="The description would be used by test engines for tracking and reporting purposes." comment="This has no impact on the verification itself."/>
      <element name="direction" elementType="FHIR.AssertionDirectionType" description="response | request" definition="The direction to use for the assertion." comment="If the direction is specified as &quot;response&quot; (the default), then the processing of this assert is against the received response message. If the direction is specified as &quot;request&quot;, then the processing of this assert is against the sent request message.">
         <binding name="AssertionDirectionType" description="The type of direction to use for assertion." strength="Required"/>
      </element>
      <element name="compareToSourceId" elementType="FHIR.string" description="Id of the source fixture to be evaluated" definition="Id of the source fixture used as the contents to be evaluated by either the &quot;source/expression&quot; or &quot;sourceId/path&quot; definition."/>
      <element name="compareToSourceExpression" elementType="FHIR.string" description="The FHIRPath expression to evaluate against the source fixture" definition="The FHIRPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both." comment="Thefhirpath expression to be evaluated against the expected fixture to compare to. Ignored if &quot;assert.value&quot; is used. The evaluation will be done before the assertion is evaluated."/>
      <element name="compareToSourcePath" elementType="FHIR.string" description="XPath or JSONPath expression to evaluate against the source fixture" definition="XPath or JSONPath expression to evaluate against the source fixture. When compareToSourceId is defined, either compareToSourceExpression or compareToSourcePath must be defined, but not both." comment="The XPath or JSONPath expression to be evaluated against the expected fixture to compare to. Ignored if &quot;assert.value&quot; is used. The evaluation will be done before the assertion is evaluated."/>
      <element name="contentType" elementType="FHIR.MimeType" description="Mime type to compare against the 'Content-Type' header" definition="The mime-type contents to compare against the request or response message 'Content-Type' header." comment="If this is specified, then test engine shall confirm that the content-type of the last operation's headers is set to this value.  If &quot;assert.sourceId&quot; element is specified, then the evaluation will be done against the headers mapped to that sourceId (and not the last operation's headers).  If you'd like to have more control over the string, then use 'assert.headerField' instead.">
         <binding name="MimeType" description="The mime type of an attachment. Any valid mime type is allowed." strength="Required"/>
      </element>
      <element name="expression" elementType="FHIR.string" description="The FHIRPath expression to be evaluated" definition="The FHIRPath expression to be evaluated against the request or response message contents - HTTP headers and payload." comment="If both &quot;expression&quot; and a &quot;fixtureId&quot; are specified, then the expression will be evaluated against the request or response body mapped to the fixtureId.  If &quot;expression&quot; is specified and a &quot;fixtureId&quot; is not, then the expression will be evaluated against the response body of the last operation.  Test engines are to store the request and response body and headers of the last operation at all times for subsequent assertions."/>
      <element name="headerField" elementType="FHIR.string" description="HTTP header field name" definition="The HTTP header field name e.g. 'Location'." comment="If &quot;headerField&quot; is specified then &quot;value&quot; must be specified.  If &quot;sourceId&quot; is not specified, then &quot;headerField&quot; will be evaluated against the last operation's response headers.  Test engines are to keep track of the last operation's response body and response headers."/>
      <element name="minimumId" elementType="FHIR.string" description="Fixture Id of minimum content resource" definition="The ID of a fixture.  Asserts that the response contains at a minimum the fixture specified by minimumId." comment="Asserts that the response contains all the element/content in another fixture pointed to by minimumId.  This can be a statically defined fixture or one that is dynamically set via responseId."/>
      <element name="navigationLinks" elementType="FHIR.boolean" description="Perform validation on navigation links?" definition="Whether or not the test execution performs validation on the bundle navigation links." comment="Asserts that the Bundle contains first, last, and next links."/>
      <element name="operator" elementType="FHIR.AssertionOperatorType" description="equals | notEquals | in | notIn | greaterThan | lessThan | empty | notEmpty | contains | notContains | eval" definition="The operator type defines the conditional behavior of the assert. If not defined, the default is equals." comment="Operators are useful especially for negative testing.  If operator is not specified, then the &quot;equals&quot; operator is assumed; e.g. ```&lt;code>   &lt;assert>  &lt;operator value=&quot;in&quot; />  &lt;responseCode value=&quot;200,201,204&quot; />    &lt;/assert>    &lt;assert>  &lt;operator value=&quot;notEquals&quot; />  &lt;response value=&quot;okay&quot;/>   &lt;/assert>    &lt;assert>  &lt;operator value=&quot;greaterThan&quot; />    &lt;responseHeader>     &lt;field value=&quot;Content-Length&quot; />     &lt;value value=&quot;0&quot; />    &lt;/responseHeader/>   &lt;/assert> &lt;/code> ```.">
         <binding name="AssertionOperatorType" description="The type of operator to use for assertion." strength="Required"/>
      </element>
      <element name="path" elementType="FHIR.string" description="XPath or JSONPath expression" definition="The XPath or JSONPath expression to be evaluated against the fixture representing the response received from server." comment="If both &quot;path&quot; and a &quot;fixtureId&quot; are specified, then the path will be evaluated against the request or response body mapped to the fixtureId.  If &quot;path&quot; is specified and a &quot;fixtureId&quot; is not, then the path will be evaluated against the response body of the last operation.  Test engines are to store the request and response body and headers of the last operation at all times for subsequent assertions."/>
      <element name="requestMethod" elementType="FHIR.TestScriptRequestMethodCode" description="delete | get | options | patch | post | put | head" definition="The request method or HTTP operation code to compare against that used by the client system under test." comment="If &quot;requestMethod&quot; is specified then it will be used in place of &quot;value&quot;. The &quot;requestMethod&quot; will evaluate against the last operation's request HTTP operation.">
         <binding name="TestScriptRequestMethodCode" description="The allowable request method or HTTP operation codes." strength="Required"/>
      </element>
      <element name="requestURL" elementType="FHIR.string" description="Request URL comparison value" definition="The value to use in a comparison against the request URL path string." comment="If &quot;requestURL&quot; is specified then it will be used in place of &quot;value&quot;. The &quot;requestURL&quot; will evaluate against the last operation's full request URL path string."/>
      <element name="resource" elementType="FHIR.FHIRDefinedType" description="Resource type" definition="The type of the resource.  See http://build.fhir.org/resourcelist.html." comment="This will be expected resource type in response body e.g. in read, vread, search, etc.  See http://build.fhir.org/resourcelist.html for complete list of resource types; e.g. &lt;assert > &lt;resourceType value=&quot;Patient&quot; &lt;/assert>.">
         <binding name="FHIRDefinedType" description="A list of all the concrete types defined in this version of the FHIR specification - Data Types and Resource Types." strength="Required"/>
      </element>
      <element name="response" elementType="FHIR.AssertionResponseTypes" description="okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable" definition="okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable." comment="This is a shorter way of achieving similar verifications via &quot;assert.responseCode&quot;.  If you need more control, then use &quot;assert.responseCode&quot;  e.g. &lt;assert>  &lt;contentType value=&quot;json&quot; />  &lt;response value=&quot;okay&quot;/> &lt;/assert>.">
         <binding name="AssertionResponseTypes" description="The type of response code to use for assertion." strength="Required"/>
      </element>
      <element name="responseCode" elementType="FHIR.string" description="HTTP response code to test" definition="The value of the HTTP response code to be tested." comment="To be used with &quot;operator&quot; attribute value. Asserts that the response code equals this value if &quot;operator&quot; is not specified.   If the operator is &quot;in&quot; or &quot;notIn&quot; then the responseCode would be a comma-separated list of values e.g. &quot;200,201&quot;. Otherwise, it's expected to be a numeric value.   If &quot;fixture&quot; is not specified, then the &quot;responseBodyId&quot; value of the last operation is assumed."/>
      <element name="sourceId" elementType="FHIR.id" description="Fixture Id of source expression or headerField" definition="Fixture to evaluate the XPath/JSONPath expression or the headerField  against." comment="This can be a statically defined fixture (at the top of the testscript) or a dynamically set fixture created by responseId of the action.operation element."/>
      <element name="validateProfileId" elementType="FHIR.id" description="Profile Id of validation profile reference" definition="The ID of the Profile to validate against." comment="The ID of a Profile fixture. Asserts that the response is valid according to the Profile specified by validateProfileId."/>
      <element name="value" elementType="FHIR.string" description="The value to compare to" definition="The value to compare to." comment="The string-representation of a number, string, or boolean that is expected.  Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before comparing this value to the actual value."/>
      <element name="warningOnly" elementType="FHIR.boolean" description="Will this assert produce a warning only on error?" definition="Whether or not the test execution will produce a warning only on error for this assert." comment="If this element is specified and it is true, then assertion failures can be logged by test engine but should not stop the test script execution from proceeding.  There are likely cases where the spec is not clear on what should happen. If the spec says something is optional (maybe a response header for example), but a server doesn’t do it, we could choose to issue a warning."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Setup.Action.Operation" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.Coding" description="The operation code type that will be executed" definition="Server interaction or operation type." comment="See http://build.fhir.org/http.html for list of server interactions.">
         <binding name="TestScriptOperationCode" description="The allowable operation code types." strength="Extensible"/>
      </element>
      <element name="resource" elementType="FHIR.FHIRDefinedType" description="Resource type" definition="The type of the resource.  See http://build.fhir.org/resourcelist.html." comment="If &quot;url&quot; element is specified, then &quot;targetId&quot;, &quot;params&quot;, and &quot;resource&quot; elements will be ignored as &quot;url&quot; element will have everything needed for constructing the request url.  If &quot;params&quot; element is specified, then &quot;targetId&quot; element is ignored. For FHIR operations that require a resource (e.g. &quot;read&quot; and &quot;vread&quot; operations), the &quot;resource&quot; element must be specified when &quot;params&quot; element is specified.  If &quot;url&quot; and &quot;params&quot; elements are absent, then the request url will be constructed from &quot;targetId&quot; fixture if present. For &quot;read&quot; operation, the resource and id values will be extracted from &quot;targetId&quot; fixture and used to construct the url. For &quot;vread&quot; and &quot;history&quot; operations, the versionId value will also be used.">
         <binding name="FHIRDefinedType" description="A list of all the concrete types defined in this version of the FHIR specification - Data Types and Resource Types." strength="Required"/>
      </element>
      <element name="label" elementType="FHIR.string" description="Tracking/logging operation label" definition="The label would be used for tracking/logging purposes by test engines." comment="This has no impact on the verification itself."/>
      <element name="description" elementType="FHIR.string" description="Tracking/reporting operation description" definition="The description would be used by test engines for tracking and reporting purposes." comment="This has no impact on the verification itself."/>
      <element name="accept" elementType="FHIR.MimeType" description="Mime type to accept in the payload of the response, with charset etc." definition="The mime-type to use for RESTful operation in the 'Accept' header." comment="If this is specified, then test engine shall set the 'Accept' header to the corresponding value.  If you'd like to explicitly set the 'Accept' to some other value then use the 'requestHeader' element.">
         <binding name="MimeType" description="The mime type of an attachment. Any valid mime type is allowed." strength="Required"/>
      </element>
      <element name="contentType" elementType="FHIR.MimeType" description="Mime type of the request payload contents, with charset etc." definition="The mime-type to use for RESTful operation in the 'Content-Type' header." comment="If this is specified, then test engine shall set the 'Content-Type' header to the corresponding value.  If you'd like to explicitly set the 'Content-Type' to some other value then use the 'requestHeader' element.">
         <binding name="MimeType" description="The mime type of an attachment. Any valid mime type is allowed." strength="Required"/>
      </element>
      <element name="destination" elementType="FHIR.integer" description="Server responding to the request" definition="The server where the request message is destined for.  Must be one of the server numbers listed in TestScript.destination section." comment="If multiple TestScript.destination elements are defined and operation.destination is undefined, test engine will report an error as it cannot determine what destination to use for the exchange."/>
      <element name="encodeRequestUrl" elementType="FHIR.boolean" description="Whether or not to send the request url in encoded format" definition="Whether or not to implicitly send the request url in encoded format. The default is true to match the standard RESTful client behavior. Set to false when communicating with a server that does not support encoded url paths."/>
      <element name="method" elementType="FHIR.TestScriptRequestMethodCode" description="delete | get | options | patch | post | put | head" definition="The HTTP method the test engine MUST use for this operation regardless of any other operation details." comment="The primary purpose of the explicit HTTP method is support of  HTTP POST method invocation of the FHIR search. Other uses will include support of negative testing.">
         <binding name="TestScriptRequestMethodCode" description="The allowable request method or HTTP operation codes." strength="Required"/>
      </element>
      <element name="origin" elementType="FHIR.integer" description="Server initiating the request" definition="The server where the request message originates from.  Must be one of the server numbers listed in TestScript.origin section." comment="If absent, test engine will send the message.  When present, test engine will not send the request message but will wait for the request message to be sent from this origin server."/>
      <element name="params" elementType="FHIR.string" description="Explicitly defined path parameters" definition="Path plus parameters after [type].  Used to set parts of the request URL explicitly." comment="If &quot;url&quot; element is specified, then &quot;targetId&quot;, &quot;params&quot;, and &quot;resource&quot; elements will be ignored as &quot;url&quot; element will have everything needed for constructing the request url.  If &quot;params&quot; element is specified, then &quot;targetId&quot; element is ignored.  For FHIR operations that require a resource (e.g. &quot;read&quot; and &quot;vread&quot; operations), the &quot;resource&quot; element must be specified when &quot;params&quot; element is specified.  If &quot;url&quot; and &quot;params&quot; elements are absent, then the request url will be constructed from &quot;targetId&quot; fixture if present.  For &quot;read&quot; operation, the resource and id values will be extracted from &quot;targetId&quot; fixture and used to construct the url.  For &quot;vread&quot; and &quot;history&quot; operations, the versionId value will also be used.   Test engines would append whatever is specified for &quot;params&quot; to the URL after the resource type without tampering with the string (beyond encoding the URL for HTTP).  The &quot;params&quot; element does not correspond exactly to &quot;search parameters&quot;.  Nor is it the &quot;path&quot;.  It corresponds to the part of the URL that comes after the [type] (when &quot;resource&quot; element is specified); e.g. It corresponds to &quot;/[id]/_history/[vid] {?_format=[mime-type]}&quot; in the following operation: GET [base]/[type]/[id]/_history/[vid] {?_format=[mime-type]}  Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before sending the request."/>
      <element name="requestHeader" description="Each operation can have one or more header elements" definition="Header elements would be used to set HTTP headers." comment="This gives control to test-script writers to set headers explicitly based on test requirements.  It will allow for testing using:  - &quot;If-Modified-Since&quot; and &quot;If-None-Match&quot; headers.  See http://build.fhir.org/http.html#2.1.0.5.1 - &quot;If-Match&quot; header.  See http://build.fhir.org/http.html#2.1.0.11 - Conditional Create using &quot;If-None-Exist&quot;.  See http://build.fhir.org/http.html#2.1.0.13.1 - Invalid &quot;Content-Type&quot; header for negative testing. - etc.">
         <elementTypeSpecifier elementType="FHIR.TestScript.Setup.Action.Operation.RequestHeader" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="requestId" elementType="FHIR.id" description="Fixture Id of mapped request" definition="The fixture id (maybe new) to map to the request." comment="If a requestId is supplied, then the resulting request (both headers and body) is mapped to the fixture ID (which may be entirely new and previously undeclared) designated by &quot;requestId&quot;.  If requestId is not specified, it is the test engine's responsibility to store the request and use it as the requestId in subsequent assertions when assertion path and/or headerField is specified, direction is equal to request, and the requestId in not specified."/>
      <element name="responseId" elementType="FHIR.id" description="Fixture Id of mapped response" definition="The fixture id (maybe new) to map to the response." comment="If a responseId is supplied, and the server responds, then the resulting response (both headers and body) is mapped to the fixture ID (which may be entirely new and previously undeclared) designated by &quot;responseId&quot;.  If responseId is not specified, it is the test engine's responsibility to store the response and use it as the responseId in subsequent assertions when assertion path and/or headerField is specified and the responseId is not specified."/>
      <element name="sourceId" elementType="FHIR.id" description="Fixture Id of body for PUT and POST requests" definition="The id of the fixture used as the body of a PUT or POST request."/>
      <element name="targetId" elementType="FHIR.id" description="Id of fixture used for extracting the [id],  [type], and [vid] for GET requests" definition="Id of fixture used for extracting the [id],  [type], and [vid] for GET requests." comment="If &quot;url&quot; element is specified, then &quot;targetId&quot;, &quot;params&quot;, and &quot;resource&quot; elements will be ignored as &quot;url&quot; element will have everything needed for constructing the request url.  If &quot;params&quot; element is specified, then &quot;targetId&quot; element is ignored.  For FHIR operations that require a resource (e.g. &quot;read&quot; and &quot;vread&quot; operations), the &quot;resource&quot; element must be specified when &quot;params&quot; element is specified.  If &quot;url&quot; and &quot;params&quot; elements are absent, then the request url will be constructed from &quot;targetId&quot; fixture if present.  For &quot;read&quot; operation, the resource and id values will be extracted from &quot;targetId&quot; fixture and used to construct the url.  For &quot;vread&quot; and &quot;history&quot; operations, the versionId value will also be used."/>
      <element name="url" elementType="FHIR.string" description="Request URL" definition="Complete request URL." comment="Used to set the request URL explicitly.  If &quot;url&quot; element is defined, then &quot;targetId&quot;, &quot;resource&quot;, and &quot;params&quot; elements will be ignored.  Test engines would use whatever is specified in &quot;url&quot; without tampering with the string (beyond encoding the URL for HTTP).  Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before sending the request."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Setup.Action.Operation.RequestHeader" retrievable="false" xsi:type="ClassInfo">
      <element name="field" elementType="FHIR.string" description="HTTP header field name" definition="The HTTP header field e.g. &quot;Accept&quot;." comment="If header element is specified, then field is required."/>
      <element name="value" elementType="FHIR.string" description="HTTP headerfield value" definition="The value of the header e.g. &quot;application/fhir+xml&quot;." comment="If header element is specified, then value is required.  No conversions will be done by the test engine e.g. &quot;xml&quot; to &quot;application/fhir+xml&quot;.  The values will be set in HTTP headers &quot;as-is&quot;.  Test engines do have to look for placeholders (${}) and replace the variable placeholders with the variable values at runtime before sending the request."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Teardown" retrievable="false" xsi:type="ClassInfo">
      <element name="action" description="One or more teardown operations to perform" definition="The teardown action will only contain an operation." comment="An action should contain either an operation or an assertion but not both.  It can contain any number of variables.">
         <elementTypeSpecifier elementType="FHIR.TestScript.Teardown.Action" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Teardown.Action" retrievable="false" xsi:type="ClassInfo">
      <element name="operation" elementType="FHIR.TestScript.Setup.Action.Operation" description="The teardown operation to perform" definition="An operation would involve a REST request to a server.">
         <constraint name="tst-9" severity="ERROR" message="Teardown operation SHALL contain either sourceId or targetId or params or url.">
            <expression language="text/fhirpath" expression="sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Test" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Tracking/logging name of this test" definition="The name of this test used for tracking/logging purposes by test engines."/>
      <element name="description" elementType="FHIR.string" description="Tracking/reporting short description of the test" definition="A short description of the test used by test engines for tracking and reporting purposes."/>
      <element name="action" description="A test operation or assert to perform" definition="Action would contain either an operation or an assertion." comment="An action should contain either an operation or an assertion but not both.  It can contain any number of variables.">
         <elementTypeSpecifier elementType="FHIR.TestScript.Test.Action" xsi:type="ListTypeSpecifier"/>
         <constraint name="tst-2" severity="ERROR" message="Test action SHALL contain either an operation or assert but not both.">
            <expression language="text/fhirpath" expression="operation.exists() xor assert.exists()"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Test.Action" retrievable="false" xsi:type="ClassInfo">
      <element name="operation" elementType="FHIR.TestScript.Setup.Action.Operation" description="The setup operation to perform" definition="An operation would involve a REST request to a server.">
         <constraint name="tst-8" severity="ERROR" message="Test operation SHALL contain either sourceId or targetId or params or url.">
            <expression language="text/fhirpath" expression="sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))"/>
         </constraint>
      </element>
      <element name="assert" elementType="FHIR.TestScript.Setup.Action.Assert" description="The setup assertion to perform" definition="Evaluates the results of previous operations to determine if the server under test behaves appropriately." comment="In order to evaluate an assertion, the request, response, and results of the most recently executed operation must always be maintained by the test engine.">
         <constraint name="tst-11" severity="ERROR" message="Test action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither.">
            <expression language="text/fhirpath" expression="compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())"/>
         </constraint>
         <constraint name="tst-13" severity="ERROR" message="Test action assert response and response and responseCode SHALL be empty when direction equals request">
            <expression language="text/fhirpath" expression="(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'"/>
         </constraint>
         <constraint name="tst-6" severity="ERROR" message="Only a single assertion SHALL be present within test action assert element.">
            <expression language="text/fhirpath" expression="extension.exists() or (contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + requestMethod.count() + resource.count() + responseCode.count() + response.count() + validateProfileId.count() &lt;=1)"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="TestScript.Variable" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Descriptive name for this variable" definition="Descriptive name for this variable." comment="Placeholders would contain the variable name wrapped in ${} in &quot;operation.params&quot;, &quot;operation.requestHeader.value&quot;, and &quot;operation.url&quot; elements.  These placeholders would need to be replaced by the variable value before the operation is executed."/>
      <element name="defaultValue" elementType="FHIR.string" description="Default, hard-coded, or user-defined value for this variable" definition="A default, hard-coded, or user-defined value for this variable." comment="The purpose of this element is to allow for a pre-defined value that can be used as a default or as an override value. Test engines can optionally use this as a placeholder for user-defined execution time values."/>
      <element name="description" elementType="FHIR.string" description="Natural language description of the variable" definition="A free text natural language description of the variable and its purpose."/>
      <element name="expression" elementType="FHIR.string" description="The FHIRPath expression against the fixture body" definition="The FHIRPath expression to evaluate against the fixture body. When variables are defined, only one of either expression, headerField or path must be specified." comment="If headerField is defined, then the variable will be evaluated against the headers that sourceId is pointing to.  If expression or path is defined, then the variable will be evaluated against the fixture body that sourceId is pointing to.  It is an error to define any combination of expression, headerField and path."/>
      <element name="headerField" elementType="FHIR.string" description="HTTP header field name for source" definition="Will be used to grab the HTTP header field value from the headers that sourceId is pointing to." comment="If headerField is defined, then the variable will be evaluated against the headers that sourceId is pointing to.  If path is defined, then the variable will be evaluated against the fixture body that sourceId is pointing to.  It is an error to define both headerField and path."/>
      <element name="hint" elementType="FHIR.string" description="Hint help text for default value to enter" definition="Displayable text string with hint help information to the user when entering a default value."/>
      <element name="path" elementType="FHIR.string" description="XPath or JSONPath against the fixture body" definition="XPath or JSONPath to evaluate against the fixture body.  When variables are defined, only one of either expression, headerField or path must be specified." comment="If headerField is defined, then the variable will be evaluated against the headers that sourceId is pointing to.  If expression or path is defined, then the variable will be evaluated against the fixture body that sourceId is pointing to.  It is an error to define any combination of expression, headerField and path."/>
      <element name="sourceId" elementType="FHIR.id" description="Fixture Id of source expression or headerField within this variable" definition="Fixture to evaluate the XPath/JSONPath expression or the headerField  against within this variable." comment="This can be a statically defined fixture (at the top of the TestScript) or a dynamically set fixture created by responseId of the `action.operation` element."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="TestScriptRequestMethodCode" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="Timing" identifier="http://hl7.org/fhir/StructureDefinition/Timing" label="Timing" retrievable="false" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="event" description="When the event occurs" definition="Identifies specific times when the event occurs.">
         <elementTypeSpecifier elementType="FHIR.dateTime" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="repeat" elementType="FHIR.Timing.Repeat" description="When the event is to occur" definition="A set of rules that describe when the event is scheduled.">
         <constraint name="tim-9" severity="ERROR" message="If there's an offset, there must be a when (and not C, CM, CD, CV)">
            <expression language="text/fhirpath" expression="offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))"/>
         </constraint>
         <constraint name="tim-5" severity="ERROR" message="period SHALL be a non-negative value">
            <expression language="text/fhirpath" expression="period.exists() implies period >= 0"/>
         </constraint>
         <constraint name="tim-6" severity="ERROR" message="If there's a periodMax, there must be a period">
            <expression language="text/fhirpath" expression="periodMax.empty() or period.exists()"/>
         </constraint>
         <constraint name="tim-7" severity="ERROR" message="If there's a durationMax, there must be a duration">
            <expression language="text/fhirpath" expression="durationMax.empty() or duration.exists()"/>
         </constraint>
         <constraint name="tim-8" severity="ERROR" message="If there's a countMax, there must be a count">
            <expression language="text/fhirpath" expression="countMax.empty() or count.exists()"/>
         </constraint>
         <constraint name="tim-1" severity="ERROR" message="if there's a duration, there needs to be duration units">
            <expression language="text/fhirpath" expression="duration.empty() or durationUnit.exists()"/>
         </constraint>
         <constraint name="tim-10" severity="ERROR" message="If there's a timeOfDay, there cannot be a when, or vice versa">
            <expression language="text/fhirpath" expression="timeOfDay.empty() or when.empty()"/>
         </constraint>
         <constraint name="tim-2" severity="ERROR" message="if there's a period, there needs to be period units">
            <expression language="text/fhirpath" expression="period.empty() or periodUnit.exists()"/>
         </constraint>
         <constraint name="tim-4" severity="ERROR" message="duration SHALL be a non-negative value">
            <expression language="text/fhirpath" expression="duration.exists() implies duration >= 0"/>
         </constraint>
      </element>
      <element name="code" elementType="FHIR.CodeableConcept" description="BID | TID | QID | AM | PM | QD | QOD | +" definition="A code for the timing schedule (or just text in code.text). Some codes such as BID are ubiquitous, but many institutions define their own additional codes. If a code is provided, the code is understood to be a complete statement of whatever is specified in the structured timing data, and either the code or the data may be used to interpret the Timing, with the exception that .repeat.bounds still applies over the code (and is not contained in the code)." comment="BID etc. are defined as 'at institutionally specified times'. For example, an institution may choose that BID is &quot;always at 7am and 6pm&quot;.  If it is inappropriate for this choice to be made, the code BID should not be used. Instead, a distinct organization-specific code should be used in place of the HL7-defined BID code and/or a structured representation should be used (in this case, specifying the two event times).">
         <binding name="TimingAbbreviation" description="Code for a known / defined timing pattern." strength="Preferred"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Timing.Repeat" retrievable="false" xsi:type="ClassInfo">
      <element name="bounds" description="Length/Range of lengths, or (Start and/or end) limits" definition="Either a duration for the length of the timing schedule, a range of possible length, or outer bounds for start and/or end limits of the timing schedule.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Duration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Period" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="count" elementType="FHIR.positiveInt" description="Number of times to repeat" definition="A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values." comment="If you have both bounds and count, then this should be understood as within the bounds period, until count times happens."/>
      <element name="countMax" elementType="FHIR.positiveInt" description="Maximum number of times to repeat" definition="If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times."/>
      <element name="duration" elementType="FHIR.decimal" description="How long when it happens" definition="How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration." comment="For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise)."/>
      <element name="durationMax" elementType="FHIR.decimal" description="How long when it happens (Max)" definition="If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length." comment="For some events the duration is part of the definition of the event (e.g. IV infusions, where the duration is implicit in the specified quantity and rate). For others, it's part of the timing specification (e.g. exercise)."/>
      <element name="durationUnit" elementType="FHIR.UnitsOfTime" description="s | min | h | d | wk | mo | a - unit of time (UCUM)" definition="The units of time for the duration, in UCUM units.">
         <binding name="UnitsOfTime" description="A unit of time (units from UCUM)." strength="Required"/>
      </element>
      <element name="frequency" elementType="FHIR.positiveInt" description="Event occurs frequency times per period" definition="The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency."/>
      <element name="frequencyMax" elementType="FHIR.positiveInt" description="Event occurs up to frequencyMax times per period" definition="If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range."/>
      <element name="period" elementType="FHIR.decimal" description="Event occurs frequency times per period" definition="Indicates the duration of time over which repetitions are to occur; e.g. to express &quot;3 times per day&quot;, 3 would be the frequency and &quot;1 day&quot; would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length."/>
      <element name="periodMax" elementType="FHIR.decimal" description="Upper limit of period (3-4 hours)" definition="If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as &quot;do this once every 3-5 days."/>
      <element name="periodUnit" elementType="FHIR.UnitsOfTime" description="s | min | h | d | wk | mo | a - unit of time (UCUM)" definition="The units of time for the period in UCUM units.">
         <binding name="UnitsOfTime" description="A unit of time (units from UCUM)." strength="Required"/>
      </element>
      <element name="dayOfWeek" description="mon | tue | wed | thu | fri | sat | sun" definition="If one or more days of week is provided, then the action happens only on the specified day(s)." comment="If no days are specified, the action is assumed to happen every day as otherwise specified. The elements frequency and period cannot be used as well as dayOfWeek.">
         <elementTypeSpecifier elementType="FHIR.DayOfWeek" xsi:type="ListTypeSpecifier"/>
         <binding name="DayOfWeek" strength="Required"/>
      </element>
      <element name="timeOfDay" description="Time of day for action" definition="Specified time of day for action to take place." comment="When time of day is specified, it is inferred that the action happens every day (as filtered by dayofWeek) on the specified times. The elements when, frequency and period cannot be used as well as timeOfDay.">
         <elementTypeSpecifier elementType="FHIR.time" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="when" description="Code for time period of occurrence" definition="An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur." comment="When more than one event is listed, the event is tied to the union of the specified events.">
         <elementTypeSpecifier elementType="FHIR.EventTiming" xsi:type="ListTypeSpecifier"/>
         <binding name="EventTiming" description="Real world event relating to the schedule." strength="Required"/>
      </element>
      <element name="offset" elementType="FHIR.unsignedInt" description="Minutes from event (before or after)" definition="The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="TriggerDefinition" identifier="http://hl7.org/fhir/StructureDefinition/TriggerDefinition" label="TriggerDefinition" retrievable="false" xsi:type="ClassInfo">
      <element name="type" elementType="FHIR.TriggerType" description="named-event | periodic | data-changed | data-added | data-modified | data-removed | data-accessed | data-access-ended" definition="The type of triggering event.">
         <binding name="TriggerType" description="The type of trigger." strength="Required"/>
      </element>
      <element name="name" elementType="FHIR.string" description="Name or URI that identifies the event" definition="A formal name for the event. This may be an absolute URI that identifies the event formally (e.g. from a trigger registry), or a simple relative URI that identifies the event in a local context." comment="An event name can be provided for all event types, but is required for named events. If a name is provided for a type other than named events, it is considered to be a shorthand for the semantics described by the formal description of the event."/>
      <element name="timing" description="Timing of the event" definition="The timing of the event (if this is a periodic trigger).">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Timing" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="date" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="data" description="Triggering data of the event (multiple = 'and')" definition="The triggering data of the event (if this is a data trigger). If more than one data is requirement is specified, then all the data requirements must be true." comment="This element shall be present for any data type trigger.">
         <elementTypeSpecifier elementType="FHIR.DataRequirement" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="condition" elementType="FHIR.Expression" description="Whether the event triggers (boolean expression)" definition="A boolean-valued expression that is evaluated in the context of the container of the trigger definition and returns whether or not the trigger fires." comment="This element can be only be specified for data type triggers and provides additional semantics for the trigger. The context available within the condition is based on the type of data event. For all events, the current resource will be available as context. In addition, for modification events, the previous resource will also be available. The expression may be inlined, or may be a simple absolute URI, which is a reference to a named expression within a logic library referenced by a library element or extension within the containing resource. If the expression is a FHIR Path expression, it evaluates in the context of a resource of one of the type identified in the data requirement, and may also refer to the variable %previous for delta comparisons on events of type data-changed, data-modified, and data-deleted which will always have the same type."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="TriggerType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="TypeDerivationRule" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="TypeRestfulInteraction" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="UDIEntryType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="UnitsOfTime" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="UsageContext" identifier="http://hl7.org/fhir/StructureDefinition/UsageContext" label="UsageContext" retrievable="false" primaryCodePath="code" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.Coding" description="Type of context being specified" definition="A code that identifies the type of context being specified by this usage context.">
         <binding name="UsageContextType" description="A code that specifies a type of context being specified by a usage context." strength="Extensible"/>
      </element>
      <element name="value" description="Value that defines the context" definition="A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="CodeableConcept" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Quantity" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Range" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Reference" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
         <binding name="UsageContextValue" description="A code that defines the specific value for the context being specified." strength="Example"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="Use" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="ValueSet" identifier="http://hl7.org/fhir/StructureDefinition/ValueSet" label="ValueSet" retrievable="true" xsi:type="ClassInfo">
      <element name="url" elementType="FHIR.uri" description="Canonical identifier for this value set, represented as a URI (globally unique)" definition="An absolute URI that is used to identify this value set when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this value set is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the value set is stored on different servers." comment="Can be a urn:uuid: or a urn:oid: but real http: addresses are preferred.  Multiple instances may share the same URL if they have a distinct version.&#xa;&#xa;The 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). &#xa;&#xa;In 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."/>
      <element name="identifier" description="Additional identifier for the value set (business identifier)" definition="A formal identifier that is used to identify this value set when it is represented in other formats, or referenced in a specification, model, design or an instance." comment="Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this value set outside of FHIR, where it is not possible to use the logical URI.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="version" elementType="FHIR.string" description="Business version of the value set" definition="The identifier that is used to identify this version of the value set when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the value set author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence." comment="There may be different value set instances that have the same identifier but different versions.  The version can be appended to the url in a reference to allow a reference to a particular business version of the value set with the format [url]|[version]."/>
      <element name="name" elementType="FHIR.string" description="Name for this value set (computer friendly)" definition="A natural language name identifying the value set. 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.A name should be provided unless the value set is a contained resource (e.g. an anonymous value set in a profile). Most registries will require a name."/>
      <element name="title" elementType="FHIR.string" description="Name for this value set (human friendly)" definition="A short, descriptive, user-friendly title for the value set." comment="This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc."/>
      <element name="status" elementType="FHIR.PublicationStatus" description="draft | active | retired | unknown" definition="The status of this value set. Enables tracking the life-cycle of the content. The status of the value set applies to the value set definition (ValueSet.compose) and the associated ValueSet metadata. Expansions do not have a state." comment="Allows filtering of value sets that are appropriate for use versus not.See also the [valueset-workflowStatus](extension-valueset-workflowstatus.html) extension for additional status information related to the editorial process.">
         <binding name="PublicationStatus" description="The lifecycle status of an artifact." strength="Required"/>
      </element>
      <element name="experimental" elementType="FHIR.boolean" description="For testing purposes, not real usage" definition="A Boolean value to indicate that this value set is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." comment="Allows filtering of value sets that are appropriate for use versus not."/>
      <element name="date" elementType="FHIR.dateTime" description="Date last changed" definition="The date (and optionally time) when the value set was created or revised (e.g. the 'content logical definition')." comment="Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the value set. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource."/>
      <element name="publisher" elementType="FHIR.string" description="Name of the publisher (organization or individual)" definition="The name of the organization or individual that published the value set." comment="Usually an organization but may be an individual. The publisher (or steward) of the value set is the organization or individual primarily responsible for the maintenance and upkeep of the value set. 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 value set. This item SHOULD be populated unless the information is available from context."/>
      <element name="contact" description="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.">
         <elementTypeSpecifier elementType="FHIR.ContactDetail" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="description" elementType="FHIR.markdown" description="Natural language description of the value set" definition="A free text natural language description of the value set from a consumer's perspective. The textual description specifies the span of meanings for concepts to be included within the Value Set Expansion, and also may specify the intended use and limitations of the Value Set." comment="This description can be used to capture details such as why the value set 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 value set 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 value set is presumed to be the predominant language in the place the value set was created).The description is not intended to describe the semantics of the Value Set - there are no intrinsic semantics separate from the codes contained in its expansion. The description should capture its intended use, which is needed for ensuring integrity for its use in models across future changes. A description should be provided unless the value set is a contained resource (e.g. an anonymous value set in a profile). Most registries will require a description."/>
      <element name="useContext" description="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 value set instances." comment="When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.">
         <elementTypeSpecifier elementType="FHIR.UsageContext" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="jurisdiction" description="Intended jurisdiction for value set (if applicable)" definition="A legal or geographic region in which the value set is intended to be used." comment="It may be possible for the value set to be used in jurisdictions other than those for which it was originally designed or intended.">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="Jurisdiction" description="Countries and regions within which this artifact is targeted for use." strength="Extensible"/>
      </element>
      <element name="immutable" elementType="FHIR.boolean" description="Indicates whether or not any change to the content logical definition may occur" definition="If this is set to 'true', then no new versions of the content logical definition can be created.  Note: Other metadata might still change." comment="Normally immutability is set to 'false', which is the default assumption if it is not populated.  Note that the implication is that if this is set to 'true', there may be only one ValueSet version for this definition. Immutability tends to be set to 'true' in one of two cases: - Where the value set, by the nature of its usage, cannot change.  For example &quot;All specializations of ACT in ActClassCode&quot; - Where there's no safe way to express the &quot;Purpose&quot; such that someone else could safely make changes to the value set definition. Source workflow control must guarantee that the same URI always yields the same definition."/>
      <element name="purpose" elementType="FHIR.markdown" description="Why this value set is defined" definition="Explanation of why this value set is needed and why it has been designed as it has." comment="This element does not describe the usage of the value set. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is.  This may be used to point to source materials or specifications that drove the structure of this value set."/>
      <element name="copyright" elementType="FHIR.markdown" description="Use and/or publishing restrictions" definition="A copyright statement relating to the value set and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the value set." comment="nullFrequently, the copyright differs between the value set and the codes that are included. The copyright statement should clearly differentiate between these when required."/>
      <element name="compose" elementType="FHIR.ValueSet.Compose" description="Content logical definition of the value set (CLD)" definition="A set of criteria that define the contents of the value set by including or excluding codes selected from the specified code system(s) that the value set draws from. This is also known as the Content Logical Definition (CLD)."/>
      <element name="expansion" elementType="FHIR.ValueSet.Expansion" description="Used when the value set is &quot;expanded&quot;" definition="A value set can also be &quot;expanded&quot;, where the value set is turned into a simple collection of enumerated codes. This element holds the expansion, if it has been performed." comment="Expansion is performed to produce a collection of codes that are ready to use for data entry or validation. Value set expansions are always considered to be stateless - they are a record of the set of codes in the value set at a point in time under a given set of conditions, and are not subject to ongoing maintenance.&#xa;&#xa;Expansion.parameter is  a simplified list of parameters - a subset of the features of the [Parameters](parameters.html) resource."/>
      <search name="date" path="date" type="System.DateTime"/>
      <search name="description" path="description" type="System.String"/>
      <search name="code" path="expansion.contains.code|compose.include.concept.code" type="System.Code"/>
      <search name="url" path="url" type="System.String"/>
      <search name="reference" path="compose.include.system" type="System.String"/>
      <search name="context-type" path="useContext.code" type="System.Code"/>
      <search name="expansion" path="expansion.identifier" type="System.String"/>
      <search name="status" path="status" type="System.Code"/>
      <search name="title" path="title" type="System.String"/>
      <search name="publisher" path="publisher" type="System.String"/>
      <search name="name" path="name" type="System.String"/>
      <search name="jurisdiction" path="jurisdiction" type="System.Code"/>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="version" path="version" type="System.Code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ValueSet.Compose" retrievable="false" xsi:type="ClassInfo">
      <element name="lockedDate" elementType="FHIR.date" description="Fixed date for references with no specified version (transitive)" definition="The Locked Date is  the effective date that is used to determine the version of all referenced Code Systems and Value Set Definitions included in the compose that are not already tied to a specific version." comment="With a defined lockedDate the value set is considered &quot;Locked&quot;. Otherwise, the value set may have different expansions as underlying code systems and/or value sets evolve.  The interpretation of lockedDate is often dependent on the context - e.g. a SNOMED CT derived value set with a lockedDate will have a different expansion in USA than in UK.  If a value set specifies a version for include and exclude statements, and also specifies a locked date, the specified versions need to be available that date, or the value set will not be usable."/>
      <element name="inactive" elementType="FHIR.boolean" description="Whether inactive codes are in the value set" definition="Whether inactive codes - codes that are not approved for current use - are in the value set. If inactive = true, inactive codes are to be included in the expansion, if inactive = false, the inactive codes will not be included in the expansion. If absent, the behavior is determined by the implementation, or by the applicable $expand parameters (but generally, inactive codes would be expected to be included)." comment="Note that in the FHIR terminology framework, &quot;deprecated&quot; does not mean inactive, but in some code systems, e.g. LOINC, &quot;deprecated&quot; does mean inactive. Code systems should define what codes are considered to be inactive. If this is not clearly defined (including in the FHIR code system resource), then all codes are assumed to be active.&#xa;&#xa;The Value Set Definition specification defines an ActiveOnly element, which is the reverse of this element e.g. (ValueSet.compose.inactive=FALSE) is the same as (VSD.ActiveOnly=TRUE)."/>
      <element name="include" description="Include one or more codes from a code system or other value set(s)" definition="Include one or more codes from a code system or other value set(s)." comment="All the conditions in an include must be true. If a system is listed, all the codes from the system are listed. If one or more filters are listed, all of the filters must apply. If one or more value sets are listed, the codes must be in all the value sets. E.g. each include is 'include all the codes that meet all these conditions'.">
         <elementTypeSpecifier elementType="FHIR.ValueSet.Compose.Include" xsi:type="ListTypeSpecifier"/>
         <constraint name="vsd-2" severity="ERROR" message="A value set with concepts or filters SHALL include a system">
            <expression language="text/fhirpath" expression="(concept.exists() or filter.exists()) implies system.exists()"/>
         </constraint>
         <constraint name="vsd-3" severity="ERROR" message="Cannot have both concept and filter">
            <expression language="text/fhirpath" expression="concept.empty() or filter.empty()"/>
         </constraint>
         <constraint name="vsd-1" severity="ERROR" message="A value set include/exclude SHALL have a value set or a system">
            <expression language="text/fhirpath" expression="valueSet.exists() or system.exists()"/>
         </constraint>
      </element>
      <element name="exclude" description="Explicitly exclude codes from a code system or other value sets" definition="Exclude one or more codes from the value set based on code system filters and/or other value sets." comment="Usually this is used to selectively exclude codes that were included by subsumption in the inclusions. Any display names specified for the codes are ignored.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ValueSet.Compose.Include" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ValueSet.Compose.Include" retrievable="false" xsi:type="ClassInfo">
      <element name="system" elementType="FHIR.uri" description="The system the codes come from" definition="An absolute URI which is the code system from which the selected codes come from." comment="If there are no codes or filters, the entire code system is included. Note that the set of codes that are included may contain abstract codes. See ''Coding.system'' for further documentation about the correct value for the system element."/>
      <element name="version" elementType="FHIR.string" description="Specific version of the code system referred to" definition="The version of the code system that the codes are selected from, or the special version '*' for all versions." comment="This is used when selecting the descendants of a concept - they may change between versions. If no version is specified, then the exact contents of the value set might not be known until a context of use binds it to a particular version. The special value '*' means all versions; It is at server discretion regarding expansions and which versions must be supported."/>
      <element name="concept" description="A concept defined in the system" definition="Specifies a concept to be included or excluded." comment="The list of concepts is considered ordered, though the order might not have any particular significance. Typically, the order of an expansion follows that defined in the compose element.">
         <elementTypeSpecifier elementType="FHIR.ValueSet.Compose.Include.Concept" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="filter" description="Select codes/concepts by their properties (including relationships)" definition="Select concepts by specify a matching criterion based on the properties (including relationships) defined by the system, or on filters defined by the system. If multiple filters are specified, they SHALL all be true." comment="Selecting codes by specifying filters based on properties is only possible where the underlying code system defines appropriate properties. Note that in some cases, the underlying code system defines the logical concepts but not the literal codes for the concepts. In such cases, the literal definitions may be provided by a third party.">
         <elementTypeSpecifier elementType="FHIR.ValueSet.Compose.Include.Filter" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="valueSet" description="Select the contents included in this value set" definition="Selects the concepts found in this value set (based on its value set definition). This is an absolute URI that is a reference to ValueSet.url.  If multiple value sets are specified this includes the union of the contents of all of the referenced value sets." comment="The value set URI is either a logical reference to a defined value set such as a [SNOMED CT reference set](snomedct.html#implicit), or a direct reference to a value set definition using ValueSet.url. The reference might not refer to an actual FHIR ValueSet resource; in this case, whatever is referred to is an implicit definition of a value set that needs to be clear about how versions are resolved.">
         <elementTypeSpecifier elementType="FHIR.canonical" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ValueSet.Compose.Include.Concept" retrievable="false" xsi:type="ClassInfo">
      <element name="code" elementType="FHIR.code" description="Code or expression from system" definition="Specifies a code for the concept to be included or excluded." comment="Expressions are allowed if defined by the underlying code system."/>
      <element name="display" elementType="FHIR.string" description="Text to display for this code for this value set in this valueset" definition="The text to display to the user for this concept in the context of this valueset. If no display is provided, then applications using the value set use the display specified for the code by the system." comment="The value set resource allows for an alternative display to be specified for when this concept is used in this particular value set. See notes in the value set narrative about the correct use of this element."/>
      <element name="designation" description="Additional representations for this concept" definition="Additional representations for this concept when used in this value set - other languages, aliases, specialized purposes, used for particular purposes, etc." comment="Concepts have both a ```display``` and an array of ```designation```. The display is equivalent to a special designation with an implied ```designation.use``` of &quot;primary code&quot; and a language equal to the [Resource Language](resource.html#language).">
         <elementTypeSpecifier elementType="FHIR.ValueSet.Compose.Include.Concept.Designation" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ValueSet.Compose.Include.Concept.Designation" retrievable="false" xsi:type="ClassInfo">
      <element name="language" elementType="FHIR.code" description="Human language of the designation" definition="The language this designation is defined for." comment="In the absence of a language, the resource language applies.">
         <binding name="Language" description="A human language." strength="Preferred"/>
      </element>
      <element name="use" elementType="FHIR.Coding" description="Types of uses of designations" definition="A code that represents types of uses of designations." comment="If no use is provided, the designation can be assumed to be suitable for general display to a human user.">
         <binding name="ConceptDesignationUse" description="Details of how a designation would be used." strength="Extensible"/>
      </element>
      <element name="value" elementType="FHIR.string" description="The text value for this designation" definition="The text value for this designation."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ValueSet.Compose.Include.Filter" retrievable="false" xsi:type="ClassInfo">
      <element name="property" elementType="FHIR.code" description="A property/filter defined by the code system" definition="A code that identifies a property or a filter defined in the code system."/>
      <element name="op" elementType="FHIR.FilterOperator" description="= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | exists" definition="The kind of operation to perform as a part of the filter criteria." comment="In case filter.property represents a property of the system, the operation applies to the selected property. In case filter.property represents a filter of the system, the operation SHALL match one of the CodeSystem.filter.operator values.">
         <binding name="FilterOperator" description="The kind of operation to perform as a part of a property based filter." strength="Required"/>
      </element>
      <element name="value" elementType="FHIR.string" description="Code from the system, or regex criteria, or boolean value for exists" definition="The match value may be either a code defined by the system, or a string value, which is a regex match on the literal string of the property value  (if the filter represents a property defined in CodeSystem) or of the system filter value (if the filter represents a filter defined in CodeSystem) when the operation is 'regex', or one of the values (true and false), when the operation is 'exists'." comment="Use regex matching with care - full regex matching on every SNOMED CT term is prohibitive, for example."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ValueSet.Expansion" retrievable="false" xsi:type="ClassInfo">
      <element name="identifier" elementType="FHIR.uri" description="Identifies the value set expansion (business identifier)" definition="An identifier that uniquely identifies this expansion of the valueset, based on a unique combination of the provided parameters, the system default parameters, and the underlying system code system versions etc. Systems may re-use the same identifier as long as those factors remain the same, and the expansion is the same, but are not required to do so. This is a business identifier." comment="Typically, this uri is a UUID (e.g. urn:uuid:8230ff20-c97a-4167-a59d-dc2cb9df16dd)."/>
      <element name="timestamp" elementType="FHIR.dateTime" description="Time ValueSet expansion happened" definition="The time at which the expansion was produced by the expanding system." comment="This SHOULD be a fully populated instant, but in some circumstances, value sets are expanded by hand, and the expansion is published without that precision."/>
      <element name="total" elementType="FHIR.integer" description="Total number of codes in the expansion" definition="The total number of concepts in the expansion. If the number of concept nodes in this resource is less than the stated number, then the server can return more using the offset parameter." comment="Paging only applies to flat expansions."/>
      <element name="offset" elementType="FHIR.integer" description="Offset at which this resource starts" definition="If paging is being used, the offset at which this resource starts.  I.e. this resource is a partial view into the expansion. If paging is not being used, this element SHALL NOT be present." comment="Paging only applies to flat expansions. If a filter is applied, the count is the number of concepts that matched the filter, not the number of concepts in an unfiltered view of the expansion."/>
      <element name="parameter" description="Parameter that controlled the expansion process" definition="A parameter that controlled the expansion process. These parameters may be used by users of expanded value sets to check whether the expansion is suitable for a particular purpose, or to pick the correct expansion." comment="The server decides which parameters to include here, but at a minimum, the list SHOULD include all of the parameters that affect the $expand operation. If the expansion will be persisted all of these parameters SHALL be included. If the codeSystem on the server has a specified version then this version SHALL be provided as a parameter in the expansion (note that not all code systems have a version).">
         <elementTypeSpecifier elementType="FHIR.ValueSet.Expansion.Parameter" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="contains" description="Codes in the value set" definition="The codes that are contained in the value set expansion.">
         <elementTypeSpecifier elementType="FHIR.ValueSet.Expansion.Contains" xsi:type="ListTypeSpecifier"/>
         <constraint name="vsd-6" severity="ERROR" message="SHALL have a code or a display">
            <expression language="text/fhirpath" expression="code.exists() or display.exists()"/>
         </constraint>
         <constraint name="vsd-9" severity="ERROR" message="Must have a code if not abstract">
            <expression language="text/fhirpath" expression="code.exists() or abstract = true"/>
         </constraint>
         <constraint name="vsd-10" severity="ERROR" message="Must have a system if a code is present">
            <expression language="text/fhirpath" expression="code.empty() or system.exists()"/>
         </constraint>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ValueSet.Expansion.Contains" retrievable="false" xsi:type="ClassInfo">
      <element name="system" elementType="FHIR.uri" description="System value for the code" definition="An absolute URI which is the code system in which the code for this item in the expansion is defined."/>
      <element name="abstract" elementType="FHIR.boolean" description="If user cannot select this entry" definition="If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value." comment="This should not be understood to exclude its use for searching (e.g. by subsumption testing). The client should know whether it is appropriate for the user to select an abstract code or not."/>
      <element name="inactive" elementType="FHIR.boolean" description="If concept is inactive in the code system" definition="If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether an concept is inactive (and it may depend on the context of use)." comment="This should only have a value if the concept is inactive."/>
      <element name="version" elementType="FHIR.string" description="Version in which this code/display is defined" definition="The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." comment="The exact value of the version string is specified by the system from which the code is derived."/>
      <element name="code" elementType="FHIR.code" description="Code - if blank, this is not a selectable code" definition="The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set."/>
      <element name="display" elementType="FHIR.string" description="User display for the concept" definition="The recommended display for this item in the expansion."/>
      <element name="designation" description="Additional representations for this item" definition="Additional representations for this item - other languages, aliases, specialized purposes, used for particular purposes, etc. These are relevant when the conditions of the expansion do not fix to a single correct representation." comment="The designations provided must be based on the value set and code system definitions.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ValueSet.Compose.Include.Concept.Designation" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
      <element name="contains" description="Codes contained under this entry" definition="Other codes and entries contained under this entry in the hierarchy." comment="If the expansion uses this element, there is  no implication about the logical relationship between them, and the  structure cannot be used for logical inferencing. The structure  exists to provide navigational assistance for helping human users to  locate codes in the expansion.">
         <elementTypeSpecifier xsi:type="ListTypeSpecifier">
            <elementTypeSpecifier namespace="FHIR" name="ValueSet.Expansion.Contains" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="ValueSet.Expansion.Parameter" retrievable="false" xsi:type="ClassInfo">
      <element name="name" elementType="FHIR.string" description="Name as assigned by the client or server" definition="Name of the input parameter to the $expand operation; may be a server-assigned name for additional default or other server-supplied parameters used to control the expansion process." comment="The names are assigned at the discretion of the server."/>
      <element name="value" description="Value of the named parameter" definition="The value of the parameter.">
         <elementTypeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="string" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="boolean" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="integer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="decimal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="uri" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="code" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="dateTime" xsi:type="NamedTypeSpecifier"/>
         </elementTypeSpecifier>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="VariableType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="VerificationResult" identifier="http://hl7.org/fhir/StructureDefinition/VerificationResult" label="VerificationResult" retrievable="true" xsi:type="ClassInfo">
      <element name="target" description="A resource that was validated" definition="A resource that was validated.">
         <elementTypeSpecifier elementType="FHIR.Reference" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="targetLocation" description="The fhirpath location(s) within the resource that was validated" definition="The fhirpath location(s) within the resource that was validated.">
         <elementTypeSpecifier elementType="FHIR.string" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="need" elementType="FHIR.CodeableConcept" description="none | initial | periodic" definition="The frequency with which the target must be validated (none; initial; periodic).">
         <binding name="need" description="The frequency with which the target must be validated." strength="Preferred"/>
      </element>
      <element name="status" elementType="FHIR.Status" description="attested | validated | in-process | req-revalid | val-fail | reval-fail" definition="The validation status of the target (attested; validated; in process; requires revalidation; validation failed; revalidation failed).">
         <binding name="status" description="The validation status of the target." strength="Required"/>
      </element>
      <element name="statusDate" elementType="FHIR.dateTime" description="When the validation status was updated" definition="When the validation status was updated."/>
      <element name="validationType" elementType="FHIR.CodeableConcept" description="nothing | primary | multiple" definition="What the target is validated against (nothing; primary source; multiple sources).">
         <binding name="validation-type" description="What the target is validated against." strength="Preferred"/>
      </element>
      <element name="validationProcess" description="The primary process by which the target is validated (edit check; value set; primary source; multiple sources; standalone; in context)" definition="The primary process by which the target is validated (edit check; value set; primary source; multiple sources; standalone; in context).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="validation-process" description="The primary process by which the target is validated." strength="Example"/>
      </element>
      <element name="frequency" elementType="FHIR.Timing" description="Frequency of revalidation" definition="Frequency of revalidation."/>
      <element name="lastPerformed" elementType="FHIR.dateTime" description="The date/time validation was last completed (including failed validations)" definition="The date/time validation was last completed (including failed validations)."/>
      <element name="nextScheduled" elementType="FHIR.date" description="The date when target is next validated, if appropriate" definition="The date when target is next validated, if appropriate."/>
      <element name="failureAction" elementType="FHIR.CodeableConcept" description="fatal | warn | rec-only | none" definition="The result if validation fails (fatal; warning; record only; none).">
         <binding name="failure-action" description="The result if validation fails." strength="Preferred"/>
      </element>
      <element name="primarySource" description="Information about the primary source(s) involved in validation" definition="Information about the primary source(s) involved in validation.">
         <elementTypeSpecifier elementType="FHIR.VerificationResult.PrimarySource" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="attestation" elementType="FHIR.VerificationResult.Attestation" description="Information about the entity attesting to information" definition="Information about the entity attesting to information."/>
      <element name="validator" description="Information about the entity validating information" definition="Information about the entity validating information.">
         <elementTypeSpecifier elementType="FHIR.VerificationResult.Validator" xsi:type="ListTypeSpecifier"/>
      </element>
      <search name="target" path="target">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Account" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ActivityDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AdverseEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AllergyIntolerance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Appointment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AppointmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="AuditEvent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Basic" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Binary" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BiologicallyDerivedProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="BodyStructure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Bundle" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CapabilityStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CarePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CareTeam" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CatalogEntry" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ChargeItemDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Claim" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClaimResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ClinicalImpression" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CodeSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Communication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CommunicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CompartmentDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Composition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ConceptMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Condition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Consent" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Contract" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Coverage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="CoverageEligibilityResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DetectedIssue" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Device" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceMetric" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DeviceUseStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DiagnosticReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentManifest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="DocumentReference" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EffectEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Endpoint" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EnrollmentResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EventDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Evidence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EvidenceVariable" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExampleScenario" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ExplanationOfBenefit" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="FamilyMemberHistory" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Flag" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Goal" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GraphDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="GuidanceResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="HealthcareService" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImagingStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Immunization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationEvaluation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImmunizationRecommendation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ImplementationGuide" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="InsurancePlan" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Invoice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Library" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Linkage" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="List" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Location" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Measure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MeasureReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Media" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Medication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationAdministration" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationDispense" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationKnowledge" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicationStatement" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProduct" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductAuthorization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductContraindication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIndication" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductIngredient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductInteraction" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductManufactured" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPackaged" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductPharmaceutical" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MedicinalProductUndesirableEffect" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MessageHeader" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="MolecularSequence" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NamingSystem" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="NutritionOrder" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Observation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ObservationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OperationOutcome" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Organization" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="OrganizationAffiliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentNotice" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PaymentReconciliation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Person" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PlanDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Procedure" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Provenance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Questionnaire" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="QuestionnaireResponse" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RelatedPerson" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RequestGroup" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchElementDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchStudy" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ResearchSubject" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskAssessment" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="RiskEvidenceSynthesis" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Schedule" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SearchParameter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ServiceRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Slot" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Specimen" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SpecimenDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureDefinition" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="StructureMap" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Subscription" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Substance" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceNucleicAcid" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstancePolymer" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceProtein" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceReferenceInformation" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSourceMaterial" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SubstanceSpecification" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyDelivery" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="SupplyRequest" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Task" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TerminologyCapabilities" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestReport" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="TestScript" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="ValueSet" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VerificationResult" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="VisionPrescription" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="VerificationResult.Attestation" retrievable="false" xsi:type="ClassInfo">
      <element name="who" elementType="FHIR.Reference" description="The individual or organization attesting to information" definition="The individual or organization attesting to information."/>
      <element name="onBehalfOf" elementType="FHIR.Reference" description="When the who is asserting on behalf of another (organization or individual)" definition="When the who is asserting on behalf of another (organization or individual)."/>
      <element name="communicationMethod" elementType="FHIR.CodeableConcept" description="The method by which attested information was submitted/retrieved" definition="The method by which attested information was submitted/retrieved (manual; API; Push).">
         <binding name="communication-method" description="Method for communicating with the data source (manual; API; Push)." strength="Example"/>
      </element>
      <element name="date" elementType="FHIR.date" description="The date the information was attested to" definition="The date the information was attested to."/>
      <element name="sourceIdentityCertificate" elementType="FHIR.string" description="A digital identity certificate associated with the attestation source" definition="A digital identity certificate associated with the attestation source."/>
      <element name="proxyIdentityCertificate" elementType="FHIR.string" description="A digital identity certificate associated with the proxy entity submitting attested information on behalf of the attestation source" definition="A digital identity certificate associated with the proxy entity submitting attested information on behalf of the attestation source."/>
      <element name="proxySignature" elementType="FHIR.Signature" description="Proxy signature" definition="Signed assertion by the proxy entity indicating that they have the right to submit attested information on behalf of the attestation source."/>
      <element name="sourceSignature" elementType="FHIR.Signature" description="Attester signature" definition="Signed assertion by the attestation source that they have attested to the information."/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="VerificationResult.PrimarySource" retrievable="false" xsi:type="ClassInfo">
      <element name="who" elementType="FHIR.Reference" description="Reference to the primary source" definition="Reference to the primary source."/>
      <element name="type" description="Type of primary source (License Board; Primary Education; Continuing Education; Postal Service; Relationship owner; Registration Authority; legal source; issuing source; authoritative source)" definition="Type of primary source (License Board; Primary Education; Continuing Education; Postal Service; Relationship owner; Registration Authority; legal source; issuing source; authoritative source).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="primary-source-type" description="Type of the validation primary source." strength="Example"/>
      </element>
      <element name="communicationMethod" description="Method for exchanging information with the primary source" definition="Method for communicating with the primary source (manual; API; Push).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="communication-method" description="Method for communicating with the data source (manual; API; Push)." strength="Example"/>
      </element>
      <element name="validationStatus" elementType="FHIR.CodeableConcept" description="successful | failed | unknown" definition="Status of the validation of the target against the primary source (successful; failed; unknown).">
         <binding name="validation-status" description="Status of the validation of the target against the primary source." strength="Preferred"/>
      </element>
      <element name="validationDate" elementType="FHIR.dateTime" description="When the target was validated against the primary source" definition="When the target was validated against the primary source."/>
      <element name="canPushUpdates" elementType="FHIR.CodeableConcept" description="yes | no | undetermined" definition="Ability of the primary source to push updates/alerts (yes; no; undetermined).">
         <binding name="can-push-updates" description="Ability of the primary source to push updates/alerts." strength="Preferred"/>
      </element>
      <element name="pushTypeAvailable" description="specific | any | source" definition="Type of alerts/updates the primary source can send (specific requested changes; any changes; as defined by source).">
         <elementTypeSpecifier elementType="FHIR.CodeableConcept" xsi:type="ListTypeSpecifier"/>
         <binding name="push-type-available" description="Type of alerts/updates the primary source can send." strength="Preferred"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="VerificationResult.Validator" retrievable="false" xsi:type="ClassInfo">
      <element name="organization" elementType="FHIR.Reference" description="Reference to the organization validating information" definition="Reference to the organization validating information."/>
      <element name="identityCertificate" elementType="FHIR.string" description="A digital identity certificate associated with the validator" definition="A digital identity certificate associated with the validator."/>
      <element name="attestationSignature" elementType="FHIR.Signature" description="Validator signature" definition="Signed assertion by the validator that they have validated the information."/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="VisionBase" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="VisionEyes" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.DomainResource" namespace="FHIR" name="VisionPrescription" identifier="http://hl7.org/fhir/StructureDefinition/VisionPrescription" label="VisionPrescription" retrievable="true" xsi:type="ClassInfo">
      <element name="identifier" description="Business Identifier for vision prescription" definition="A unique identifier assigned to this vision prescription.">
         <elementTypeSpecifier elementType="FHIR.Identifier" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="status" elementType="FHIR.VisionStatus" description="active | cancelled | draft | entered-in-error" definition="The status of the resource instance." comment="This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.">
         <binding name="VisionStatus" description="A code specifying the state of the resource instance." strength="Required"/>
      </element>
      <element name="created" elementType="FHIR.dateTime" description="Response creation date" definition="The date this resource was created."/>
      <element name="patient" elementType="FHIR.Reference" description="Who prescription is for" definition="A resource reference to the person to whom the vision prescription applies."/>
      <element name="encounter" elementType="FHIR.Reference" description="Created during encounter / admission / stay" definition="A reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued."/>
      <element name="dateWritten" elementType="FHIR.dateTime" description="When prescription was authorized" definition="The date (and perhaps time) when the prescription was written." comment="Jurisdictions determine the valid lifetime of a prescription. Typically vision prescriptions are valid for two years from the date written."/>
      <element name="prescriber" elementType="FHIR.Reference" description="Who authorized the vision prescription" definition="The healthcare professional responsible for authorizing the prescription."/>
      <element name="lensSpecification" description="Vision lens authorization" definition="Contain the details of  the individual lens specifications and serves as the authorization for the fullfillment by certified professionals.">
         <elementTypeSpecifier elementType="FHIR.VisionPrescription.LensSpecification" xsi:type="ListTypeSpecifier"/>
      </element>
      <contextRelationship context="Practitioner" relatedKeyElement="prescriber"/>
      <contextRelationship context="Patient" relatedKeyElement="patient"/>
      <contextRelationship context="Encounter" relatedKeyElement="encounter"/>
      <search name="prescriber" path="prescriber">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Practitioner" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="PractitionerRole" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="identifier" path="identifier" type="System.Code"/>
      <search name="encounter" path="encounter">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Encounter" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="EpisodeOfCare" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="patient" path="patient">
         <typeSpecifier xsi:type="ChoiceTypeSpecifier">
            <choice namespace="FHIR" name="Patient" xsi:type="NamedTypeSpecifier"/>
            <choice namespace="FHIR" name="Group" xsi:type="NamedTypeSpecifier"/>
         </typeSpecifier>
      </search>
      <search name="status" path="status" type="System.Code"/>
      <search name="datewritten" path="dateWritten" type="System.DateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="VisionPrescription.LensSpecification" retrievable="false" xsi:type="ClassInfo">
      <element name="product" elementType="FHIR.CodeableConcept" description="Product to be supplied" definition="Identifies the type of vision correction product which is required for the patient.">
         <binding name="VisionProduct" description="A coded concept describing the vision products." strength="Example"/>
      </element>
      <element name="eye" elementType="FHIR.VisionEyes" description="right | left" definition="The eye for which the lens specification applies." comment="May also appear as OD (oculus dexter) for the right eye and OS (oculus siniter) for the left eye.">
         <binding name="VisionEyes" description="A coded concept listing the eye codes." strength="Required"/>
      </element>
      <element name="sphere" elementType="FHIR.decimal" description="Power of the lens" definition="Lens power measured in dioptres (0.25 units)." comment="The value is negative for near-sighted and positive for far sighted.&#xa;Often insurance will not cover a lens with power between +75 and -75."/>
      <element name="cylinder" elementType="FHIR.decimal" description="Lens power for astigmatism" definition="Power adjustment for astigmatism measured in dioptres (0.25 units)."/>
      <element name="axis" elementType="FHIR.integer" description="Lens meridian which contain no power for astigmatism" definition="Adjustment for astigmatism measured in integer degrees." comment="The limits are +180 and -180 degrees."/>
      <element name="prism" description="Eye alignment compensation" definition="Allows for adjustment on two axis.">
         <elementTypeSpecifier elementType="FHIR.VisionPrescription.LensSpecification.Prism" xsi:type="ListTypeSpecifier"/>
      </element>
      <element name="add" elementType="FHIR.decimal" description="Added power for multifocal levels" definition="Power adjustment for multifocal lenses measured in dioptres (0.25 units)."/>
      <element name="power" elementType="FHIR.decimal" description="Contact lens power" definition="Contact lens power measured in dioptres (0.25 units)."/>
      <element name="backCurve" elementType="FHIR.decimal" description="Contact lens back curvature" definition="Back curvature measured in millimetres."/>
      <element name="diameter" elementType="FHIR.decimal" description="Contact lens diameter" definition="Contact lens diameter measured in millimetres."/>
      <element name="duration" elementType="FHIR.SimpleQuantity" description="Lens wear duration" definition="The recommended maximum wear period for the lens."/>
      <element name="color" elementType="FHIR.string" description="Color required" definition="Special color or pattern."/>
      <element name="brand" elementType="FHIR.string" description="Brand required" definition="Brand recommendations or restrictions."/>
      <element name="note" description="Notes for coatings" definition="Notes for special requirements such as coatings and lens materials.">
         <elementTypeSpecifier elementType="FHIR.Annotation" xsi:type="ListTypeSpecifier"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.BackboneElement" namespace="FHIR" name="VisionPrescription.LensSpecification.Prism" retrievable="false" xsi:type="ClassInfo">
      <element name="amount" elementType="FHIR.decimal" description="Amount of adjustment" definition="Amount of prism to compensate for eye alignment in fractional units."/>
      <element name="base" elementType="FHIR.VisionBase" description="up | down | in | out" definition="The relative base, or reference lens edge, for the prism.">
         <binding name="VisionBase" description="A coded concept listing the base codes." strength="Required"/>
      </element>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="VisionStatus" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="XPathUsageType" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="base64Binary" identifier="http://hl7.org/fhir/StructureDefinition/base64Binary" label="base64Binary" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String" description="Primitive value for base64Binary" definition="Primitive value for base64Binary"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="boolean" identifier="http://hl7.org/fhir/StructureDefinition/boolean" label="boolean" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.Boolean" description="Primitive value for boolean" definition="Primitive value for boolean"/>
   </typeInfo>
   <typeInfo baseType="FHIR.uri" namespace="FHIR" name="canonical" identifier="http://hl7.org/fhir/StructureDefinition/canonical" label="canonical" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String" description="Primitive value for canonical" definition="Primitive value for canonical"/>
   </typeInfo>
   <typeInfo baseType="FHIR.string" namespace="FHIR" name="code" identifier="http://hl7.org/fhir/StructureDefinition/code" label="code" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String" description="Primitive value for code" definition="Primitive value for code"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="date" identifier="http://hl7.org/fhir/StructureDefinition/date" label="date" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.Date" description="Primitive value for date" definition="Primitive value for date"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="dateTime" identifier="http://hl7.org/fhir/StructureDefinition/dateTime" label="dateTime" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.DateTime" description="Primitive value for dateTime" definition="Primitive value for dateTime"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="decimal" identifier="http://hl7.org/fhir/StructureDefinition/decimal" label="decimal" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.Decimal" description="Primitive value for decimal" definition="Primitive value for decimal"/>
   </typeInfo>
   <typeInfo baseType="FHIR.string" namespace="FHIR" name="id" identifier="http://hl7.org/fhir/StructureDefinition/id" label="id" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String" description="Primitive value for id" definition="Primitive value for id"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="instant" identifier="http://hl7.org/fhir/StructureDefinition/instant" label="instant" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.DateTime" description="Primitive value for instant" definition="Primitive value for instant"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="integer" identifier="http://hl7.org/fhir/StructureDefinition/integer" label="integer" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.Integer" description="Primitive value for integer" definition="Primitive value for integer"/>
   </typeInfo>
   <typeInfo baseType="FHIR.string" namespace="FHIR" name="markdown" identifier="http://hl7.org/fhir/StructureDefinition/markdown" label="markdown" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String" description="Primitive value for markdown" definition="Primitive value for markdown"/>
   </typeInfo>
   <typeInfo baseType="FHIR.uri" namespace="FHIR" name="oid" identifier="http://hl7.org/fhir/StructureDefinition/oid" label="oid" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String" description="Primitive value for oid" definition="Primitive value for oid"/>
   </typeInfo>
   <typeInfo baseType="FHIR.integer" namespace="FHIR" name="positiveInt" identifier="http://hl7.org/fhir/StructureDefinition/positiveInt" label="positiveInt" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.Integer" description="Primitive value for positiveInt" definition="Primitive value for positiveInt"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="string" identifier="http://hl7.org/fhir/StructureDefinition/string" label="string" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String" description="Primitive value for string" definition="Primitive value for string"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="time" identifier="http://hl7.org/fhir/StructureDefinition/time" label="time" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.Time" description="Primitive value for time" definition="Primitive value for time"/>
   </typeInfo>
   <typeInfo baseType="FHIR.integer" namespace="FHIR" name="unsignedInt" identifier="http://hl7.org/fhir/StructureDefinition/unsignedInt" label="unsignedInt" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.Integer" description="Primitive value for unsignedInt" definition="Primitive value for unsignedInt"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="uri" identifier="http://hl7.org/fhir/StructureDefinition/uri" label="uri" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String" description="Primitive value for uri" definition="Primitive value for uri"/>
   </typeInfo>
   <typeInfo baseType="FHIR.uri" namespace="FHIR" name="url" identifier="http://hl7.org/fhir/StructureDefinition/url" label="url" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String" description="Primitive value for url" definition="Primitive value for url"/>
   </typeInfo>
   <typeInfo baseType="FHIR.uri" namespace="FHIR" name="uuid" identifier="http://hl7.org/fhir/StructureDefinition/uuid" label="uuid" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String" description="Primitive value for uuid" definition="Primitive value for uuid"/>
   </typeInfo>
   <typeInfo baseType="FHIR.Element" namespace="FHIR" name="xhtml" identifier="http://hl7.org/fhir/StructureDefinition/xhtml" label="xhtml" retrievable="false" xsi:type="ClassInfo">
      <element name="value" elementType="System.String" description="Actual xhtml" definition="Actual xhtml"/>
   </typeInfo>
   <conversionInfo functionName="FHIRHelpers.ToCode" fromType="FHIR.Coding" toType="System.Code"/>
   <conversionInfo functionName="FHIRHelpers.ToConcept" fromType="FHIR.CodeableConcept" toType="System.Concept"/>
   <conversionInfo functionName="FHIRHelpers.ToQuantity" fromType="FHIR.Quantity" toType="System.Quantity"/>
   <conversionInfo functionName="FHIRHelpers.ToInterval" fromType="FHIR.Period" toType="Interval&lt;System.DateTime>"/>
   <conversionInfo functionName="FHIRHelpers.ToInterval" fromType="FHIR.Range" toType="Interval&lt;System.Quantity>"/>
   <conversionInfo functionName="FHIRHelpers.ToRatio" fromType="FHIR.Ratio" toType="System.Ratio"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EnrollmentRequestStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.TestScriptRequestMethodCode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SortDirection" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.BiologicallyDerivedProductStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.UnitsOfTime" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AddressType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AllergyIntoleranceCategory" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.IssueSeverity" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CareTeamStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.StructureDefinitionKind" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EncounterStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.PublicationStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.FHIRVersion" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CarePlanActivityKind" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.StructureMapSourceListMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.RequestStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.QuestionnaireResponseStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SearchComparator" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ChargeItemStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.xhtml" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ActionParticipantType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AllergyIntoleranceType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.InvoiceStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CarePlanActivityStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ParticipationStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DeviceNameType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DocumentMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AssertionOperatorType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DaysOfWeek" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.IssueType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.StructureMapContextType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.FamilyHistoryStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ExtensionContextType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CommunicationStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AssertionResponseTypes" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.RequestIntent" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EnrollmentResponseStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.string" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ActionRequiredBehavior" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.GraphCompartmentUse" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AccountStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MedicationDispenseStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ParameterUse" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ClaimStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.IdentifierUse" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.StructureMapTargetListMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ExposureState" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.TestReportParticipantType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.BindingStrength" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.RequestPriority" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MimeType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.QualityType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ParticipantRequired" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.XPathUsageType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CoverageStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.FilterOperator" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.NamingSystemType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ResearchSubjectStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.StructureMapTransform" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ResponseType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToDecimal" fromType="FHIR.decimal" toType="System.Decimal"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AggregationMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SystemRestfulInteraction" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.Messageheader_Response_Request" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.NutritiionOrderIntent" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MedicationKnowledgeStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AdverseEventActuality" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SubscriptionChannelType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ActivityDefinitionKind" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AssertionDirectionType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CarePlanIntent" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ConsentState" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AllergyIntoleranceCriticality" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MedicationRequestPriority" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.PropertyRepresentation" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.TriggerType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CompositionStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AppointmentStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MessageSignificanceCategory" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ListMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ResearchElementType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.TaskPriority" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ObservationStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.PaymentNoticeStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ResourceType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.PaymentReconciliationStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToBoolean" fromType="FHIR.boolean" toType="System.Boolean"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.StructureMapGroupTypeMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.OrientationType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SupplyRequestStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EncounterLocationStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CommunicationPriority" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CarePlanStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ConditionalDeleteStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ContractPublicationStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.NutritionOrderStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ImmunizationStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.uri" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.Use" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.IdentityAssuranceLevel" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DeviceMetricColor" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToTime" fromType="FHIR.time" toType="System.Time"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ConditionalReadStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AllergyIntoleranceSeverity" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.OperationKind" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SubscriptionStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.GoalLifecycleStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ObservationDataType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DocumentReferenceStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.LocationStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SectionMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.NoteType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.TestReportStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CodeSystemContentMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.FHIRDeviceStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ContactPointSystem" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SlotStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.PropertyType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DeviceRequestStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.TypeDerivationRule" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.GuidanceResponseStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.RelatedArtifactType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SequenceType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ReferredDocumentStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MediaStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CompartmentType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.InvoicePriceComponentType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DeviceMetricCalibrationState" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.GroupType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EnableWhenBehavior" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.TaskIntent" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ImmunizationEvaluationStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToDate" fromType="FHIR.date" toType="System.Date"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ExampleScenarioActorType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ProvenanceEntityRole" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EligibilityRequestStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SpecimenStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CurrencyCode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.RestfulCapabilityMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DetectedIssueSeverity" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.VisionEyes" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.VisionStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ConsentDataMeaning" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.GuidePageGeneration" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DocumentRelationshipType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ClaimResponseStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.VariableType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.RepositoryType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.TestReportResult" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ConceptMapGroupUnmappedMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToDateTime" fromType="FHIR.instant" toType="System.DateTime"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ClinicalImpressionStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EligibilityResponsePurpose" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.NarrativeStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ImagingStudyStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EndpointStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.BiologicallyDerivedProductCategory" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MedicationRequestStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ResourceVersionPolicy" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToDateTime" fromType="FHIR.dateTime" toType="System.DateTime"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MedicationAdministrationStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ActionCardinalityBehavior" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MedicationRequestIntent" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.GroupMeasure" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.NamingSystemIdentifierType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.FHIRResourceType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.RiskAssessmentStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CompartmentCode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DiscriminatorType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.StructureMapInputMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.LinkageType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ReferenceHandlingPolicy" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MedicationStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ResearchStudyStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.FHIRDefinedType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AuditEventOutcome" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SpecimenContainedPreference" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ActionRelationshipType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ConstraintSeverity" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ProcedureStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EventCapabilityMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CodeSearchSupport" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ObservationRangeCategory" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.UDIEntryType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DeviceMetricCategory" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.TestReportActionResult" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ChargeItemDefinitionPriceComponentType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CapabilityStatementKind" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ActivityParticipantType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EventTiming" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SearchParamType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ActionGroupingBehavior" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.StructureMapModelMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.TaskStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ServiceRequestStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.BiologicallyDerivedProductStorageScale" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.GraphCompartmentRule" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ServiceRequestIntent" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SlicingRules" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ExplanationOfBenefitStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.GuideParameterCode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CatalogEntryRelationType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.LinkType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.FHIRAllTypes" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ConceptMapEquivalence" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AuditEventAction" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EligibilityResponseStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SearchModifierCode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.OperationParameterUse" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ConsentProvisionType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ActionConditionKind" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ParticipantStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AdministrativeGender" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.QuestionnaireItemType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DeviceMetricCalibrationType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EvidenceVariableType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ActionSelectionBehavior" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SupplyDeliveryStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DiagnosticReportStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.FlagStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SPDXLicense" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ListStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.base64Binary" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DeviceUseStatementStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AuditEventAgentNetworkType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.AddressUse" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ContactPointUse" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DeviceMetricOperationalStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ContributorType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ReferenceVersionRules" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DetectedIssueStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MeasureReportStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.SearchEntryMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.NameUse" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CommunicationRequestStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.LocationMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToInteger" fromType="FHIR.integer" toType="System.Integer"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.FHIRSubstanceStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.QuestionnaireItemOperator" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.HTTPVerb" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EpisodeOfCareStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.RemittanceOutcome" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.StrandType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.Status" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MedicationStatementStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.EligibilityRequestPurpose" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ServiceRequestPriority" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.QuantityComparator" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.MeasureReportType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ActionPrecheckBehavior" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DayOfWeek" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CompositionAttestationMode" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.TypeRestfulInteraction" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.ContractStatus" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.CodeSystemHierarchyMeaning" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.VisionBase" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.BundleType" toType="System.String"/>
   <conversionInfo functionName="FHIRHelpers.ToString" fromType="FHIR.DocumentConfidentiality" toType="System.String"/>
   <contextInfo name="Practitioner" keyElement="id">
      <contextType namespace="FHIR" name="Practitioner"/>
   </contextInfo>
   <contextInfo name="Device" keyElement="id">
      <contextType namespace="FHIR" name="Device"/>
   </contextInfo>
   <contextInfo name="Patient" keyElement="id" birthDateElement="birthDate.value">
      <contextType namespace="FHIR" name="Patient"/>
   </contextInfo>
   <contextInfo name="Encounter" keyElement="id">
      <contextType namespace="FHIR" name="Encounter"/>
   </contextInfo>
   <contextInfo name="RelatedPerson" keyElement="id">
      <contextType namespace="FHIR" name="RelatedPerson"/>
   </contextInfo>
</modelInfo>
