FHIR_To_CII_Mapping:PolarisAllergyIntolerance:text:"-"id:"-"identifier:"-"code.text:E18_Observation_Allergy_Agentpatient:"-"encounter:"-"recordedDate:"UsedtodecidewhichEncountertoassociatethisallergywith"PolarisAppointment:text:"-"identifier:"-"status:"-"start:"-"participant:"-"requestedPeriod.start:D1_Encounter_Request_DatePolarisCondition:text:"-"identifier:"-"code.text:E11_Observation_Health_Concern, E34_Observation_Encounter_Clinical_Assessmentsubject:"-"encounter:"-"onset[x]:E12_Observation_Health_Concern_Date_Of_Onset, E12_Observation_Health_Concern_Date_Of_Onset_Date_PrecisionrecordedDate:"-"PolarisDiagnosticReport:text:"-"identifier:"-"status:"-"code.text:"-"subject:"-"encounter:"-"effective[x]:"-"presentedForm:"-"presentedForm.contentType:"-"presentedForm.data:"-"presentedForm.url:"-"PolarisDocumentReference:text:"-"identifier:"-"type:"**fromAppState**"# For PDF_Document_Type_Coding, Document_Type_Code, Document_Type_Coding_Systemtype.coding:"**fromAppState**"type.text:"**fromAppState**"# For Document_Type_Description_Textsubject:"-"date:"-"custodian:"-"content:"-"# Containercontent.attachment:"-"# Containercontent.attachment.contentType:"-"# Expected to be application/pdf for CIIcontent.attachment.data:PDF_Documentcontent.attachment.size:"-"content.attachment.title:"-"context.encounter:"-"PolarisEmrDevice:text:"-"id:"-"identifier:"-"manufacturer:"-"deviceName:"-"deviceName.name:"-"deviceName.type:"-"type:"-"type.text:"-"version:"-"version.value:"-"owner:"-"PolarisEncounter:text:"-"identifier:D01_Encounter_Identifier# from .valueclass.code:D4_Encounter_Mode# from .codeperiod.start:D3_Encounter_Date# from .startsubject:"-"location:"-"serviceProvider:"-"reasonCode.text:D2_Client_Encounter_Reason# from .textreasonReference:"-"PolarisImmunization:text:"-"identifier:"-"vaccineCode.text:O1_Vaccine_Administered_Namepatient:"-"encounter:"-"occurrence[x]:O2_Vaccine_Administered_Date, O2_Vaccine_Administered_Date_Date_Precisionoccurrence[x].extension:"-"# dataAbsentReason constraintlotNumber:O3_Vaccine_Administered_Lot_NumberPolarisLocation:text:"-"identifier:"-"status:"-"name:C2_Service_Delivery_Location_Namealias:"-"description:"-"mode:"-"type:"-"telecom:"-"telecom.system:"-"telecom.value:"-"address:C4_Service_Delivery_Postal_Code# from address.postalCodephysicalType:"-"position:"-"managingOrganization:"-"partOf:"-"hoursOfOperation:"-"availabilityExceptions:"-"endpoint:"-"PolarisMedicationDispense:text:"-"identifier:"-"status:"-"medicationCodeableConcept.text:N1_Medication_Dispensedsubject:"-"performer:"-"performer.actor:"-"authorizingPrescription:"-"type:"-"quantity:"-"daysSupply:"-"whenPrepared:"-"whenHandedOver:N2_Medication_Dispensed_DatedosageInstruction:"-"note:"-"PolarisMedicationRequest:text:"-"identifier:"-"status:"-"intent:"-"subject:"-"encounter:"-"authoredOn:M2_Medication_Prescription_Date, M2a_Medication_Prescription_Date_Date_Precisionrequester:"-"dosageInstruction:M9_Medication_Form, M10_Medication_Frequency# General derivation, sub-elements map more specificallydosageInstruction.text:"-"dosageInstruction.route:M11_Medication_Route# from .textdosageInstruction.route.coding:"-"dosageInstruction.route.coding.system:"-"dosageInstruction.route.coding.code:"-"dosageInstruction.timing:M10_Medication_Frequency# Also container for boundsPerioddosageInstruction.timing.repeat:"-"# ContainerdosageInstruction.timing.repeat.boundsPeriod:M3_Prescription_Expected_Completion_Date, M3a_Prescription_Expected_Completion_Date_Date_Precision, M13_Medication_Start_Date, M13a_Medication_Start_Date_Date_Precision, M14_Medication_End_Date, M14a_Medication_End_Date_Date_PrecisiondosageInstruction.timing.repeat.boundsPeriod.start:M13_Medication_Start_Date, M13a_Medication_Start_Date_Date_PrecisiondosageInstruction.timing.repeat.boundsPeriod.end:M14_Medication_End_Date, M14a_Medication_End_Date_Date_Precision, M3_Prescription_Expected_Completion_Date, M3a_Prescription_Expected_Completion_Date_Date_PrecisiondosageInstruction.doseAndRate:M7_Medication_Dosage, M8_Medication_Dosage_Unit_Of_Measure# ContainerdosageInstruction.doseAndRate.doseQuantity:M7_Medication_Dosage, M8_Medication_Dosage_Unit_Of_MeasuredosageInstruction.doseAndRate.doseQuantity.value:M7_Medication_DosagedosageInstruction.doseAndRate.doseQuantity.unit:M8_Medication_Dosage_Unit_Of_MeasuredosageInstruction.doseAndRate.doseQuantity.system:"-"dosageInstruction.doseAndRate.doseQuantity.code:"-"dispenseRequest:"-"# ContainerdispenseRequest.validityPeriod:"-"dispenseRequest.validityPeriod.start:"-"dispenseRequest.validityPeriod.end:"-"dispenseRequest.numberOfRepeatsAllowed:M12_Medication_Number_Of_Repeat_RefillsdispenseRequest.quantity:"-"dispenseRequest.expectedSupplyDuration:M91_Supply_Duration, M92_Supply_Duration_Unit_CodedispenseRequest.expectedSupplyDuration.value:M91_Supply_DurationdispenseRequest.expectedSupplyDuration.unit:M92_Supply_Duration_Unit_CodedispenseRequest.expectedSupplyDuration.system:"-"dispenseRequest.expectedSupplyDuration.code:"-"contained[Medication].code.text:M1_Medication_Prescribed_Name# from .textcontained[Medication].form.text:M9_Medication_Formcontained[Medication].ingredient.strength.numerator.value:M5_Medication_Strengthcontained[Medication].ingredient.strength.numerator.unit:M6_Medication_Strength_Unit_Of_MeasurePolarisObservation:text:"-"identifier:"-"status:"-"category:"Differentiatelabresultfromvitalsobservations"code.text:"Conditional:H2_Lab_Test_Result_Name(from.text),orLOINCcodeforE23-E40"subject:"-"encounter:"-"effective[x]:"Conditional:H1_Lab_Test_Performed_Date,J1_Di_Test_Performed_Date"value[x]:"Conditional:E23,E24,E28,E30,E32,E35,E37,E39(from.valueQuantity.value&correspondingunit),H3_Lab_Test_Result_Value(from.value[x]&correspondingunitH4)"PolarisOrganization:as per CPARPolarisPatient:id:"-"identifier:A1_Client_Identifier, A2_Client_Identifier_Type, A3_Client_Identifier_Assigning_Authority (from value and Jurisdictional Health Number with system URI from https://build.fhir.org/ig/HL7-Canada/ca-baseline/StructureDefinition-profile-patient.html#jurisdictional-health-number-jhn)text:"-"active:A9_Client_Status_Codename:A01_Client_Last_Name, A02_Client_Given_Name# From .family, .givenname.use:"-"name.family:A01_Client_Last_Namename.given:A02_Client_Given_Nametelecom:"-"gender:A5_Client_Administrative_GenderbirthDate:A4_Client_Date_Of_Birthdeceased[x]:"-"address:A14_Client_Residence_Postal_Code# from .postalCodemaritalStatus:"-"multipleBirth[x]:"-"communication:"-"generalPractitioner:"-"managingOrganization:"-"PolarisPractitioner:text:"-"identifier:"**fromAppState**"# For B4_Provider_Identifieractive:"-"name:B1_Provider_Last_Name, B2_Provider_First_Name, B3_Provider_Middle_Name# From .family, .givenname.family:B1_Provider_Last_Namename.given:B2_Provider_First_Name, B3_Provider_Middle_NamePolarisPractitionerRole:text:"-"identifier:"-"practitioner:"-"organization:"-"PolarisProcedure:text:"-"identifier:"-"code.text:F1_Intervention_Treatment# from .textsubject:"-"encounter:"-"performed[x]:F2_Intervention_Treatment_Date, F2_Intervention_Treatment_Date_Date_PrecisionPolarisServiceRequest:text:"-"identifier:"-"status:"-"intent:"-"category:"distinguishlabvsDIvsreferralorders"code.text:G1_Lab_Test_Name_Ordered, I1_Diagnostic_Imaging_Test_Ordered, K1_Referral_Service# from .textsubject:"-"encounter:"-"occurrenceDateTime:L1_Referral_Occurred_DateauthoredOn:G2_Lab_Test_Order_Date, I2_Diagnostic_Imaging_Test_Ordered_Date, K2_Referral_Requested_Date, K2_Referral_Requested_Date_Date_Precision