Skip to main content

Flag

ResourceBase · ManagementTrial useMaturity 1

Prospective warnings of potential issues when providing care to the patient.

Tested supportFull test results →
Backends
PostgreSQLElasticsearch
Interactions
CreateReadUpdatePatchDelete
Search
6 of 6 parameters tested

Structure​

ElementCard.TypeDescription
identifierΣ
0..*IdentifierBusiness identifier
statusRequired?!Σ
1..1codeactive | inactive | entered-in-errorBinding (required): flag-status
categoryΣ
0..*CodeableConceptClinical, administrative, etc.Binding (example): flag-category
codeRequiredΣ
1..1CodeableConceptCoded or textual message to display to userBinding (example): flag-code
subjectRequiredΣ
1..1Reference(Patient | Location | Group | Organization | Practitioner | PlanDefinition | Medication | Procedure)Who/What is flag about?
periodΣ
0..1PeriodTime period when flag is active
encounterΣ
0..1Reference(Encounter)Alert relevant during encounter
authorΣ
0..1Reference(Device | Organization | Patient | Practitioner | PractitionerRole)Flag creator

Σ in _summary results · ?! modifier element · 1.. required · inherited elements in grey

Search parameters​

Query with GET [base]/Flag?[parameter]=[value]. Type decides which modifiers and prefixes apply, see search features.

ParameterTypeDescriptionPGES
authorreference

Flag creator

Flag.author
datedate

Time period when flag is active

Flag.period
encounterreference

Alert relevant during encounter

Flag.encounter
identifiertoken

Business identifier

Flag.identifier
patientreference

The identity of a subject to list flags for

Flag.subject.where(resolve() is Patient)
subjectreference

The identity of a subject to list flags for

Flag.subject

PG: PostgreSQL, ES: Elasticsearch. passes its TestScript checks, fails, not tested yet.

Common parameters on every resource (8)
_haste-health-authorreference

The author of the resource

_idtoken

Logical id of this artifact

_lastUpdateddate

When the resource version last changed

_profileuri

Profiles this resource claims to conform to

_securitytoken

Security Labels applied to this resource

_sourceuri

Identifies where the resource comes from

_tagtoken

Tags applied to this resource

_typetoken

Derived from the R4B Definition