description: Prospective warnings of potential issues when providing care to the patient. package_name: hl7.fhir.r5.examples derivation: specialization name: Flag type: Flag elements: identifier: {isModifier: false, short: Business identifier, type: Identifier, mustSupport: false, array: true, isSummary: true, index: 0} status: isModifier: true short: active | inactive | entered-in-error index: 1 type: code mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/flag-status|5.0.0-draft-final'} isModifierReason: 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 isSummary: true category: isModifier: false short: Clinical, administrative, etc type: CodeableConcept mustSupport: false array: true binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/flag-category'} isSummary: true index: 2 code: isModifier: false short: Coded or textual message to display to user type: CodeableConcept mustSupport: false binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/flag-code'} isSummary: true index: 3 subject: isModifier: false short: Who/What is flag about? refers: ['http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Medication', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/PlanDefinition', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/Procedure', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] type: Reference mustSupport: false isSummary: true index: 4 period: {isModifier: false, short: Time period when flag is active, type: Period, mustSupport: false, isSummary: true, index: 5} encounter: isModifier: false short: Alert relevant during encounter refers: ['http://hl7.org/fhir/StructureDefinition/Encounter'] type: Reference mustSupport: false isSummary: true index: 6 author: isModifier: false short: Flag creator refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] type: Reference mustSupport: false isSummary: true index: 7 package_version: 5.0.0-draft-final class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/Flag base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 5.0.0-draft-final required: [status, subject, code]