Australian Digital Health Agency FHIR Implementation Guide, published by Australian Digital Health Agency. This guide is not an authorized publication; it is the continuous build for version 1.2.0-ci-build built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/AuDigitalHealth/ci-fhir-r4/ and changes regularly. See the Directory of published versions
Official URL: http://ns.electronichealth.net.au/fhir/StructureDefinition/dh-flag-core-1 | Version: 1.0.0 | |||
Active as of 2024-12-19 | Computable Name: ADHAFlagCore | |||
Copyright/Legal: Copyright © 2022 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. |
The purpose of this profile is to provide a core representation of a flag (e.g. warning or notification) for the electronic exchange of health information between individuals, healthcare providers, and the My Health Record system infrastructure in Australia.
This profile identifies the additional constraints, extensions, and value sets that build on and extend Flag that are supported.
Where a more specific Flag profile is applicable, e.g. AIR notice, an implementation SHALL ensure the resource conforms to that specific profile.
This profile is designed to set a core Flag standard for:
This profile may be referred to by APIs, which will be listed here when available.
None.
The following profiles build on the ADHA Core Flag profile to define specific flags:
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Flag
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Flag | 0..* | Flag | Key information to flag to healthcare providers | |
identifier | S | 0..* | Identifier | Business identifier |
status | S | 1..1 | code | active | inactive | entered-in-error |
category | S | 1..* | CodeableConcept | Clinical, administrative, etc. |
code | S | 1..1 | CodeableConcept | Coded or textual message to display to user |
subject | SC | 1..1 | Reference(ADHA Core Patient | ADHA Core Location | ADHA Core Organization | ADHA Core Medication | PlanDefinition | ADHA Core Procedure) | Who/What is flag about? inv-dh-flg-01: At least reference or display or a valid identifier shall be present |
period | S | 0..1 | Period | Time period when flag is active |
encounter | S | 0..1 | Reference(ADHA Core Encounter) | Alert relevant during encounter |
author | SC | 1..1 | Reference(ADHA System Device | ADHA Core Organization | ADHA Core Patient | ADHA Authoring PractitionerRole) | Flag creator inv-dh-flg-02: At least reference or a valid identifier shall be present |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
inv-dh-flg-01 | error | Flag.subject | At least reference or display or a valid identifier shall be present : reference.exists() or display.exists() or identifier.where(system.count() + value.count() >1).exists() | |
inv-dh-flg-02 | error | Flag.author | At least reference or a valid identifier shall be present : reference.exists() or identifier.where(system.count() + value.count() >1).exists() |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Flag | 0..* | Flag | Key information to flag to healthcare providers dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
identifier | SΣ | 0..* | Identifier | Business identifier ele-1: All FHIR elements must have a @value or children |
status | ?!SΣ | 1..1 | code | active | inactive | entered-in-error Binding: FlagStatus (required): 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. ele-1: All FHIR elements must have a @value or children |
category | SΣ | 1..* | CodeableConcept | Clinical, administrative, etc. Binding: FlagCategory (example): A general category for flags for filtering/display purposes. ele-1: All FHIR elements must have a @value or children |
code | SΣ | 1..1 | CodeableConcept | Coded or textual message to display to user Binding: FlagCode (example): Detail codes identifying specific flagged issues. ele-1: All FHIR elements must have a @value or children |
subject | SΣC | 1..1 | Reference(ADHA Core Patient | ADHA Core Location | ADHA Core Organization | ADHA Core Medication | PlanDefinition | ADHA Core Procedure) | Who/What is flag about? ele-1: All FHIR elements must have a @value or children inv-dh-flg-01: At least reference or display or a valid identifier shall be present |
period | SΣ | 0..1 | Period | Time period when flag is active ele-1: All FHIR elements must have a @value or children |
encounter | SΣ | 0..1 | Reference(ADHA Core Encounter) | Alert relevant during encounter ele-1: All FHIR elements must have a @value or children |
author | SΣC | 1..1 | Reference(ADHA System Device | ADHA Core Organization | ADHA Core Patient | ADHA Authoring PractitionerRole) | Flag creator ele-1: All FHIR elements must have a @value or children inv-dh-flg-02: At least reference or a valid identifier shall be present |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Flag.status | required | FlagStatushttp://hl7.org/fhir/ValueSet/flag-status|4.0.1 from the FHIR Standard | |
Flag.category | example | FlagCategoryhttp://hl7.org/fhir/ValueSet/flag-category from the FHIR Standard | |
Flag.code | example | FlagCodehttp://hl7.org/fhir/ValueSet/flag-code from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
inv-dh-flg-01 | error | Flag.subject | At least reference or display or a valid identifier shall be present : reference.exists() or display.exists() or identifier.where(system.count() + value.count() >1).exists() | |
inv-dh-flg-02 | error | Flag.author | At least reference or a valid identifier shall be present : reference.exists() or identifier.where(system.count() + value.count() >1).exists() |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Flag | 0..* | Flag | Key information to flag to healthcare providers | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | SΣ | 0..* | Identifier | Business identifier | ||||
status | ?!SΣ | 1..1 | code | active | inactive | entered-in-error Binding: FlagStatus (required): 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. | ||||
category | SΣ | 1..* | CodeableConcept | Clinical, administrative, etc. Binding: FlagCategory (example): A general category for flags for filtering/display purposes. | ||||
code | SΣ | 1..1 | CodeableConcept | Coded or textual message to display to user Binding: FlagCode (example): Detail codes identifying specific flagged issues. | ||||
subject | SΣC | 1..1 | Reference(ADHA Core Patient | ADHA Core Location | ADHA Core Organization | ADHA Core Medication | PlanDefinition | ADHA Core Procedure) | Who/What is flag about? inv-dh-flg-01: At least reference or display or a valid identifier shall be present | ||||
period | SΣ | 0..1 | Period | Time period when flag is active | ||||
encounter | SΣ | 0..1 | Reference(ADHA Core Encounter) | Alert relevant during encounter | ||||
author | SΣC | 1..1 | Reference(ADHA System Device | ADHA Core Organization | ADHA Core Patient | ADHA Authoring PractitionerRole) | Flag creator inv-dh-flg-02: At least reference or a valid identifier shall be present | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
Flag.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Flag.status | required | FlagStatushttp://hl7.org/fhir/ValueSet/flag-status|4.0.1 from the FHIR Standard | ||||
Flag.category | example | FlagCategoryhttp://hl7.org/fhir/ValueSet/flag-category from the FHIR Standard | ||||
Flag.code | example | FlagCodehttp://hl7.org/fhir/ValueSet/flag-code from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
inv-dh-flg-01 | error | Flag.subject | At least reference or display or a valid identifier shall be present : reference.exists() or display.exists() or identifier.where(system.count() + value.count() >1).exists() | |
inv-dh-flg-02 | error | Flag.author | At least reference or a valid identifier shall be present : reference.exists() or identifier.where(system.count() + value.count() >1).exists() |
This structure is derived from Flag
Summary
Mandatory: 2 elements
Must-Support: 8 elements
Structures
This structure refers to these other structures:
Differential View
This structure is derived from Flag
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Flag | 0..* | Flag | Key information to flag to healthcare providers | |
identifier | S | 0..* | Identifier | Business identifier |
status | S | 1..1 | code | active | inactive | entered-in-error |
category | S | 1..* | CodeableConcept | Clinical, administrative, etc. |
code | S | 1..1 | CodeableConcept | Coded or textual message to display to user |
subject | SC | 1..1 | Reference(ADHA Core Patient | ADHA Core Location | ADHA Core Organization | ADHA Core Medication | PlanDefinition | ADHA Core Procedure) | Who/What is flag about? inv-dh-flg-01: At least reference or display or a valid identifier shall be present |
period | S | 0..1 | Period | Time period when flag is active |
encounter | S | 0..1 | Reference(ADHA Core Encounter) | Alert relevant during encounter |
author | SC | 1..1 | Reference(ADHA System Device | ADHA Core Organization | ADHA Core Patient | ADHA Authoring PractitionerRole) | Flag creator inv-dh-flg-02: At least reference or a valid identifier shall be present |
Documentation for this format |
Id | Grade | Path(s) | Details | Requirements |
inv-dh-flg-01 | error | Flag.subject | At least reference or display or a valid identifier shall be present : reference.exists() or display.exists() or identifier.where(system.count() + value.count() >1).exists() | |
inv-dh-flg-02 | error | Flag.author | At least reference or a valid identifier shall be present : reference.exists() or identifier.where(system.count() + value.count() >1).exists() |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Flag | 0..* | Flag | Key information to flag to healthcare providers dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management | |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
identifier | SΣ | 0..* | Identifier | Business identifier ele-1: All FHIR elements must have a @value or children |
status | ?!SΣ | 1..1 | code | active | inactive | entered-in-error Binding: FlagStatus (required): 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. ele-1: All FHIR elements must have a @value or children |
category | SΣ | 1..* | CodeableConcept | Clinical, administrative, etc. Binding: FlagCategory (example): A general category for flags for filtering/display purposes. ele-1: All FHIR elements must have a @value or children |
code | SΣ | 1..1 | CodeableConcept | Coded or textual message to display to user Binding: FlagCode (example): Detail codes identifying specific flagged issues. ele-1: All FHIR elements must have a @value or children |
subject | SΣC | 1..1 | Reference(ADHA Core Patient | ADHA Core Location | ADHA Core Organization | ADHA Core Medication | PlanDefinition | ADHA Core Procedure) | Who/What is flag about? ele-1: All FHIR elements must have a @value or children inv-dh-flg-01: At least reference or display or a valid identifier shall be present |
period | SΣ | 0..1 | Period | Time period when flag is active ele-1: All FHIR elements must have a @value or children |
encounter | SΣ | 0..1 | Reference(ADHA Core Encounter) | Alert relevant during encounter ele-1: All FHIR elements must have a @value or children |
author | SΣC | 1..1 | Reference(ADHA System Device | ADHA Core Organization | ADHA Core Patient | ADHA Authoring PractitionerRole) | Flag creator ele-1: All FHIR elements must have a @value or children inv-dh-flg-02: At least reference or a valid identifier shall be present |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Flag.status | required | FlagStatushttp://hl7.org/fhir/ValueSet/flag-status|4.0.1 from the FHIR Standard | |
Flag.category | example | FlagCategoryhttp://hl7.org/fhir/ValueSet/flag-category from the FHIR Standard | |
Flag.code | example | FlagCodehttp://hl7.org/fhir/ValueSet/flag-code from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
inv-dh-flg-01 | error | Flag.subject | At least reference or display or a valid identifier shall be present : reference.exists() or display.exists() or identifier.where(system.count() + value.count() >1).exists() | |
inv-dh-flg-02 | error | Flag.author | At least reference or a valid identifier shall be present : reference.exists() or identifier.where(system.count() + value.count() >1).exists() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
Flag | 0..* | Flag | Key information to flag to healthcare providers | |||||
id | Σ | 0..1 | id | Logical id of this artifact | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | SΣ | 0..* | Identifier | Business identifier | ||||
status | ?!SΣ | 1..1 | code | active | inactive | entered-in-error Binding: FlagStatus (required): 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. | ||||
category | SΣ | 1..* | CodeableConcept | Clinical, administrative, etc. Binding: FlagCategory (example): A general category for flags for filtering/display purposes. | ||||
code | SΣ | 1..1 | CodeableConcept | Coded or textual message to display to user Binding: FlagCode (example): Detail codes identifying specific flagged issues. | ||||
subject | SΣC | 1..1 | Reference(ADHA Core Patient | ADHA Core Location | ADHA Core Organization | ADHA Core Medication | PlanDefinition | ADHA Core Procedure) | Who/What is flag about? inv-dh-flg-01: At least reference or display or a valid identifier shall be present | ||||
period | SΣ | 0..1 | Period | Time period when flag is active | ||||
encounter | SΣ | 0..1 | Reference(ADHA Core Encounter) | Alert relevant during encounter | ||||
author | SΣC | 1..1 | Reference(ADHA System Device | ADHA Core Organization | ADHA Core Patient | ADHA Authoring PractitionerRole) | Flag creator inv-dh-flg-02: At least reference or a valid identifier shall be present | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
Flag.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Flag.status | required | FlagStatushttp://hl7.org/fhir/ValueSet/flag-status|4.0.1 from the FHIR Standard | ||||
Flag.category | example | FlagCategoryhttp://hl7.org/fhir/ValueSet/flag-category from the FHIR Standard | ||||
Flag.code | example | FlagCodehttp://hl7.org/fhir/ValueSet/flag-code from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
inv-dh-flg-01 | error | Flag.subject | At least reference or display or a valid identifier shall be present : reference.exists() or display.exists() or identifier.where(system.count() + value.count() >1).exists() | |
inv-dh-flg-02 | error | Flag.author | At least reference or a valid identifier shall be present : reference.exists() or identifier.where(system.count() + value.count() >1).exists() |
This structure is derived from Flag
Summary
Mandatory: 2 elements
Must-Support: 8 elements
Structures
This structure refers to these other structures:
Other representations of profile: CSV, Excel, Schematron
Below is an overview of the mandatory and optional search parameters. FHIR search operations and the syntax used to describe the interactions is described here.