Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

RareLinkEncounter
EncounterEvent
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   identifierEvent.identifier
   statusEvent.status
   statusHistory
      id
      extension
      modifierExtension
      status
      period
   class
   classHistory
      id
      extension
      modifierExtension
      class
      period
   typeEvent.code
   serviceTypeEvent.code
   priority
   subjectEvent.subject
      id
      extension
      reference
      type
      identifier
      display
   episodeOfCareEvent.context
   basedOnEvent.basedOn
   participantEvent.performer
      id
      extension
      modifierExtension
      typeEvent.performer.function
      period
      individualEvent.performer.actor
   appointmentEvent.basedOn
   periodEvent.occurrence[x]
   lengthEvent.occurrence[x]
   reasonCodeEvent.reasonCode
   reasonReferenceEvent.reasonCode
   diagnosis
      id
      extension
      modifierExtension
      conditionEvent.reasonReference
      use
      rank
   account
   hospitalization
      id
      extension
      modifierExtension
      preAdmissionIdentifier
      origin
      admitSource
      reAdmission
      dietPreference
      specialCourtesy
      specialArrangement
      destination
      dischargeDisposition
   location
      id
      extension
      modifierExtension
      locationEvent.location
      status
      physicalType
      period
   serviceProviderEvent.performer.actor
   partOfEvent.partOf

Mappings for RIM Mapping (http://hl7.org/v3)

RareLinkEncounter
EncounterEntity. Role, or Act, Encounter[@moodCode='EVN']
   id
   meta
   implicitRules
   language
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifier.id
   status.statusCode
   statusHistoryn/a
      idn/a
      extensionn/a
      modifierExtensionN/A
      statusn/a
      periodn/a
   class.inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code
   classHistoryn/a
      idn/a
      extensionn/a
      modifierExtensionN/A
      classn/a
      periodn/a
   type.code
   serviceTypen/a
   priority.priorityCode
   subject.participation[typeCode=SBJ]/role[classCode=PAT]
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   episodeOfCaren/a
   basedOn.reason.ClinicalDocument
   participant.participation[typeCode=PFM]
      idn/a
      extensionn/a
      modifierExtensionN/A
      type.functionCode
      period.time
      individual.role
   appointment.outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]
   period.effectiveTime (low & high)
   length.lengthOfStayQuantity
   reasonCode.reasonCode
   reasonReference.reasonCode
   diagnosis.outboundRelationship[typeCode=RSON]
      idn/a
      extensionn/a
      modifierExtensionN/A
      condition.outboundRelationship[typeCode=RSON].target
      usen/a
      rank.outboundRelationship[typeCode=RSON].priority
   account.pertains.A_Account
   hospitalization.outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]
      idn/a
      extensionn/a
      modifierExtensionN/A
      preAdmissionIdentifier.id
      origin.participation[typeCode=ORG].role
      admitSource.admissionReferralSourceCode
      reAdmissionn/a
      dietPreference.outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=EVN, code="diet"]
      specialCourtesy.specialCourtesiesCode
      specialArrangement.specialArrangementCode
      destination.participation[typeCode=DST]
      dischargeDisposition.dischargeDispositionCode
   location.participation[typeCode=LOC]
      idn/a
      extensionn/a
      modifierExtensionN/A
      location.role
      status.role.statusCode
      physicalType
      period.time
   serviceProvider.particiaption[typeCode=PFM].role
   partOf.inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

RareLinkEncounter
Encounter
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   identifierFiveWs.identifier
   statusFiveWs.status
   statusHistory
      id
      extension
      modifierExtension
      status
      period
   classFiveWs.class
   classHistory
      id
      extension
      modifierExtension
      class
      period
   typeFiveWs.class
   serviceType
   priorityFiveWs.grade
   subjectFiveWs.subject[x], FiveWs.subject
      id
      extension
      reference
      type
      identifier
      display
   episodeOfCareFiveWs.context
   basedOn
   participant
      id
      extension
      modifierExtension
      type
      period
      individualFiveWs.who
   appointment
   periodFiveWs.done[x]
   length
   reasonCodeFiveWs.why[x]
   reasonReferenceFiveWs.why[x]
   diagnosis
      id
      extension
      modifierExtension
      conditionFiveWs.why[x]
      use
      rank
   account
   hospitalization
      id
      extension
      modifierExtension
      preAdmissionIdentifier
      origin
      admitSource
      reAdmission
      dietPreference
      specialCourtesy
      specialArrangement
      destination
      dischargeDisposition
   location
      id
      extension
      modifierExtension
      locationFiveWs.where[x]
      status
      physicalType
      period
   serviceProvider
   partOf

Mappings for HL7 v2 Mapping (http://hl7.org/v2)

RareLinkEncounter
Encounter
   id
   meta
   implicitRules
   language
   text
   contained
   extension
   modifierExtension
   identifierPV1-19
   statusNo clear equivalent in HL7 v2; active/finished could be inferred from PV1-44, PV1-45, PV2-24; inactive could be inferred from PV2-16
   statusHistory
      id
      extension
      modifierExtension
      status
      period
   classPV1-2
   classHistory
      id
      extension
      modifierExtension
      class
      period
   typePV1-4 / PV1-18
   serviceTypePV1-10
   priorityPV2-25
   subjectPID-3
      id
      extension
      reference
      type
      identifier
      display
   episodeOfCarePV1-54, PV1-53
   basedOn
   participantROL
      id
      extension
      modifierExtension
      typeROL-3 (or maybe PRT-4)
      periodROL-5, ROL-6 (or maybe PRT-5)
      individualROL-4
   appointmentSCH-1 / SCH-2
   periodPV1-44, PV1-45
   length(PV1-45 less PV1-44) iff ( (PV1-44 not empty) and (PV1-45 not empty) ); units in minutes
   reasonCodeEVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )
   reasonReferenceEVN-4 / PV2-3 (note: PV2-3 is nominally constrained to inpatient admissions; HL7 v2 makes no vocabulary suggestions for PV2-3; would not expect PV2 segment or PV2-3 to be in use in all implementations )
   diagnosis
      id
      extension
      modifierExtension
      conditionResources that would commonly referenced at Encounter.indication would be Condition and/or Procedure. These most closely align with DG1/PRB and PR1 respectively.
      use
      rank
   account
   hospitalization
      id
      extension
      modifierExtension
      preAdmissionIdentifierPV1-5
      origin
      admitSourcePV1-14
      reAdmissionPV1-13
      dietPreferencePV1-38
      specialCourtesyPV1-16
      specialArrangementPV1-15 / OBR-30 / OBR-43
      destinationPV1-37
      dischargeDispositionPV1-36
   location
      id
      extension
      modifierExtension
      locationPV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43
      status
      physicalType
      period
   serviceProviderPL.6 & PL.1
   partOf