This page is part of the FHIR Specification (v4.3.0: R4B -  STU). This is a downloaded version of the specification.  For a full list of available versions, see the Directory of published versions 
Patient Care   Work Group | Maturity Level: 1 | Trial Use | Security Category: Patient | Compartments: Device, Patient, Practitioner | 
Detailed Descriptions for the elements in the Flag resource.
| Flag | |
| Element Id | Flag | 
| Definition | Prospective warnings of potential issues when providing care to the patient.  | 
| Cardinality | 0..* | 
| Type | DomainResource | 
| Alternate Names | Barriers to Care; Alert; Warning | 
| Summary | false | 
| Flag.identifier | |
| Element Id | Flag.identifier | 
| Definition | Business identifiers assigned to this flag by the performer or other systems which remain constant as the resource is updated and propagates from server to server.  | 
| Note | This is a business identifier, not a resource identifier (see discussion) | 
| Cardinality | 0..* | 
| Type | Identifier | 
| Requirements | Allows identification of the flag as it is known by various participating systems and in a way that remains consistent across servers.  | 
| Summary | true | 
| Comments | This is a business identifier, not a resource identifier (see discussion). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.  | 
| Flag.status | |
| Element Id | Flag.status | 
| Definition | Supports basic workflow.  | 
| Cardinality | 1..1 | 
| Terminology Binding | FlagStatus (Required) | 
| Type | code | 
| Is Modifier | true (Reason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid) | 
| Summary | true | 
| Comments | This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.  | 
| Flag.category | |
| Element Id | Flag.category | 
| Definition | Allows a 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.  | 
| Cardinality | 0..* | 
| Terminology Binding | Flag Category (Example) | 
| Type | CodeableConcept | 
| Summary | true | 
| Comments | The value set will often need to be adjusted based on local business rules and usage context.  | 
| Flag.code | |
| Element Id | Flag.code | 
| Definition | The coded value or textual component of the flag to display to the user.  | 
| Cardinality | 1..1 | 
| Terminology Binding | Flag Code (Example) | 
| Type | CodeableConcept | 
| Summary | true | 
| Comments | If non-coded, use CodeableConcept.text. This element should always be included in the narrative.  | 
| Flag.subject | |
| Element Id | Flag.subject | 
| Definition | The patient, location, group, organization, or practitioner etc. this is about record this flag is associated with.  | 
| Cardinality | 1..1 | 
| Type | Reference(Patient | Location | Group | Organization | Practitioner | PlanDefinition | Medication | Procedure) | 
| Summary | true | 
| Flag.period | |
| Element Id | 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.  | 
| Cardinality | 0..1 | 
| Type | Period | 
| Summary | true | 
| Flag.encounter | |
| Element Id | Flag.encounter | 
| Definition | This alert is only relevant during the encounter.  | 
| Cardinality | 0..1 | 
| Type | Reference(Encounter) | 
| Summary | true | 
| Comments | If both Flag.encounter and Flag.period are valued, then Flag.period.start shall not be before Encounter.period.start and Flag.period.end shall not be after Encounter.period.end.  | 
| Flag.author | |
| Element Id | Flag.author | 
| Definition | The person, organization or device that created the flag.  | 
| Cardinality | 0..1 | 
| Type | Reference(Device | Organization | Patient | Practitioner | PractitionerRole) | 
| Summary | true |