description: Base StructureDefinition for Flag Resource package_name: hl7.fhir.core derivation: specialization name: Flag type: Flag elements: identifier: {short: Business identifier, type: Identifier, array: true, isSummary: true, index: 0} category: {short: 'Clinical, administrative, etc.', type: CodeableConcept, isSummary: true, index: 1} status: {isModifier: true, short: active | inactive | entered-in-error, type: code, isSummary: true, index: 2} period: {short: Time period when flag is active, type: Period, isSummary: true, index: 3} subject: 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/Procedure'] type: Reference isSummary: true index: 4 encounter: short: Alert relevant during encounter refers: ['http://hl7.org/fhir/StructureDefinition/Encounter'] 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. type: Reference isSummary: true index: 5 author: 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'] type: Reference isSummary: true index: 6 code: {short: Coded or textual message to display to user, comments: 'If non coded, use CodeableConcept.text. This element should always be included in the narrative.', type: CodeableConcept, isSummary: true, index: 7} package_version: 1.8.0 class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/Flag base: http://hl7.org/fhir/StructureDefinition/DomainResource version: null required: [status, subject, code]