NEWFree ROI Calculators — quantify what prior auth and siloed data are costing your organization.Prior Auth ROI Siloed Data ROI
HL7 v2Segment5 min read

HL7 GOL Segment: Goal Detail

The GOL segment carries one care goal: its code, established and target dates, life-cycle status, and review schedule. It is the core of the PPG (patient goal) message and pairs with PRB problems and PTH pathways in problem-oriented records.

Purpose

GOL conveys a single goal and its management metadata — identity (GOL-3), instance/episode links, established and expected-achievement dates, review status and schedule, evaluation, and life-cycle status — using an action code (GOL-1) to add, update, or delete it.

Used in

GOL appears in goal-oriented messages: PPG (patient goal) and related care-record messages. See PPG.

Field-by-field reference

Source: HAPI HL7v2 v2.5.1 javadocs (GOL) for sequence, name, and data type. Length is not published in the javadocs (); Required and Table # are filled from the HL7 v2.5.1 standard where well-established.

SeqNameData TypeLengthReqRepeatTable #Description
GOL-1Action CodeIDRHL70287Add/update/delete the goal.
GOL-2Action Date/TimeTSRWhen the action occurred.
GOL-3Goal IDCERThe coded goal.
GOL-4Goal Instance IDEIOUnique goal instance.
GOL-5Episode of Care IDEIOEpisode of care link.
GOL-6Goal List PriorityNMOPriority on the goal list.
GOL-7Goal Established Date/TimeTSOWhen established.
GOL-8Expected Goal Achieve Date/TimeTSOTarget achievement date.
GOL-9Goal ClassificationCEOClassification.
GOL-10Goal Management DisciplineCEOManaging discipline.
GOL-11Current Goal Review StatusCEOCurrent review status.
GOL-12Current Goal Review Date/TimeTSOCurrent review date.
GOL-13Next Goal Review Date/TimeTSONext review date.
GOL-14Previous Goal Review Date/TimeTSOPrevious review date.
GOL-15Goal Review IntervalTQOReview interval.
GOL-16Goal EvaluationCEOEvaluation result.
GOL-17Goal Evaluation CommentSTOYEvaluation comment.
GOL-18Goal Life Cycle StatusCEOLife-cycle status.
GOL-19Goal Life Cycle Status Date/TimeTSOStatus date.
GOL-20Goal Target TypeCEOTarget type.
GOL-21Goal Target NameXPNOYTarget name.

Most-used fields

  • GOL-1 Action Code and GOL-2 Action Date/Time drive add/update/delete of the goal.
  • GOL-3 Goal ID is the coded goal; GOL-8 target date and GOL-18 life-cycle status track progress.

Version differences (2.3 to 2.8.2)

  • GOL was introduced with goal messaging in v2.3 and is stable through later versions.
  • Coded fields use CE.

Common mistakes

  • Treating every GOL as an add and duplicating goals; honor GOL-1.
  • Ignoring the review schedule (GOL-12/13) when syncing care plans.

Examples

Minimal valid GOL:

GOL|AD|20260610100000|WT-LOSS^Weight loss 5kg^L

Fully-populated GOL:

GOL|AD|20260610100000|WT-LOSS^Weight loss 5kg^L|GOL77^MERCYGEN||1|20260610000000|20261210000000|||IP^In Progress^L|20260610000000|20260710000000

Annotated breakdown of the fully-populated example (selected fields):

GOL                          ← segment ID
AD                           ← GOL-1  Action Code (Add)
20260610100000               ← GOL-2  Action Date/Time
WT-LOSS^Weight loss 5kg^L    ← GOL-3  Goal ID
GOL77^MERCYGEN               ← GOL-4  Goal Instance ID
20261210000000               ← GOL-8  Expected Achieve Date/Time
IP^In Progress^L             ← GOL-11 Current Goal Review Status

In-context inside a PPG^PCG (goal add):

MSH|^~&|EHR|MERCYGEN|REG|MERCYGEN|20260610100000||PPG^PCG^PPG_PCG|MSG912|P|2.5.1
PID|1||MR12345^^^MERCYGEN^MR||DOE^JOHN^Q||19800101|M
PRB|AD|20260610100000|E66.9^Obesity^I10|PRB60^MERCYGEN
GOL|AD|20260610100000|WT-LOSS^Weight loss 5kg^L|GOL77^MERCYGEN||1

In-context inside a PPG goal update:

MSH|^~&|EHR|MERCYGEN|REG|MERCYGEN|20260710100000||PPG^PCG^PPG_PCG|MSG913|P|2.5.1
PID|1||MR12345^^^MERCYGEN^MR||DOE^JOHN^Q||19800101|M
GOL|UP|20260710100000|WT-LOSS^Weight loss 5kg^L|GOL77^MERCYGEN|||||||AC^Achieved^L

FHIR mapping

No segment-level ConceptMap is published in the v2-to-FHIR IG for GOL. A care goal maps conceptually to the FHIR Goal resource (with lifecycleStatus from GOL-18); implementations define this locally.

Engine considerations

  • Branch on GOL-1; match updates to the existing goal by GOL-4 instance id.
  • Map GOL-18 life-cycle status to the target system's goal states.

How Vorro parses and produces GOL

Vorro keys goals by GOL-4 instance id, applies GOL-1 add/update/delete idempotently, and maps life-cycle status to FHIR Goal.lifecycleStatus on output.

  • PRB — the problems a goal addresses.
  • PTH — pathways linking problems and goals.
  • PPG messages — the goal message GOL heads.

Sources

← Back to HL7 v2 Guide

Ready to Integrate This Into Your Workflow?

Talk to a Vorro expert about implementing HL7 v2 in your specific environment.

Browse HL7 v2 Guides
HL7 GOL Segment: Goal Detail | Vorro Academy | Vorro