Entity: Flag - itaybraun/FHIR_OS_SampleData GitHub Wiki
Act as Patient Notes
Prospective warnings of potential issues when providing care to the patient. https://www.hl7.org/fhir/flag.html
flag is a warning or notification of some sort presented to the user - who may be a clinician or some other person involve in patient care. It usually represents something of sufficient significance to warrant a special display of some sort - rather than just a note in the resource. A flag has a subject representing the resource that will trigger its display. This subject can be of different types, as described in the examples below:
A note that a patient has an overdue account, which the provider may wish to discuss with them - in case of hardship for example (subject = Patient) An outbreak of Ebola in a particular region (subject=Location) so that all patients from that region have a higher risk of having that condition A particular provider is unavailable for referrals over a given period (subject = Practitioner) A patient who is enrolled in a clinical trial (subject=Group) Special guidance or caveats to be aware of when following a protocol (subject=PlanDefinition) Warnings about using a drug in a formulary requires special approval (subject=Medication) etc. A flag is typically presented as a label in a prominent location in the record to notify the clinician of the potential issues
https://www.hl7.org/fhir/flag-example.html Flag Category: https://www.hl7.org/fhir/valueset-flag-category.html
Flag Status: https://www.hl7.org/fhir/valueset-flag-status.html {active, inactive, entered-in-error}
Flag Code: https://www.hl7.org/fhir/valueset-flag-code.html { Ulcer, Anxiety....) { "resourceType": "Flag", "id": "example", "text": { "status": "generated", "div": "<div xmlns="http://www.w3.org/1999/xhtml\">Large Dog warning for Peter Patient" }, "identifier": [ { "value": "12345" } ], "status": "inactive", "category": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/flag-category", "code": "safety", "display": "Safety" } ], "text": "Safety" } ], "code": { "coding": [ { "system": "http://example.org/local", "code": "bigdog", "display": "Big dog" } ], "text": "Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures" }, "subject": { "reference": "Patient/example", "display": "Peter Patient" }, "period": { "start": "2015-01-17", "end": "2016-12-01" }, "author": { "reference": "Practitioner/example", "display": "Nancy Nurse" } }
The Flag resource can point to the Encounter, once created. For ex. https://www.hl7.org/fhir/flag-example-encounter.json.html