### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/ImmunizationRecommendation.json
### ----------------------------------------------------
### -- Chunk 7 of 7
izationRecommendation.recommendation.forecastReason",
      "short" : "Vaccine administration status reason",
      "definition" : "The reason for the assigned forecast status.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ImmunizationRecommendationReason"
        }],
        "strength" : "example",
        "description" : "The reason for the patient's status with respect to a vaccination protocol.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/immunization-recommendation-reason"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "OBX-5 : OBX-3 = 30982-3"
      },
      {
        "identity" : "rim",
        "map" : "N/A"
      }]
    },
    {
      "id" : "ImmunizationRecommendation.recommendation.dateCriterion",
      "path" : "ImmunizationRecommendation.recommendation.dateCriterion",
      "short" : "Dates governing proposed immunization",
      "definition" : "Vaccine date recommendations.  For example, earliest date to administer, latest date to administer, etc.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.occurrence[x]"
      },
      {
        "identity" : "v2",
        "map" : "OBX-3: 30980-7 = Next dose recommended, 59777-3 = Latest next dose should be given, 59778-1 = Dose is overdue"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode='LIMIT'].target[classCode=OBS, moodCode=EVN, isCriterionInd=true]"
      }]
    },
    {
      "id" : "ImmunizationRecommendation.recommendation.dateCriterion.code",
      "path" : "ImmunizationRecommendation.recommendation.dateCriterion.code",
      "short" : "Type of date",
      "definition" : "Date classification of recommendation.  For example, earliest date to give, latest date to give, etc.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "ImmunizationRecommendationDateCriterion"
        }],
        "strength" : "example",
        "description" : "Classifies date criterion with respect to conveying information about a patient's vaccination status (e.g. due date, latest to give date, etc.).",
        "valueSet" : "http://hl7.org/fhir/ValueSet/immunization-recommendation-date-criterion"
      },
      "mapping" : [{
        "identity" : "v2",
        "map" : "OBX-3"
      },
      {
        "identity" : "rim",
        "map" : ".code"
      }]
    },
    {
      "id" : "ImmunizationRecommendation.recommendation.dateCriterion.value",
      "path" : "ImmunizationRecommendation.recommendation.dateCriterion.value",
      "short" : "Recommended date",
      "definition" : "The date whose meaning is specified by dateCriterion.code.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OBX-5"
      },
      {
        "identity" : "rim",
        "map" : ".value"
      }]
    },
    {
      "id" : "ImmunizationRecommendation.recommendation.description",
      "path" : "ImmunizationRecommendation.recommendation.description",
      "short" : "Protocol details",
      "definition" : "Contains the description about the protocol under which the vaccine was administered.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OBX-5 : OBX-3 = 30956-7"
      },
      {
        "identity" : "rim",
        "map" : ".text"
      }]
    },
    {
      "id" : "ImmunizationRecommendation.recommendation.series",
      "path" : "ImmunizationRecommendation.recommendation.series",
      "short" : "Name of vaccination series",
      "definition" : "One possible path to achieve presumed immunity against a disease - within the context of an authority.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "RXA-5-administered code"
      },
      {
        "identity" : "rim",
        "map" : ".title"
      }]
    },
    {
      "id" : "ImmunizationRecommendation.recommendation.doseNumber[x]",
      "path" : "ImmunizationRecommendation.recommendation.doseNumber[x]",
      "short" : "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).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      },
      {
        "code" : "string"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "v2",
        "map" : "OBX-5 : OBX-3 = 30973-2"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship[typeCode=COMP, .source[classCode=SBADM, moodCode=INT]].sequenceNumber"
      }]
    },
    {
      "id" : "ImmunizationRecommendation.recommendation.seriesDoses[x]",
      "path" : "ImmunizationRecommendation.recommendation.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 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).",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      },
      {
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "OBX-5 : OBX-3 = 59782-3"
      },
      {
        "identity" : "rim",
        "map" : ".inboundRelationship[typeCode=COMP, .source[classCode=SBADM, moodCode=DEF]].sequenceNumber"
      }]
    },
    {
      "id" : "ImmunizationRecommendation.recommendation.supportingImmunization",
      "path" : "ImmunizationRecommendation.recommendation.supportingImmunization",
      "short" : "Past immunizations supporting recommendation",
      "definition" : "Immunization event history and/or evaluation that supports the status and recommendation.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Immunization",
        "http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation"]
      }],
      "mapping" : [{
        "identity" : "v2",
        "map" : "? No clear way to associate in HL7 v2 or IG"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=RSON].target[classCode=SBADM, moodCode=EVN, code=\"immunization\"]"
      }]
    },
    {
      "id" : "ImmunizationRecommendation.recommendation.supportingPatientInformation",
      "path" : "ImmunizationRecommendation.recommendation.supportingPatientInformation",
      "short" : "Patient observations supporting recommendation",
      "definition" : "Patient Information that supports the status and recommendation.  This includes patient observations, adverse reactions and allergy/intolerance information.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Resource"]
      }],
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Request.supportingInfo"
      },
      {
        "identity" : "v2",
        "map" : "OBX If OBX is associated with ( RXA : RXA-5-administered code = '998^No vaccine administered^CVX'), could contain the reason the vaccine was not administered"
      },
      {
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=RSON].target[classCode=OBS, moodCode=EVN]"
      }]
    }]
  }
}


