This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). The current version which supercedes this version is 5.0.0.  For a full list of available versions, see the Directory of published versions 
. Page versions: R5 R4B R4 R3 R2

Detailed Descriptions for the elements in the Flag resource.
| Flag | |
| Definition | Prospective warnings of potential issues when providing care to the patient.  | 
| Control | 1..1 | 
| Alternate Names | Barriers to Care; Alert; Warning | 
| Flag.identifier | |
| Definition | Identifier assigned to the flag for external use (outside the FHIR environment).  | 
| Note | This is a business identifer, not a resource identifier (see discussion) | 
| Control | 0..* | 
| Type | Identifier | 
| Summary | true | 
| Flag.category | |
| Definition | Allows an flag to be divided into different categories like clinical, administrative etc. Intended to be used as a means of filtering which flags are displayed to particular user or in a given context.  | 
| Control | 0..1 | 
| Binding | Flag Category: A general category for flags for filtering/display purposes. (Example) | 
| Type | CodeableConcept | 
| Summary | true | 
| Flag.status | |
| Definition | Supports basic workflow.  | 
| Control | 1..1 | 
| Binding | FlagStatus: Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or entered in error. (Required) | 
| Type | code | 
| Is Modifier | true | 
| Summary | true | 
| Flag.period | |
| Definition | The period of time from the activation of the flag to inactivation of the flag. If the flag is active, the end of the period should be unspecified.  | 
| Control | 0..1 | 
| Type | Period | 
| Summary | true | 
| Flag.subject | |
| Definition | The patient, location, group , organization , or practitioner, etc. this is about record this flag is associated with.  | 
| Control | 1..1 | 
| Type | Reference(Patient | Location | Group | Organization | Practitioner | PlanDefinition | Medication | Procedure) | 
| Summary | true | 
| Flag.encounter | |
| Definition | This alert is only relevant during the encounter.  | 
| Control | 0..1 | 
| Type | Reference(Encounter) | 
| Summary | true | 
| Flag.author | |
| Definition | The person, organization or device that created the flag.  | 
| Control | 0..1 | 
| Type | Reference(Device | Organization | Patient | Practitioner) | 
| Summary | true | 
| Flag.code | |
| Definition | The coded value or textual component of the flag to display to the user.  | 
| Control | 1..1 | 
| Binding | Flag Code: Detail codes identifying specific flagged issues. (Example) | 
| Type | CodeableConcept | 
| Summary | true | 
| Comments | If non coded, use CodeableConcept.text. This element should always be included in the narrative.  |