Huli FHIR Core Implementation Guide (R5)
0.1.0 - Release Latin America and the Caribbean

Huli FHIR Core Implementation Guide (R5) - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Encounter Mapping

Encounter Mapping (R5)

HuliEncounter profiles the FHIR R5 Encounter resource. R5 restructured Encounter substantially; the deltas vs. the R4 IG are called out below.

Huli source FHIR R5 element R4 element (for reference)
encounter_status = completed status = #completed status = #finished
encounter class class[] (CodeableConcept 0..*) class (single Coding)
patient subject (1..1, Reference(HuliPatient)) same
time window actualPeriod period
performing practitioner participant[0].actor participant[0].individual
clinical_data.reason reason.value.concept.text reasonCode.text
assessment_plan.diagnoses[] diagnosis.condition (CodeableReference) diagnosis.condition (Reference)
diagnosis primary/secondary diagnosis.use diagnosis.rank
tenant org serviceProvider same

Write behavior: only participant[0].actor is consumed and is treated as a Practitioner. The new R5 subjectStatus element is not profiled.