HL7 table 0004 in FHIR

How the codes of HL7 table 0004 translate to FHIR codes, from the HL7 Version 2 to FHIR guide.

HL7 table definition
0004 Patient Class
Code map
v3-actcode
HL7 code system
http://terminology.hl7.org/CodeSystem/v2-0004
FHIR code system
http://terminology.hl7.org/CodeSystem/v3-ActCode

codes 9

HL7 codeHL7 descriptionFHIR codeFHIR displayFHIR system
EEmergencyEMERhttp://terminology.hl7.org/CodeSystem/v3-ActCode
IInpatientIMPhttp://terminology.hl7.org/CodeSystem/v3-ActCode
OOutpatientAMBhttp://terminology.hl7.org/CodeSystem/v3-ActCode
PPreadmitPRENChttp://terminology.hl7.org/CodeSystem/v3-ActCode
RRecurring patientRhttp://terminology.hl7.org/CodeSystem/v2-0004
BObstetricsBhttp://terminology.hl7.org/CodeSystem/v2-0004
CCommercial AccountChttp://terminology.hl7.org/CodeSystem/v2-0004
NNot ApplicableNhttp://terminology.hl7.org/CodeSystem/v2-0004
UUnknownUhttp://terminology.hl7.org/CodeSystem/v2-0004

Used by 1

HL7 v2 sourceFHIR element
PV1-2Encounter.class