HL7 FHIR® Implementation Guide: Electronic Case Reporting (eCR) - US Realm
2.1.1 - STU 2.1.1 United States of America flag

This page is part of the electronic Case Reporting (eCR) (v2.1.1: STU 2) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in it's permanent location. For a full list of available versions, see the Directory of published versions

Resource Profile: EICRComposition - Mappings

Active as of 2023-12-14

Mappings for the eicr-composition resource profile.

Mappings for eCR FHIR to CDA Mapping ()

This table maps FHIR eCR profile elements to eICR/RR CDA template elements located in the CDA eICR IG (R2 STU2) and CDA RR IG (R2 STU1).

EICRComposition
Composition[eICR R2 STU3.1] 1.1.2 Initial Public Health Case Report Document (eICR) (V3)
   extension (extensionEICRInitiationType)[eICR R2 STU3.1] ClinicalDocument/documentationOf/serviceEvent/code
   extension (extensionEICRInitiationReason)[eICR R2 STU3.1] Initial Case Report initiation Reason (V2)/value

Initiation Reason

   type[eICR R2 STU3.1] ClinicalDocument/code
   section
      entry
   section (sliceReasonForVisitSection)[eICR R2 STU3.1] Reason for Visit Section
      code[eICR R2 STU3.1] Reason for Visit Section/code
      text[eICR R2 STU3.1] Reason for Visit Section/text

Reason for Visit

      entry
   section (sliceChiefComplaintSection)[eICR R2 STU3.1] Chief Complaint Section
      code[eICR R2 STU3.1] Chief Complaint Section/code
      text[eICR R2 STU3.1] Chief Complaint Section/text

Chief Complaint

      entry
   section (sliceHistoryOfPresentIllnessSection)[eICR R2 STU3.1] History of Present Illness Section
      code[eICR R2 STU3.1] History of Present Illness Section/code
      text[eICR R2 STU3.1] History of Present Illness Section/text

History of Present Illness

      entry
   section (sliceProblemSection)[eICR R2 STU3.1] Problem Section (entries required) (V3)
      code[eICR R2 STU3.1] Problem Section (entries required) (V3)/code
      text[eICR R2 STU3.1] Problem Section (entries required) (V3)/text
      entry
      entry (sliceEICRCondition)[eICR R2 STU3.1] Problem Observation (V3) + Initial Case Report Trigger Code Problem Observation (V2)
         extension (sliceTriggerCondition)[eICR R2 STU3.1] Initial Case Report Trigger Code Problem Observation

Diagnosis Trigger

   section (sliceMedicationsAdministeredSection)[eICR R2 STU3.1] Medications Administered Section (V2)
      code[eICR R2 STU3.1] Medications Administered Section (V2)/code
      text[eICR R2 STU3.1] Medications Administered Section (V2)/text
      entry
      entry (sliceMedicationAdministration)[eICR R2 STU3.1] Medication Activity (V2)/Medication Information (V2) + Medication Activity (V2)/Initial Case Report Trigger Code Medication Information
   section (sliceAdmissionMedicationsSection)[eICR R2 STU3.1] Admission Medications Section (V3)
      code[eICR R2 STU3.1] Admission Medications Section (V3)/code
      text[eICR R2 STU3.1] Admission Medications Administered Section (V3)/text
      entry
      entry (sliceMedication)[eICR R2 STU3.1] Admission Medication (V2)
   section (sliceMedicationsSection)[eICR R2 STU3.1] Medications Section (V2)
      code[eICR R2 STU3.1] Medications Section (V2)/code
      text[eICR R2 STU3.1] Medications Section (V2)/text
      entry
      entry (sliceMedicationAdministration)[eICR R2 STU3.1] Medication Activity (V2)/Medication Information (V2) + Medication Activity (V2)/Initial Case Report Trigger Code Medication Information
   section (sliceResultsSection)[eICR R2 STU3.1] Results Section (entries required) (V3)
      code[eICR R2 STU3.1] Results Section (entries required) (V3)/code
      text[eICR R2 STU3.1] Results Section (entries required) (V3)/text
      entry
      entry (sliceUSCoreObservationResults)[eICR R2 STU3.1] Result Observation (V3) + Initial Case Report Trigger Code Result Observation (V2)
   section (slicePlanOfTreatmentSection)[eICR R2 STU3.1] Plan of Treatment Section (V2)
      code[eICR R2 STU3.1] Plan of Treatment Section (V2)/code
      text[eICR R2 STU3.1] Plan of Treatment Section (V2)/text
      entry
      entry (sliceEICRServiceRequest)[eICR R2 STU3.1] Planned Observation (V2) + Initial Case Report Trigger Code Lab Test Order (V2)
      entry (sliceUSCoreMedicationRequest)[eICR R2 STU3.1] Planned Medication Activity (V2)/Medication Information (V2) + Planned Medication Activity (V2)/Initial Case Report Trigger Code Medication Information
   section (sliceImmunizationsSection)[eICR R2 STU3.1] Immunizations Section (entries required) (V3)
      code[eICR R2 STU3.1] Immunizations Section (entries required) (V3)/code
      text[eICR R2 STU3.1] Immunizations Section (entries required) (V3)/text
      entry
      entry (sliceUSCoreImmunization)[eICR R2 STU3.1] Immunization Activity (V3)/Immunization Medication Information (V2) + Immunization Activity (V3)/Initial Case Report Trigger Code Immunization Medication Information

Immunization Status

      entry (sliceVaccineCredentialsPatientAssertion)
   section (sliceProceduresSection)[eICR R2 STU3] Procedures Section (entries required) (V2)
      code[eICR R2 STU3] Procedures Section (entries required) (V2)/code
      text[eICR R2 STU3] Procedures Section (entries required) (V2)/text
      entry
      entry (sliceEICRProcedure)[eICR R2 STU3.1] Procedure Activity Act (V2) + Procedure Activity Observation (V2) + Procedure Activity Procedure (V2) + Initial Case Report Trigger Code Procedure Activity Act + Initial Case Report Trigger Code Procedure Activity Observation + Initial Case Report Trigger Code Procedure Activity Procedure
         extension (sliceTriggerProcedure)[eICR R2 STU3] Initial Case Report Trigger Code Procedure Activity Act + Initial Case Report Trigger Code Procedure Activity Observation + Initial Case Report Trigger Code Procedure Activity Procedure

Procedure Trigger

   section (sliceVitalSignsSection)[eICR R2 STU3.1] Vital Signs Section (entries required) (V3)
      code[eICR R2 STU3.1] Vital Signs Section (entries required) (V3)/code
      text[eICR R2 STU3.1] Vital Signs Section (entries required) (V3)/text
      entry (sliceVitalSigns)[eICR R2 STU3.1] Vital Signs Organizer (V3)/Vital Sign Observation (V2)
   section (sliceSocialHistorySection)[eICR R2 STU3.1] Social History Section (V3)
      code[eICR R2 STU3.1] Social History Section (V3)/code
      text[eICR R2 STU3.1] Social History Section (V3)/text
      entry (sliceODHPastOrPresentJob)[eICR R2 STU3.1] Past or Present Occupation Observation

Current Occupation, Current Industry, Current Job Title, Current Employer Name, Current Employer Phone, Current Employer Address

      entry (sliceODHUsualWork)[eICR R2 STU3.1] Usual Occupation Observation

Usual Occupation, Usual Industry, Occupational Exposure

      entry (sliceODHEmploymentStatus)[eICR R2 STU3.1] Usual Occupation Observation

Usual Occupation, Usual Industry, Occupational Exposure

      entry (sliceTravelHistory)[eICR R2 STU3.1] Travel History
   section (slicePregnancySection)[eICR R2 STU3.1] Pregnancy Section
      code[eICR R2 STU3.1] Pregnancy Section/code
      text[eICR R2 STU3.1] Pregnancy Section/text
      entry (slicePregnancyStatusObservation)[eICR R2 STU3.1] Pregnancy Status Observation (SUPPLEMENTAL PREGNANCY)
      entry (sliceLastMenstrualPeriod)[eICR R2 STU3.1] Last Menstrual Period (V2)
      entry (slicePostpartumStatus)[eICR R2 STU3.1] Postpartum Status
   section (sliceEmergencyOutbreakInformationSection)
   section (slicePastMedicalHistorySection)[eICR R2 STU3.1] Past Medical History Section (V3)
      code[eICR R2 STU3.1] Past Medical History Section (V3)/code
      text[eICR R2 STU3.1] Past Medical History Section (V3)/text
   section (sliceReviewOfSystemsSection)[eICR R2 STU3.1] Review of Systems Section
      code[eICR R2 STU3.1] Review of Systems Section/code
      text[eICR R2 STU3.1] Review of Systems Section/text

Review of Systems

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

EICRComposition
CompositionEvent
   identifierEvent.identifier
   statusEvent.status
   typeEvent.code
   categoryEvent.subject
   encounterEvent.context
   dateEvent.occurrence[x]
   authorEvent.performer

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

EICRComposition
CompositionEntity. Role, or Act, Document[classCode="DOC" and moodCode="EVN" and isNormalAct()]
   textAct.text?
   containedN/A
   modifierExtensionN/A
   identifierDocument.id / Document.setId
   statusinterim: .completionCode="IN" & ./statusCode[isNormalDatatype()]="active"; final: .completionCode="AU" && ./statusCode[isNormalDatatype()]="complete" and not(./inboundRelationship[typeCode="SUBJ" and isNormalActRelationship()]/source[subsumesCode("ActClass#CACT") and moodCode="EVN" and domainMember("ReviseComposition", code) and isNormalAct()]); amended: .completionCode="AU" && ./statusCode[isNormalDatatype()]="complete" and ./inboundRelationship[typeCode="SUBJ" and isNormalActRelationship()]/source[subsumesCode("ActClass#CACT") and moodCode="EVN" and domainMember("ReviseComposition", code) and isNormalAct() and statusCode="completed"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]="obsolete"
   type./code
   category.outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="EVN"].code
   subject.participation[typeCode="SBJ"].role[typeCode="PAT"]
   encounterunique(highest(./outboundRelationship[typeCode="SUBJ" and isNormalActRelationship()], priorityNumber)/target[moodCode="EVN" and classCode=("ENC", "PCPR") and isNormalAct])
   date.effectiveTime[type="TS"]
   author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
   title./title
   confidentiality.confidentialityCode
   attester.participation[typeCode="AUTHEN"].role[classCode="ASSIGNED"]
      idn/a
      extensionn/a
      modifierExtensionN/A
      modeunique(./modeCode)
      time./time[type="TS" and isNormalDatatype()]
      party./role[classCode="ASSIGNED" and isNormalRole]/player[determinerCode="INST" and classCode=("DEV", "PSN") and isNormalEntity()] or ./role[classCode="ASSIGNED" and isNormalRole and not(player)]/scoper[determinerCode="INST" and classCode="ORG" and isNormalEntity()]
   custodian.participation[typeCode="RCV"].role[classCode="CUST"].scoper[classCode="ORG" and determinerCode="INST"]
   relatesTo.outboundRelationship
      idn/a
      extensionn/a
      modifierExtensionN/A
      code.outboundRelationship.typeCode
      target[x].target[classCode="DOC", moodCode="EVN"].id
   relatesTo (sliceTransformed).outboundRelationship
      idn/a
      extensionn/a
      modifierExtensionN/A
      code.outboundRelationship.typeCode
      target[x].target[classCode="DOC", moodCode="EVN"].id
   relatesTo (sliceReplaced).outboundRelationship
      idn/a
      extensionn/a
      modifierExtensionN/A
      code.outboundRelationship.typeCode
      target[x].target[classCode="DOC", moodCode="EVN"].id
   eventoutboundRelationship[typeCode="SUBJ"].target[classCode<'ACT']
      idn/a
      extensionn/a
      modifierExtensionN/A
      code.code
      period.effectiveTime
      detail.outboundRelationship[typeCode="SUBJ"].target
   section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceReasonForVisitSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceChiefComplaintSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceHistoryOfPresentIllnessSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceProblemSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceEICRCondition).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
         idn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceMedicationsAdministeredSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceMedicationAdministration).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
         idn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceAdmissionMedicationsSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceMedication).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceMedicationsSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceMedicationAdministration).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
         idn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceResultsSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceUSCoreObservationResults).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
         idn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (slicePlanOfTreatmentSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceEICRServiceRequest).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
         idn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
      entry (sliceUSCoreMedicationRequest).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
         idn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceImmunizationsSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceUSCoreImmunization).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
         idn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
      entry (sliceVaccineCredentialsPatientAssertion).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceProceduresSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceEICRProcedure).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
         idn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceVitalSignsSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceVitalSigns).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceSocialHistorySection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceCharacteristicsOfHomeEnvironment).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceODHPastOrPresentJob).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceODHUsualWork).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceODHEmploymentStatus).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceTravelHistory).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceDisabilityStatus).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceExposureContactInformation).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceCountryOfResidence).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceCountryOfNationality).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (slicePregnancySection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (slicePregnancyStatusObservation).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (slicePregnancyOutcome).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceLastMenstrualPeriod).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (slicePostpartumStatus).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceEmergencyOutbreakInformationSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceObservationEmergencyOutbreakInformation).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (slicePastMedicalHistorySection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceUSCoreCondition).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceReviewOfSystemsSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
   section (sliceReportabilityResponseInformationSection)./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]
      idn/a
      extensionn/a
      modifierExtensionN/A
      title./title
      code./code
      author.participation[typeCode="AUT"].role[classCode="ASSIGNED"]
      text.text
      mode.outBoundRelationship[typeCode=COMP].target[classCode=OBS"].value
      orderedBy.outboundRelationship[typeCode=COMP].sequenceNumber > 1
      entry.outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      entry (sliceReportabilityResponseRelevantCondition).outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]
      emptyReason.inboundRelationship[typeCode=SUBJ,code<ListEmptyReason].value[type=CD]
      section./outboundRelationship[typeCode="COMP" and isNormalActRelationship()]/target[moodCode="EVN" and classCode="DOCSECT" and isNormalAct]

Mappings for CDA (R2) (http://hl7.org/v3/cda)

EICRComposition
CompositionClinicalDocument
   identifier.setId
   statusn/a
   type.code
   categoryn/a
   subject.recordTarget
   encounter.componentOf.encompassingEncounter
   date.effectiveTime
   author.author.assignedAuthor
   title.title
   confidentiality.confidentialityCode
   attester.authenticator/.legalAuthenticator
      modeimplied by .authenticator/.legalAuthenticator
      time.authenticator.time
      party.authenticator.assignedEnttty
   custodian.custodian.assignedCustodian
   relatesTo.relatedDocument
      code.relatedDocument.typeCode
      target[x].relatedDocument.id
   relatesTo (sliceTransformed).relatedDocument
      code.relatedDocument.typeCode
      target[x].relatedDocument.id
   relatesTo (sliceReplaced).relatedDocument
      code.relatedDocument.typeCode
      target[x].relatedDocument.id
   event.documentationOf.serviceEvent
      code.code
      period.effectiveTime
      detailn/a
   section.component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      emptyReasonn/a
      section.component.section
   section (sliceReasonForVisitSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      emptyReasonn/a
      section.component.section
   section (sliceChiefComplaintSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      emptyReasonn/a
      section.component.section
   section (sliceHistoryOfPresentIllnessSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      emptyReasonn/a
      section.component.section
   section (sliceProblemSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceEICRCondition).entry
      emptyReasonn/a
      section.component.section
   section (sliceMedicationsAdministeredSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceMedicationAdministration).entry
      emptyReasonn/a
      section.component.section
   section (sliceAdmissionMedicationsSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceMedication).entry
      emptyReasonn/a
      section.component.section
   section (sliceMedicationsSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceMedicationAdministration).entry
      emptyReasonn/a
      section.component.section
   section (sliceResultsSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceUSCoreObservationResults).entry
      emptyReasonn/a
      section.component.section
   section (slicePlanOfTreatmentSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceEICRServiceRequest).entry
      entry (sliceUSCoreMedicationRequest).entry
      emptyReasonn/a
      section.component.section
   section (sliceImmunizationsSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceUSCoreImmunization).entry
      entry (sliceVaccineCredentialsPatientAssertion).entry
      emptyReasonn/a
      section.component.section
   section (sliceProceduresSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceEICRProcedure).entry
      emptyReasonn/a
      section.component.section
   section (sliceVitalSignsSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceVitalSigns).entry
      emptyReasonn/a
      section.component.section
   section (sliceSocialHistorySection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceCharacteristicsOfHomeEnvironment).entry
      entry (sliceODHPastOrPresentJob).entry
      entry (sliceODHUsualWork).entry
      entry (sliceODHEmploymentStatus).entry
      entry (sliceTravelHistory).entry
      entry (sliceDisabilityStatus).entry
      entry (sliceExposureContactInformation).entry
      entry (sliceCountryOfResidence).entry
      entry (sliceCountryOfNationality).entry
      emptyReasonn/a
      section.component.section
   section (slicePregnancySection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (slicePregnancyStatusObservation).entry
      entry (slicePregnancyOutcome).entry
      entry (sliceLastMenstrualPeriod).entry
      entry (slicePostpartumStatus).entry
      emptyReasonn/a
      section.component.section
   section (sliceEmergencyOutbreakInformationSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceObservationEmergencyOutbreakInformation).entry
      emptyReasonn/a
      section.component.section
   section (slicePastMedicalHistorySection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceUSCoreCondition).entry
      emptyReasonn/a
      section.component.section
   section (sliceReviewOfSystemsSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      emptyReasonn/a
      section.component.section
   section (sliceReportabilityResponseInformationSection).component.structuredBody.component.section
      title.title
      code.code
      author.author.assignedAuthor
      focus.subject? (CDA did not differentiate between subject and focus)
      text.text
      moden/a
      orderedByn/a
      entry.entry
      entry (sliceReportabilityResponseRelevantCondition).entry
      emptyReasonn/a
      section.component.section

Mappings for FHIR DocumentReference (http://hl7.org/fhir/documentreference)

EICRComposition
Compositionwhen described by DocumentReference
   identifierDocumentReference.masterIdentifier
   statusDocumentReference.status
   typeDocumentReference.type
   categoryDocumenttReference.category
   subjectDocumentReference.subject
   encounterDocumentReference.context.encounter
   dateDocumentReference.content.attachment.date, DocumentReference.created
   authorDocumentReference.agent
   titleDocumentReference.description, DocumentReference.content.attachment.title
   confidentialityDocumentReference.securityLabel
   attesterDocumentReference.authenticator
   custodianDocumentReference.custodian
   relatesToDocumentReference.relatesTo
      codeDocumentReference.relatesTo.code
      target[x]DocumentReference.relatesTo.target
   relatesTo (sliceTransformed)DocumentReference.relatesTo
      codeDocumentReference.relatesTo.code
      target[x]DocumentReference.relatesTo.target
   relatesTo (sliceReplaced)DocumentReference.relatesTo
      codeDocumentReference.relatesTo.code
      target[x]DocumentReference.relatesTo.target
   eventDocumentReference.event
      codeDocumentReference.event.code
      periodDocumentReference.event.period

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

EICRComposition
Composition
   identifierFiveWs.identifier
   statusFiveWs.status
   typeFiveWs.class
   categoryFiveWs.class
   subjectFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   dateFiveWs.done[x]
   authorFiveWs.author
   attester
      partyFiveWs.witness
   section
      authorFiveWs.author
      modeFiveWs.class
   section (sliceReasonForVisitSection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceChiefComplaintSection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceHistoryOfPresentIllnessSection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceProblemSection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceMedicationsAdministeredSection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceAdmissionMedicationsSection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceMedicationsSection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceResultsSection)
      authorFiveWs.author
      modeFiveWs.class
   section (slicePlanOfTreatmentSection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceImmunizationsSection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceProceduresSection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceVitalSignsSection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceSocialHistorySection)
      authorFiveWs.author
      modeFiveWs.class
   section (slicePregnancySection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceEmergencyOutbreakInformationSection)
      authorFiveWs.author
      modeFiveWs.class
   section (slicePastMedicalHistorySection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceReviewOfSystemsSection)
      authorFiveWs.author
      modeFiveWs.class
   section (sliceReportabilityResponseInformationSection)
      authorFiveWs.author
      modeFiveWs.class