Defines the UK Core constraints and extensions on the Flag resource for the minimal set of data to query and retrieve flag information.
This profile allows exchange of information about prospective warnings of potential issues when providing care to the patient.
Flag | I | Flag | |
identifier | Σ | 0..* | Identifier |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | Σ | 0..1 | uri |
value | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
assigner | Σ I | 0..1 | Reference(UK Core Organization) |
status | Σ ?! | 1..1 | codeBinding |
category | Σ | 0..* | CodeableConcept |
code | Σ | 1..1 | CodeableConcept |
subject | Σ I | 1..1 | Reference(UK Core Location | UK Core Medication | UK Core Organization | UK Core Patient | UK Core Practitioner | UK Core Procedure | Group | PlanDefinition) |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | Σ | 0..1 | uri |
value | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
assigner | Σ I | 0..1 | Reference(UK Core Organization) |
display | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
encounter | Σ I | 0..1 | Reference(UK Core Encounter) |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | Σ | 0..1 | uri |
value | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
assigner | Σ I | 0..1 | Reference(UK Core Organization) |
display | Σ | 0..1 | string |
author | Σ I | 0..1 | Reference(UK Core Device | UK Core Organization | UK Core Patient | UK Core Practitioner | UK Core PractitionerRole) |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | Σ | 0..1 | uri |
value | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
assigner | Σ I | 0..1 | Reference(UK Core Organization) |
display | Σ | 0..1 | string |
Flag | I | Flag | |
identifier | Σ | 0..* | Identifier |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | Σ | 0..1 | uri |
value | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
assigner | Σ I | 0..1 | Reference(UK Core Organization) |
status | Σ ?! | 1..1 | codeBinding |
category | Σ | 0..* | CodeableConcept |
code | Σ | 1..1 | CodeableConcept |
subject | Σ I | 1..1 | Reference(UK Core Location | UK Core Medication | UK Core Organization | UK Core Patient | UK Core Practitioner | UK Core Procedure | Group | PlanDefinition) |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | Σ | 0..1 | uri |
value | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
assigner | Σ I | 0..1 | Reference(UK Core Organization) |
display | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
encounter | Σ I | 0..1 | Reference(UK Core Encounter) |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | Σ | 0..1 | uri |
value | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
assigner | Σ I | 0..1 | Reference(UK Core Organization) |
display | Σ | 0..1 | string |
author | Σ I | 0..1 | Reference(UK Core Device | UK Core Organization | UK Core Patient | UK Core Practitioner | UK Core PractitionerRole) |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | Σ | 0..1 | uri |
value | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
assigner | Σ I | 0..1 | Reference(UK Core Organization) |
display | Σ | 0..1 | string |
Flag | I | Flag | |
identifier | Σ | 0..* | Identifier |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | Σ | 0..1 | uri |
value | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
assigner | Σ I | 0..1 | Reference(UK Core Organization) |
status | Σ ?! | 1..1 | codeBinding |
category | Σ | 0..* | CodeableConcept |
code | Σ | 1..1 | CodeableConcept |
subject | Σ I | 1..1 | Reference(UK Core Location | UK Core Medication | UK Core Organization | UK Core Patient | UK Core Practitioner | UK Core Procedure | Group | PlanDefinition) |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | Σ | 0..1 | uri |
value | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
assigner | Σ I | 0..1 | Reference(UK Core Organization) |
display | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
encounter | Σ I | 0..1 | Reference(UK Core Encounter) |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | Σ | 0..1 | uri |
value | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
assigner | Σ I | 0..1 | Reference(UK Core Organization) |
display | Σ | 0..1 | string |
author | Σ I | 0..1 | Reference(UK Core Device | UK Core Organization | UK Core Patient | UK Core Practitioner | UK Core PractitionerRole) |
reference | Σ I | 0..1 | string |
type | Σ | 0..1 | uriBinding |
identifier | Σ | 0..1 | Identifier |
use | Σ ?! | 0..1 | codeBinding |
type | Σ | 0..1 | CodeableConceptBinding |
system | Σ | 0..1 | uri |
value | Σ | 0..1 | string |
period | Σ I | 0..1 | Period |
assigner | Σ I | 0..1 | Reference(UK Core Organization) |
display | Σ | 0..1 | string |
Flag | .. | |
Flag.identifier | .. | |
Flag.identifier.assigner | Reference(UK Core Organization) | .. |
Flag.subject | Reference(UK Core Location | UK Core Medication | UK Core Organization | UK Core Patient | UK Core Practitioner | UK Core Procedure | Group | PlanDefinition) | .. |
Flag.subject.identifier | .. | |
Flag.subject.identifier.assigner | Reference(UK Core Organization) | .. |
Flag.encounter | Reference(UK Core Encounter) | .. |
Flag.encounter.identifier | .. | |
Flag.encounter.identifier.assigner | Reference(UK Core Organization) | .. |
Flag.author | Reference(UK Core Device | UK Core Organization | UK Core Patient | UK Core Practitioner | UK Core PractitionerRole) | .. |
Flag.author.identifier | .. | |
Flag.author.identifier.assigner | Reference(UK Core Organization) | .. |
<StructureDefinition xmlns="http://hl7.org/fhir"> <id value="UKCore-Flag" /> <url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Flag" /> <version value="1.1.0" /> <name value="UKCoreFlag" /> <title value="UK Core Flag" /> <status value="active" /> <date value="2022-05-20" /> <publisher value="HL7 UK" /> <contact> <name value="HL7 UK" /> <telecom> <system value="email" /> <value value="secretariat@hl7.org.uk" /> <use value="work" /> <rank value="1" /> </telecom> </contact> <contact> <name value="NHS Digital" /> <telecom> <system value="email" /> <value value="interoperabilityteam@nhs.net" /> <use value="work" /> <rank value="2" /> </telecom> </contact> <description value="Defines the UK Core constraints on the Flag resource to provide information on prospective warnings of potential issues when providing care to the patient." /> <purpose value="A 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.\n\nThis subject can be of different types, as described in the examples below:\n\n- 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)\n- 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\n- A particular provider is unavailable for referrals over a given period (subject = Practitioner)\n- A patient who is enrolled in a clinical trial (subject=Group)\n- Special guidance or caveats to be aware of when following a protocol (subject=PlanDefinition)\n- Warnings about using a drug in a formulary requires special approval (subject=Medication)\n- etc." /> <copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html." /> <fhirVersion value="4.0.1" /> <mapping> <identity value="w5" /> <uri value="http://hl7.org/fhir/fivews" /> <name value="FiveWs Pattern Mapping" /> </mapping> <mapping> <identity value="rim" /> <uri value="http://hl7.org/v3" /> <name value="RIM Mapping" /> </mapping> <kind value="resource" /> <abstract value="false" /> <type value="Flag" /> <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Flag" /> <derivation value="constraint" /> <differential> <element id="Flag.identifier.assigner"> <path value="Flag.identifier.assigner" /> <type> <code value="Reference" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> </type> </element> <element id="Flag.subject"> <path value="Flag.subject" /> <type> <code value="Reference" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure" /> <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group" /> <targetProfile value="http://hl7.org/fhir/StructureDefinition/PlanDefinition" /> </type> </element> <element id="Flag.subject.identifier.assigner"> <path value="Flag.subject.identifier.assigner" /> <type> <code value="Reference" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> </type> </element> <element id="Flag.encounter"> <path value="Flag.encounter" /> <type> <code value="Reference" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter" /> </type> </element> <element id="Flag.encounter.identifier.assigner"> <path value="Flag.encounter.identifier.assigner" /> <type> <code value="Reference" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> </type> </element> <element id="Flag.author"> <path value="Flag.author" /> <type> <code value="Reference" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" /> </type> </element> <element id="Flag.author.identifier.assigner"> <path value="Flag.author.identifier.assigner" /> <type> <code value="Reference" /> <targetProfile value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" /> </type> </element> </differential> </StructureDefinition>
{ "resourceType": "StructureDefinition", "id": "UKCore-Flag", "url": "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Flag", "version": "1.1.0", "name": "UKCoreFlag", "title": "UK Core Flag", "status": "active", "date": "2022-05-20", "publisher": "HL7 UK", "contact": [ { "name": "HL7 UK", "telecom": [ { "system": "email", "value": "secretariat@hl7.org.uk", "use": "work", "rank": 1 } ] }, { "name": "NHS Digital", "telecom": [ { "system": "email", "value": "interoperabilityteam@nhs.net", "use": "work", "rank": 2 } ] } ], "description": "Defines the UK Core constraints on the Flag resource to provide information on prospective warnings of potential issues when providing care to the patient.", "purpose": "A 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.\n\nThis subject can be of different types, as described in the examples below:\n\n- 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)\n- 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\n- A particular provider is unavailable for referrals over a given period (subject = Practitioner)\n- A patient who is enrolled in a clinical trial (subject=Group)\n- Special guidance or caveats to be aware of when following a protocol (subject=PlanDefinition)\n- Warnings about using a drug in a formulary requires special approval (subject=Medication)\n- etc.", "copyright": "Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at https://www.hl7.org/fhir/license.html.", "fhirVersion": "4.0.1", "mapping": [ { "identity": "w5", "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping" }, { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping" } ], "kind": "resource", "abstract": false, "type": "Flag", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Flag", "derivation": "constraint", "differential": { "element": [ { "id": "Flag.identifier.assigner", "path": "Flag.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" ] } ] }, { "id": "Flag.subject", "path": "Flag.subject", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Location", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Medication", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure", "http://hl7.org/fhir/StructureDefinition/Group", "http://hl7.org/fhir/StructureDefinition/PlanDefinition" ] } ] }, { "id": "Flag.subject.identifier.assigner", "path": "Flag.subject.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" ] } ] }, { "id": "Flag.encounter", "path": "Flag.encounter", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Encounter" ] } ] }, { "id": "Flag.encounter.identifier.assigner", "path": "Flag.encounter.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" ] } ] }, { "id": "Flag.author", "path": "Flag.author", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Device", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Practitioner", "https://fhir.hl7.org.uk/StructureDefinition/UKCore-PractitionerRole" ] } ] }, { "id": "Flag.author.identifier.assigner", "path": "Flag.author.identifier.assigner", "type": [ { "code": "Reference", "targetProfile": [ "https://fhir.hl7.org.uk/StructureDefinition/UKCore-Organization" ] } ] } ] } }
The following are example usage scenarios for the UK Core Flag profile:
identifier
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.
It is recommended that the identifier
value is a Universally Unique Identifier (UUID) as there is no nationally recognised business identifier for an instance of a recorded Flag.
Consumer systems MUST consume this data.
status
Supports basic workflow.
This element MUST be present and use a value from the CodeSystem below:
This code system http://hl7.org/fhir/flag-status defines the following codes:
CodeSystem.id[0] | flag-status |
CodeSystem.meta[0].lastUpdated[0] | 2019-11-01T09:29:23.356+11:00 |
CodeSystem.extension[0].url[0] | http://hl7.org/fhir/StructureDefinition/structuredefinition-wg |
CodeSystem.extension[0].valueCode[0] | pc |
CodeSystem.extension[1].url[0] | http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status |
CodeSystem.extension[1].valueCode[0] | trial-use |
CodeSystem.extension[2].url[0] | http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm |
CodeSystem.extension[2].valueInteger[0] | 1 |
CodeSystem.url[0] | http://hl7.org/fhir/flag-status |
CodeSystem.identifier[0].system[0] | urn:ietf:rfc:3986 |
CodeSystem.identifier[0].value[0] | urn:oid:2.16.840.1.113883.4.642.4.121 |
CodeSystem.version[0] | 4.0.1 |
CodeSystem.name[0] | FlagStatus |
CodeSystem.title[0] | FlagStatus |
CodeSystem.status[0] | draft |
CodeSystem.experimental[0] | False |
CodeSystem.date[0] | 2019-11-01T09:29:23+11:00 |
CodeSystem.publisher[0] | HL7 (FHIR Project) |
CodeSystem.contact[0].telecom[0].system[0] | url |
CodeSystem.contact[0].telecom[0].value[0] | http://hl7.org/fhir |
CodeSystem.contact[0].telecom[1].system[0] | |
CodeSystem.contact[0].telecom[1].value[0] | fhir@lists.hl7.org |
CodeSystem.description[0] | Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or was entered in error. |
CodeSystem.caseSensitive[0] | True |
CodeSystem.valueSet[0] | http://hl7.org/fhir/ValueSet/flag-status |
CodeSystem.content[0] | complete |
CodeSystem.concept[0].code[0] | active |
CodeSystem.concept[0].display[0] | Active |
CodeSystem.concept[0].definition[0] | A current flag that should be displayed to a user. A system may use the category to determine which user roles should view the flag. |
CodeSystem.concept[1].code[0] | inactive |
CodeSystem.concept[1].display[0] | Inactive |
CodeSystem.concept[1].definition[0] | The flag no longer needs to be displayed. |
CodeSystem.concept[2].code[0] | entered-in-error |
CodeSystem.concept[2].display[0] | Entered in Error |
CodeSystem.concept[2].definition[0] | The flag was added in error and should no longer be displayed. |
<CodeSystem xmlns="http://hl7.org/fhir"> <id value="flag-status" /> <meta> <lastUpdated value="2019-11-01T09:29:23.356+11:00" /> </meta> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"> <valueCode value="pc" /> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"> <valueCode value="trial-use" /> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"> <valueInteger value="1" /> </extension> <url value="http://hl7.org/fhir/flag-status" /> <identifier> <system value="urn:ietf:rfc:3986" /> <value value="urn:oid:2.16.840.1.113883.4.642.4.121" /> </identifier> <version value="4.0.1" /> <name value="FlagStatus" /> <title value="FlagStatus" /> <status value="draft" /> <experimental value="false" /> <date value="2019-11-01T09:29:23+11:00" /> <publisher value="HL7 (FHIR Project)" /> <contact> <telecom> <system value="url" /> <value value="http://hl7.org/fhir" /> </telecom> <telecom> <system value="email" /> <value value="fhir@lists.hl7.org" /> </telecom> </contact> <description value="Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or was entered in error." /> <caseSensitive value="true" /> <valueSet value="http://hl7.org/fhir/ValueSet/flag-status" /> <content value="complete" /> <concept> <code value="active" /> <display value="Active" /> <definition value="A current flag that should be displayed to a user. A system may use the category to determine which user roles should view the flag." /> </concept> <concept> <code value="inactive" /> <display value="Inactive" /> <definition value="The flag no longer needs to be displayed." /> </concept> <concept> <code value="entered-in-error" /> <display value="Entered in Error" /> <definition value="The flag was added in error and should no longer be displayed." /> </concept> </CodeSystem>
{ "resourceType": "CodeSystem", "id": "flag-status", "meta": { "lastUpdated": "2019-11-01T09:29:23.356+11:00" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "trial-use" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 } ], "url": "http://hl7.org/fhir/flag-status", "identifier": [ { "system": "urn:ietf:rfc:3986", "value": "urn:oid:2.16.840.1.113883.4.642.4.121" } ], "version": "4.0.1", "name": "FlagStatus", "title": "FlagStatus", "status": "draft", "experimental": false, "date": "2019-11-01T09:29:23+11:00", "publisher": "HL7 (FHIR Project)", "contact": [ { "telecom": [ { "system": "url", "value": "http://hl7.org/fhir" }, { "system": "email", "value": "fhir@lists.hl7.org" } ] } ], "description": "Indicates whether this flag is active and needs to be displayed to a user, or whether it is no longer needed or was entered in error.", "caseSensitive": true, "valueSet": "http://hl7.org/fhir/ValueSet/flag-status", "content": "complete", "concept": [ { "code": "active", "display": "Active", "definition": "A current flag that should be displayed to a user. A system may use the category to determine which user roles should view the flag." }, { "code": "inactive", "display": "Inactive", "definition": "The flag no longer needs to be displayed." }, { "code": "entered-in-error", "display": "Entered in Error", "definition": "The flag was added in error and should no longer be displayed." } ] }
This element is labelled as a modifier because the status contains codes that mark the resource as not currently valid.
category
Allows a flag to be divided into different categories.
This element currently uses the FHIR example ValueSet shown below as no UK Core ValueSet has been defined:
This code system http://terminology.hl7.org/CodeSystem/flag-category defines the following codes:
CodeSystem.id[0] | flag-category |
CodeSystem.meta[0].lastUpdated[0] | 2019-11-01T09:29:23.356+11:00 |
CodeSystem.meta[0].profile[0] | http://hl7.org/fhir/StructureDefinition/shareablecodesystem |
CodeSystem.extension[0].url[0] | http://hl7.org/fhir/StructureDefinition/structuredefinition-wg |
CodeSystem.extension[0].valueCode[0] | pc |
CodeSystem.extension[1].url[0] | http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status |
CodeSystem.extension[1].valueCode[0] | draft |
CodeSystem.extension[2].url[0] | http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm |
CodeSystem.extension[2].valueInteger[0] | 1 |
CodeSystem.url[0] | http://terminology.hl7.org/CodeSystem/flag-category |
CodeSystem.identifier[0].system[0] | urn:ietf:rfc:3986 |
CodeSystem.identifier[0].value[0] | urn:oid:2.16.840.1.113883.4.642.4.1071 |
CodeSystem.version[0] | 4.0.1 |
CodeSystem.name[0] | FlagCategory |
CodeSystem.title[0] | Flag Category |
CodeSystem.status[0] | draft |
CodeSystem.experimental[0] | False |
CodeSystem.publisher[0] | HL7 International - Patient Care WG |
CodeSystem.contact[0].telecom[0].system[0] | url |
CodeSystem.contact[0].telecom[0].value[0] | http://www.hl7.org/Special/committees/patientcare |
CodeSystem.description[0] | Example list of general categories for flagged issues. (Not complete or necessarily appropriate.) |
CodeSystem.caseSensitive[0] | True |
CodeSystem.valueSet[0] | http://hl7.org/fhir/ValueSet/flag-category |
CodeSystem.content[0] | complete |
CodeSystem.concept[0].code[0] | diet |
CodeSystem.concept[0].display[0] | Diet |
CodeSystem.concept[0].definition[0] | Flags related to the subject's dietary needs. |
CodeSystem.concept[1].code[0] | drug |
CodeSystem.concept[1].display[0] | Drug |
CodeSystem.concept[1].definition[0] | Flags related to the subject's medications. |
CodeSystem.concept[2].code[0] | lab |
CodeSystem.concept[2].display[0] | Lab |
CodeSystem.concept[2].definition[0] | Flags related to performing laboratory tests and related processes (e.g. phlebotomy). |
CodeSystem.concept[3].code[0] | admin |
CodeSystem.concept[3].display[0] | Administrative |
CodeSystem.concept[3].definition[0] | Flags related to administrative and financial processes. |
CodeSystem.concept[4].code[0] | contact |
CodeSystem.concept[4].display[0] | Subject Contact |
CodeSystem.concept[4].definition[0] | Flags related to coming into contact with the patient. |
CodeSystem.concept[5].code[0] | clinical |
CodeSystem.concept[5].display[0] | Clinical |
CodeSystem.concept[5].definition[0] | Flags related to the subject's clinical data. |
CodeSystem.concept[6].code[0] | behavioral |
CodeSystem.concept[6].display[0] | Behavioral |
CodeSystem.concept[6].definition[0] | Flags related to behavior. |
CodeSystem.concept[7].code[0] | research |
CodeSystem.concept[7].display[0] | Research |
CodeSystem.concept[7].definition[0] | Flags related to research. |
CodeSystem.concept[8].code[0] | advance-directive |
CodeSystem.concept[8].display[0] | Advance Directive |
CodeSystem.concept[8].definition[0] | Flags related to subject's advance directives. |
CodeSystem.concept[9].code[0] | safety |
CodeSystem.concept[9].display[0] | Safety |
CodeSystem.concept[9].definition[0] | Flags related to safety precautions. |
<CodeSystem xmlns="http://hl7.org/fhir"> <id value="flag-category" /> <meta> <lastUpdated value="2019-11-01T09:29:23.356+11:00" /> <profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem" /> </meta> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"> <valueCode value="pc" /> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"> <valueCode value="draft" /> </extension> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"> <valueInteger value="1" /> </extension> <url value="http://terminology.hl7.org/CodeSystem/flag-category" /> <identifier> <system value="urn:ietf:rfc:3986" /> <value value="urn:oid:2.16.840.1.113883.4.642.4.1071" /> </identifier> <version value="4.0.1" /> <name value="FlagCategory" /> <title value="Flag Category" /> <status value="draft" /> <experimental value="false" /> <publisher value="HL7 International - Patient Care WG" /> <contact> <telecom> <system value="url" /> <value value="http://www.hl7.org/Special/committees/patientcare" /> </telecom> </contact> <description value="Example list of general categories for flagged issues. (Not complete or necessarily appropriate.)" /> <caseSensitive value="true" /> <valueSet value="http://hl7.org/fhir/ValueSet/flag-category" /> <content value="complete" /> <concept> <code value="diet" /> <display value="Diet" /> <definition value="Flags related to the subject's dietary needs." /> </concept> <concept> <code value="drug" /> <display value="Drug" /> <definition value="Flags related to the subject's medications." /> </concept> <concept> <code value="lab" /> <display value="Lab" /> <definition value="Flags related to performing laboratory tests and related processes (e.g. phlebotomy)." /> </concept> <concept> <code value="admin" /> <display value="Administrative" /> <definition value="Flags related to administrative and financial processes." /> </concept> <concept> <code value="contact" /> <display value="Subject Contact" /> <definition value="Flags related to coming into contact with the patient." /> </concept> <concept> <code value="clinical" /> <display value="Clinical" /> <definition value="Flags related to the subject's clinical data." /> </concept> <concept> <code value="behavioral" /> <display value="Behavioral" /> <definition value="Flags related to behavior." /> </concept> <concept> <code value="research" /> <display value="Research" /> <definition value="Flags related to research." /> </concept> <concept> <code value="advance-directive" /> <display value="Advance Directive" /> <definition value="Flags related to subject's advance directives." /> </concept> <concept> <code value="safety" /> <display value="Safety" /> <definition value="Flags related to safety precautions." /> </concept> </CodeSystem>
{ "resourceType": "CodeSystem", "id": "flag-category", "meta": { "lastUpdated": "2019-11-01T09:29:23.356+11:00", "profile": [ "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg", "valueCode": "pc" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "draft" }, { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm", "valueInteger": 1 } ], "url": "http://terminology.hl7.org/CodeSystem/flag-category", "identifier": [ { "system": "urn:ietf:rfc:3986", "value": "urn:oid:2.16.840.1.113883.4.642.4.1071" } ], "version": "4.0.1", "name": "FlagCategory", "title": "Flag Category", "status": "draft", "experimental": false, "publisher": "HL7 International - Patient Care WG", "contact": [ { "telecom": [ { "system": "url", "value": "http://www.hl7.org/Special/committees/patientcare" } ] } ], "description": "Example list of general categories for flagged issues. (Not complete or necessarily appropriate.)", "caseSensitive": true, "valueSet": "http://hl7.org/fhir/ValueSet/flag-category", "content": "complete", "concept": [ { "code": "diet", "display": "Diet", "definition": "Flags related to the subject's dietary needs." }, { "code": "drug", "display": "Drug", "definition": "Flags related to the subject's medications." }, { "code": "lab", "display": "Lab", "definition": "Flags related to performing laboratory tests and related processes (e.g. phlebotomy)." }, { "code": "admin", "display": "Administrative", "definition": "Flags related to administrative and financial processes." }, { "code": "contact", "display": "Subject Contact", "definition": "Flags related to coming into contact with the patient." }, { "code": "clinical", "display": "Clinical", "definition": "Flags related to the subject's clinical data." }, { "code": "behavioral", "display": "Behavioral", "definition": "Flags related to behavior." }, { "code": "research", "display": "Research", "definition": "Flags related to research." }, { "code": "advance-directive", "display": "Advance Directive", "definition": "Flags related to subject's advance directives." }, { "code": "safety", "display": "Safety", "definition": "Flags related to safety precautions." } ] }
code
The coded value or textual component of the flag to display to the user.
This element currently uses the FHIR example Flag Code ValueSet consisting of the following SNOMED hierarchy, as no UK Core ValueSet has been defined:
<<404684003 (Clinical finding)
subject
Who or what the flag is about.
The resource being referenced should conform to one of the following:
period
The period of time from the activation of the flag to inactivation of the flag.
encounter
This alert is only relevant during the encounter.
The resource being referenced should conform to the following: