### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/Immunization.json
### ----------------------------------------------------
### -- Chunk 11 of 12
 },
      "type" : [{
        "code" : "BackboneElement"
      }],
      "constraint" : [{
        "key" : "ele-1",
        "severity" : "error",
        "human" : "All FHIR elements must have a @value or children",
        "expression" : "hasValue() or (children().count() > id.count())",
        "xpath" : "@value|f:*|h:div",
        "source" : "Element"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "Immunization.protocolApplied.id",
      "path" : "Immunization.protocolApplied.id",
      "representation" : ["xmlAttr"],
      "short" : "Unique id for inter-element referencing",
      "definition" : "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Element.id",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Immunization.protocolApplied.extension",
      "path" : "Immunization.protocolApplied.extension",
      "short" : "Additional content defined by implementations",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "alias" : ["extensions",
      "user content"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Element.extension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "n/a"
      }]
    },
    {
      "id" : "Immunization.protocolApplied.modifierExtension",
      "path" : "Immunization.protocolApplied.modifierExtension",
      "short" : "Extensions that cannot be ignored even if unrecognized",
      "definition" : "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "comment" : "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "requirements" : "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](extensibility.html#modifierExtension).",
      "alias" : ["extensions",
      "user content",
      "modifiers"],
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "BackboneElement.modifierExtension",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "Extension"
      }],
      "isModifier" : true,
      "isModifierReason" : "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary" : true,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "Immunization.protocolApplied.series",
      "path" : "Immunization.protocolApplied.series",
      "short" : "Name of vaccine series",
      "definition" : "One possible path to achieve presumed immunity against a disease - within the context of an authority.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Immunization.protocolApplied.series",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "Immunization.protocolApplied.authority",
      "path" : "Immunization.protocolApplied.authority",
      "short" : "Who is responsible for publishing the recommendations",
      "definition" : "Indicates the authority who published the protocol (e.g. ACIP) that is being followed.",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Immunization.protocolApplied.authority",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "Immunization.protocolApplied.targetDisease",
      "path" : "Immunization.protocolApplied.targetDisease",
      "short" : "Vaccine preventatable disease being targetted",
      "definition" : "The vaccine preventable disease the dose is being administered against.",
      "min" : 0,
      "max" : "*",
      "base" : {
        "path" : "Immunization.protocolApplied.targetDisease",
        "min" : 0,
        "max" : "*"
      },
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "TargetDisease"
        }],
        "strength" : "example",
        "description" : "The vaccine preventable disease the dose is being administered for.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/immunization-target-disease"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "Immunization.protocolApplied.doseNumber[x]",
      "path" : "Immunization.protocolApplied.doseNumber[x]",
      "short" : "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).",
      "min" : 1,
      "max" : "1",
      "base" : {
        "path" : "Immunization.protocolApplied.doseNumber[x]",
        "min" : 1,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      },
      {
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "Immunization.protocolApplied.seriesDoses[x]",
      "path" : "Immunization.protocolApplied.seriesDoses[x]",
      "short" : "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).",
      "min" : 0,
      "max" : "1",
      "base" : {
        "path" : "Immunization.protocolApplied.seriesDoses[x]",
        "min" : 0,
        "max" : "1"
      },
      "type" : [{
        "code" : "positiveInt"
      },
      {
        "code" : "string"
      }],
      "isModifier" : false,
      "isSummary" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A"
      }]
    }]
  },
  "differential" : {
    "element" : [{
      "id" : "Immunization",
      "path" : "Immunization",
      "short" : "Immunization event information",
      "definition" : "Describes the event of a patient being administered a vaccine or a record of an immunization as reported by a patient, a clinician or another party.",
      "min" : 0,
      "max" : "*",
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event"
      },
      {
        "identity" : "v2",
        "map" : "VXU_V04"
      },
      {
        "identity" : "rim",
        "map" : "SubstanceAdministration"
      }]
    },
    {
      "id" : "Immunization.identifier",
      "path" : "Immunization.identifier",
      "short" : "Business identifier",
      "definition" : "A unique identifier assigned to this immunization record.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.identifier"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.identifier"
      },
      {
        "identity" : "rim",
        "map" : ".id"
      },
      {
        "identity" : "cda",
        "map" : "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/id"
      }]
    },
    {
      "id" : "Immunization.status",
      "path" : "Immunization.status",
      "short" : "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.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isModifier" : true,
      "isModifierReason" : "This element is labeled as a modifier because it is a status element that contains statuses entered-in-error and not-done which means that the resource should not be treated as valid",
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ImmunizationStatus"
        }],
        "strength" : "required",
        "description" : "A set of codes indicating the current status of an Immunization.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/immunization-status|4.0.0"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.status"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.status"
      },
      {
        "identity" : "rim",
        "map" : "statusCode"
      }]
    },
    {
      "id" : "Immunization.statusReason",
      "path" : "Immunization.statusReason",
      "short" : "Reason not done",
      "definition" : "Indicates the reason the immunization event was not performed.",
      "comment" : "This is generally only used for the status of \"not-done\". The reason for performing the immunization event is captured in reasonCode, not here.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ImmunizationStatusReason"
        }],
        "strength" : "example",
        "description" : "The reason why a vaccine was not administered.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/immunization-status-reason"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.statusReason"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde"
      }]
    },
    {
      "id" : "Immunization.vaccineCode",
      "path" : "Immunization.vaccineCode",
      "short" : "Vaccine product administered",
      "definition" : "Vaccine that was administered or was to be administered.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "VaccineCode"
        }],
        "strength" : "example",
        "description" : "The code for vaccine product administered.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/vaccine-code"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.code"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.what[x]"
      },
      {
        "identity" : "v2",
        "map" : "RXA-5"
      },
      {
        "identity" : "rim",
        "map" : ".code"
      },
      {
        "identity" : "cda",
        "map" : "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/realmCode/code"
      }]
    },
    {
      "id" : "Immunization.patient",
      "path" : "Immunization.patient",
      "short" : "Who was immunized",
      "definition" : "The patient who either received or did not receive the immunization.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.subject"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "v2",
        "map" : "PID-3"
      },
      {
        "identity" : "rim",
        "map" : ".partipication[ttypeCode=].role"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject"
      }]
    },
    {
      "id" : "Immunization.encounter",
      "path" : "Immunization.encounter",
      "short" : "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.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Encounter"]
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.context"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.context"
      },
      {
        "identity" : "v2",
        "map" : "PV1-19"
      },
      {
        "identity" : "rim",
        "map" : "component->EncounterEvent"
      }]
    },
    {
      "id" : "Immunization.occurrence[x]",
      "path" : "Immunization.occurrence[x]",
      "short" : "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.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      },
      {
        "code" : "string"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.occurrence[x]"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.done[x]"
      },
      {
        "identity" : "v2",
        "map" : "RXA-3"
      },
      {
        "identity" : "rim",
        "map" : ".effectiveTime"
      },
      {
        "identity" : "cda",
        "map" : "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/effectiveTime/value"
      }]
    },
    {
      "id" : "Immunization.recorded",
      "path" : "Immunization.recorded",
      "short" : "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.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "isSummary" : false,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.recorded"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=AUT].time"
      }]
    },
    {
      "id" : "Immunization.primarySource",
      "path" : "Immunization.primarySource",
      "short" : "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.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "boolean"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.source"
      },
      {
        "identity" : "v2",
        "map" : "RXA-9"
      },
      {
        "identity" : "rim",
        "map" : "immunization.uncertaintycode (if primary source=false, uncertainty=U)"
      }]
    },
    {
      "id" : "Immunization.reportOrigin",
      "path" : "Immunization.reportOrigin",
      "short" : "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.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ImmunizationReportOrigin"
        }],
        "strength" : "example",
        "description" : "The source of the data for a record which is not from a primary source.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/immunization-origin"
      },
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.source"
      },
      {
        "identity" : "v2",
        "map" : "RXA-9"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported) .participation[typeCode=INF].role[classCode=LIC] (this syntax for health care professional) .participation[typeCode=INF].role[classCode=PRS] (this syntax for family member)"
      }]
    },
    {
      "id" : "Immunization.location",
      "path" : "Immunization.location",
      "short" : "Where immunization occurred",
      "definition" : "The service delivery location where the vaccine administration occurred.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Location"]
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.location"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.where[x]"
      },
      {
        "identity" : "v2",
        "map" : "RXA-27  (or RXA-11, deprecated as of v2.7)"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=LOC].COCT_MT240000UV"
      }]
    },
    {
      "id" : "Immunization.manufacturer",
      "path" : "Immunization.manufacturer",
      "short" : "Vaccine manufacturer",
      "definition" : "Name of vaccine manufacturer.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "RXA-17"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=ORG]"
      },
      {
        "identity" : "cda",
        "map" : "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacuturerOrganization/name"
      }]
    },
    {
      "id" : "Immunization.lotNumber",
      "path" : "Immunization.lotNumber",
      "short" : "Vaccine lot number",
      "definition" : "Lot number of the  vaccine product.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "RXA-15"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].id"
      },
      {
        "identity" : "cda",
        "map" : "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/consumable/manfacturedProduct/manufacturedMaterial/lotNumberText"
      }]
    },
    {
      "id" : "Immunization.expirationDate",
      "path" : "Immunization.expirationDate",
      "short" : "Vaccine expiration date",
      "definition" : "Date vaccine batch expires.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "date"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "RXA-16"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime"
      }]
    },
    {
      "id" : "Immunization.site",
      "path" : "Immunization.site",
      "short" : "Body site vaccine  was administered",
      "definition" : "Body site where vaccine was administered.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ImmunizationSite"
        }],
        "strength" : "example",
        "description" : "The site at which the vaccine was administered.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/immunization-site"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "RXR-2"
      },
      {
        "identity" : "rim",
        "map" : "observation.targetSiteCode"
      },
      {
        "identity" : "cda",
        "map" : "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/approachSiteCode/code"
      }]
    },
    {
      "id" : "Immunization.route",
      "path" : "Immunization.route",
      "short" : "How vaccine entered body",
      "definition" : "The path by which the vaccine product is taken into the body.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ImmunizationRoute"
        }],
        "strength" : "example",
        "description" : "The route by which the vaccine was administered.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/immunization-route"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "RXR-1"
      },
      {
        "identity" : "rim",
        "map" : ".routeCode"
      },
      {
        "identity" : "cda",
        "map" : "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/routeCode/code"
      }]
    },
    {
      "id" : "Immunization.doseQuantity",
      "path" : "Immunization.doseQuantity",
      "short" : "Amount of vaccine administered",
      "definition" : "The quantity of vaccine product that was administered.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "RXA-6 / RXA-7"
      },
      {
        "identity" : "rim",
        "map" : ".doseQuantity"
      }]
    },
    {
      "id" : "Immunization.performer",
      "path" : "Immunization.performer",
      "short" : "Who performed event",
      "definition" : "Indicates who performed the immunization event.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.performer"
      },
      {
        "identity" : "v2",
        "map" : "ORC-12 / RXA-10"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"
      }]
    },
    {
      "id" : "Immunization.performer.function",
      "path" : "Immunization.performer.function",
      "short" : "What type of performance was done",
      "definition" : "Describes the type of performance (e.g. ordering provider, administering provider, etc.).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ImmunizationFunction"
        }],
        "strength" : "extensible",
        "description" : "The role a practitioner or organization plays in the immunization event.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/immunization-function"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.performer.function"
      },
      {
        "identity" : "rim",
        "map" : ".participation.functionCode"
      }]
    },
    {
      "id" : "Immunization.performer.actor",
      "path" : "Immunization.performer.actor",
      "short" : "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.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Organization"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.performer.actor"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.actor"
      },
      {
        "identity" : "rim",
        "map" : ".player"
      }]
    },
    {
      "id" : "Immunization.note",
      "path" : "Immunization.note",
      "short" : "Additional immunization notes",
      "definition" : "Extra information about the immunization that is not conveyed by the other attributes.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Annotation"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.note"
      },
      {
        "identity" : "v2",
        "map" : "OBX-5 : OBX-3 = 48767-8"
      },
      {
        "identity" : "rim",
        "map" : "note"
      }]
    },
    {
      "id" : "Immunization.reasonCode",
      "path" : "Immunization.reasonCode",
      "short" : "Why immunization occurred",
      "definition" : "Reasons why the vaccine was administered.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ImmunizationReason"
        }],
        "strength" : "example",
        "description" : "The reason why a vaccine was administered.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/immunization-reason"
      },
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.reasonCode"
      },
      {
        "identity" : "rim",
        "map" : "[actionNegationInd=false].reasonCode"
      }]
    },
    {
      "id" : "Immunization.reasonReference",
      "path" : "Immunization.reasonReference",
      "short" : "Why immunization occurred",
      "definition" : "Condition, Observation or DiagnosticReport that supports why the immunization was administered.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Condition",
        "http://hl7.org/fhir/StructureDefinition/Observation",
        "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"]
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.reasonReference"
      },
      {
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "Immunization.isSubpotent",
      "path" : "Immunization.isSubpotent",
      "short" : "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,