PhdDeviceAlert
type: StructureDefinition
node role: treeRoot
id:
  v: PhdDeviceAlert
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition PhdDeviceAlert Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> DeviceAlert 0..* DeviceAlert Documentation of an alert (a.k.a. alarm) generated by a device indicating a noteworthy condition #xD; code 1..1 CodeableConcept Code for the alert condition Binding: DeviceAlertConditionCodes (2.0.0) (required) #xD; derivedFrom 1..* BackboneElement Reference to the observation(s) this alert is associated with #xD; observation 1..1 Reference(PhdNumericObservation | PhdCompoundNumericObservation | PhdCompoundObservation) The Observation having a value causing the alert condition #xD; label 0..1 string Threshold notification text #xD; signal 0..* BackboneElement Annunciation or notification of the alert condition Slice: Unordered, Open by value:type #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: dev
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 1
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Canonical
        v: http://hl7.org/fhir/uv/phd/ImplementationGuide/hl7.fhir.uv.phd
        l: hl7.fhir.uv.phd
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Canonical
        v: http://hl7.org/fhir/uv/phd/ImplementationGuide/hl7.fhir.uv.phd
        l: hl7.fhir.uv.phd
url:
  v: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdDeviceAlert
  l: PhdDeviceAlert
identifier:
  system:
    v: urn:ietf:rfc:3986
    l: 3986
  value:
    v: urn:oid:2.16.840.1.113883.4.642.40.73.42.10
version:
  v: 3.0.0-draft
name:
  v: PhdDeviceAlert
title:
  v: PhdDeviceAlert
status:
  v: active
date:
  v: 2026-08-20T11:48:35+00:00
publisher:
  v: HL7 International / Devices
contact:
  name:
    v: HL7 International / Devices
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/healthcaredevices
description:
  v: Profile for device alert that capture alert conditions from personal health devices.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
fhir version:
  v: 6.0.0-ballot5
mapping:
  identity:
    v: IEEE-11073-10206-PhdDeviceAlert
  name:
    v: IEEE-11073-10206 ACOM Alert to FHIR
mapping:
  identity:
    v: workflow
  uri:
    v: http://hl7.org/fhir/workflow
    l: workflow
  name:
    v: Workflow Pattern
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
    l: fivews
  name:
    v: FiveWs Pattern Mapping
mapping:
  identity:
    v: BICEPS
  uri:
    v: urn:iso:std:iso:11073:10207
    l: 10207
  name:
    v: ISO/IEEE 11073-10207: Domain Information and Service Model for Service-Oriented Point-of-Care Medical Device Communication
mapping:
  identity:
    v: DIM
  uri:
    v: urn:iso:std:iso:11073:10201
    l: 10201
  name:
    v: ISO/IEEE 11073-10201: Domain Information Model
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: DeviceAlert
  l: DeviceAlert
base definition:
  v: http://hl7.org/fhir/StructureDefinition/DeviceAlert
  l: DeviceAlert
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 6.0.0-ballot5
  element:
    id:
      v: DeviceAlert
    path:
      v: DeviceAlert
    short:
      v: Documentation of an alert (a.k.a. alarm) generated by a device indicating a noteworthy condition
    definition:
      v: Describes a noteworthy condition or occurrence determined to exist by a device.
    comment:
      v: The DeviceAlert resource is derived from the ISO/IEEE 11073-10201 Domain Information Model standard, but is more widely applicable.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: DeviceAlert
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: 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
      expression:
        v: contained.where((('#'+id.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-4
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource

key:
  v: dom-5
severity:
  v: error
human:
  v: If a resource is contained in another resource, it SHALL NOT have a security label
expression:
  v: contained.meta.security.empty()
source:
  v: http://hl7.org/fhir/StructureDefinition/DomainResource
  l: DomainResource

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice
    l: elementdefinition-bestpractice
  value: Boolean
    v: true
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation
    l: elementdefinition-bestpractice-explanation
  value: Markdown
    v: When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time.
key:
  v: dom-6
severity:
  v: warning
human:
  v: A resource should have narrative for robust management
expression:
  v: text.`div`.exists()
source:
  v: http://hl7.org/fhir/StructureDefinition/DomainResource
  l: DomainResource

v: false

v: false

v: false

identity:
  v: IEEE-11073-10206-PhdDeviceAlert
map:
  v: Generated by gateway from an ACOM Observation with a Threshold Error status code

identity:
  v: rim
map:
  v: Entity, Role, or Act

identity:
  v: workflow
map:
  v: Event

identity:
  v: w5
map:
  v: administrative.device

identity:
  v: BICEPS
map:
  v: AlertConditionDescriptor, AlertSignalState, AlertConditionState

identity:
  v: DIM
map:
  v: AlertCondition, AlertState

id:
  v: DeviceAlert.id
path:
  v: DeviceAlert.id
short:
  v: Logical id of this artifact
definition:
  v: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
comment:
  v: Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resource id depends on the given use case.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: DeviceAlert.meta
path:
  v: DeviceAlert.meta
short:
  v: Metadata about the resource
definition:
  v: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
    l: Meta
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true

id:
  v: DeviceAlert.implicitRules
path:
  v: DeviceAlert.implicitRules
short:
  v: A set of rules under which this content was created
definition:
  v: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. For DomainResources, if more than one implicitRules policy applies, additional policies may be conveyed using the [additionalImplicitRules](https://build.fhir.org/ig/HL7/fhir-extensions/StructureDefinition-additionalImplicitRules.html) extension.
comment:
  v: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation
is summary:
  v: true

id:
  v: DeviceAlert.language
path:
  v: DeviceAlert.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: required
  description:
    v: IETF language tag for a human language
  value set:
    v: http://hl7.org/fhir/ValueSet/all-languages|6.0.0-ballot5
    l: http://hl7.org/fhir/ValueSet/all-languages
  additional:
    purpose:
      v: starter
    value set:
      v: http://hl7.org/fhir/ValueSet/languages|6.0.0-ballot5
      l: http://hl7.org/fhir/ValueSet/languages

id:
  v: DeviceAlert.text
path:
  v: DeviceAlert.text
short:
  v: Text summary of the resource, for human interpretation
definition:
  v: A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
comment:
  v: Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
    l: Narrative
condition:
  v: dom-6
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: DeviceAlert.contained
path:
  v: DeviceAlert.contained
short:
  v: Contained, inline Resources
definition:
  v: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.
comment:
  v: This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels. Contained resources may be a resource type defined in the FHIR specification, or an [additional resource](http://build.fhir.org/resource.html#additional).
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource
condition:
  v: dom-2
condition:
  v: dom-4
condition:
  v: dom-3
condition:
  v: dom-5
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: DeviceAlert.extension
path:
  v: DeviceAlert.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: DeviceAlert.modifierExtension
path:
  v: DeviceAlert.modifierExtension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Extensions that cannot be ignored
definition:
  v: May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: DeviceAlert.identifier
path:
  v: DeviceAlert.identifier
short:
  v: Business identifier for this device alert
definition:
  v: Business identifiers assigned to this alert, by the source device, gateway software, manufacturers, or other systems or organizations. These identifiers remain constant as the resource is updated and propagates from server to server.
comment:
  v: Note: This is a business identifier, not a resource identifier (see [discussion](http://build.fhir.org/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For identifiers assigned to an alert by the device or gateway software, the `system` element of the identifier might be set to an identifier of the device.
requirements:
  v: Allows identification of the device alert as it is known by various participating systems and in a way that remains consistent across servers.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DeviceAlert.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.identifier
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: BICEPS
  map:
    v: AlertOccurrenceIdentifier
mapping:
  identity:
    v: DIM
  map:
    v: Alert/Handle

id:
  v: DeviceAlert.procedure
path:
  v: DeviceAlert.procedure
short:
  v: Procedure during which the alert occurred
definition:
  v: The procedure (or procedures) during which the alert condition was raised.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DeviceAlert.procedure
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Procedure|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Procedure
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.partOf

id:
  v: DeviceAlert.status
path:
  v: DeviceAlert.status
short:
  v: in-progress | completed | entered-in-error | unknown
definition:
  v: The current state of the device alert.
comment:
  v: Unknown does not represent "other" - one of the defined statuses must apply. Unknown is used when the authoring system is not sure what the current status is.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DeviceAlert.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because it has a potential code that indicates the Alert was entered in error.
is summary:
  v: true
binding:
  strength:
    v: required
  description:
    v: in-progress | completed | entered-in-error | unknown
  value set:
    v: http://hl7.org/fhir/ValueSet/devicealert-status|6.0.0-ballot5
    l: http://hl7.org/fhir/ValueSet/devicealert-status
mapping:
  identity:
    v: workflow
  map:
    v: Event.status
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status
mapping:
  identity:
    v: DIM
  map:
    v: AlertState

id:
  v: DeviceAlert.category
path:
  v: DeviceAlert.category
short:
  v: High level categorization of device alert
definition:
  v: Partitions the device alert into one or more categories that can be used to filter searching, to govern access control and/or to guide system behavior.
comment:
  v: Categorization might be done automatically (inferred by code) or manually by user assertion. The absence of a category may limit the ability to determine when the element should be handled, so strong consideration should be given to how systems will be able to determine category values for legacy data and how data that cannot be categorized will be handled. As well, some categories might not be mutually exclusive, so systems should prepare for multiple declared categories - even within a single category 'axis'.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DeviceAlert.category
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: example
  value set:
    v: http://terminology.hl7.org/ValueSet/devicealert-category
    l: devicealert-category
mapping:
  identity:
    v: workflow
  map:
    v: Event.category
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class

id:
  v: DeviceAlert.type
path:
  v: DeviceAlert.type
short:
  v: The particular kind of alert
definition:
  v: The particular kind of alert, such as whether it is related to the patient condition; to irregular device state; or to workflow or regular device state, such as timers.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DeviceAlert.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  strength:
    v: extensible
  value set:
    v: http://terminology.hl7.org/ValueSet/devicealert-type
    l: devicealert-type
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.class
mapping:
  identity:
    v: BICEPS
  map:
    v: AlertConditionDescriptor/Kind
mapping:
  identity:
    v: DIM
  map:
    v: AlertCondition/alert-type

id:
  v: DeviceAlert.priority
path:
  v: DeviceAlert.priority
short:
  v: The urgency by which the condition ought to be addressed
definition:
  v: The urgency by which the condition ought to be addressed. The alert priority is usually reported by the source device. The element MAY be omitted if the priority is unknown.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DeviceAlert.priority
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: extensible
  value set:
    v: http://hl7.org/fhir/ValueSet/devicealert-priority|6.0.0-ballot5
    l: http://hl7.org/fhir/ValueSet/devicealert-priority
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.grade
mapping:
  identity:
    v: BICEPS
  map:
    v: If present, AlertConditionState/ActualPriority; otherwise AlertConditionDescriptor/Priority
mapping:
  identity:
    v: DIM
  map:
    v: AlertCondition/alert-type

id:
  v: DeviceAlert.code
path:
  v: DeviceAlert.code
short:
  v: Code for the alert condition
definition:
  v: MDC nomenclature code from partition 3 indicating the alert condition being reported
comment:
  v: The code identifies the specific alert condition from the IEEE 11073 medical device communication nomenclature.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DeviceAlert.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: required
  value set:
    v: http://terminology.hl7.org/ValueSet/devicealert-condition|2.0.0
    l: http://terminology.hl7.org/ValueSet/devicealert-condition
mapping:
  identity:
    v: IEEE-11073-10206-PhdDeviceAlert
  map:
    v: MDC code from partition 3 indicating the alert condition being reported as selected by the gateway
mapping:
  identity:
    v: workflow
  map:
    v: Event.code
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.what[x]
mapping:
  identity:
    v: BICEPS
  map:
    v: AlertConditionDescriptor/Type
mapping:
  identity:
    v: DIM
  map:
    v: AlertCondition/alert-code

id:
  v: DeviceAlert.subject
path:
  v: DeviceAlert.subject
short:
  v: Who or what the alert is about
definition:
  v: Who or what the alert is about.
requirements:
  v: Links the device alert to the appropriate subject context. May also affect access control.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DeviceAlert.subject
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Group|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Group
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Location
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Medication|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Medication
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/NutritionProduct|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/NutritionProduct
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Specimen|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Specimen
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.subject
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject

id:
  v: DeviceAlert.encounter
path:
  v: DeviceAlert.encounter
short:
  v: Encounter during which the alert condition occurred
definition:
  v: The Encounter during which the alert condition was raised.
requirements:
  v: Links the device alert to the Encounter context. May also affect access control.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DeviceAlert.encounter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Encounter|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Encounter
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.encounter
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.context

id:
  v: DeviceAlert.occurrence
path:
  v: DeviceAlert.occurrence
short:
  v: When the alert condition occurred/is occurring
definition:
  v: This element is used to record the time period when the alert condition did occur or is occurring.
comment:
  v: This element is used to record the time period during which the alert condition is or was active. The absence of `occurrence.end` usually indicates that the alert condition was ongoing at the last update. Coincident `occurrence.start` and `occurrence.end` values allow the expression of instantaneous alert conditions. Implementers should remain aware that partially specified `dateTime` values for `occurrence.start` or `occurrence.end` are ambiguous about what point in time they represent. Corner cases, such representing an alert condition known to be ongoing without knowledge of the start time, may require special handling such as use of [extensions](http://build.fhir.org/extensibility.html)—consult relevant implementation guides.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DeviceAlert.occurrence
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.occurrence[x]
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.done[x]
mapping:
  identity:
    v: BICEPS
  map:
    v: AlertConditionState/DeterminationTime

id:
  v: DeviceAlert.device
path:
  v: DeviceAlert.device
short:
  v: The Device (or DeviceMetric) that detected the alert condition
definition:
  v: Indicates the device that detected the alert condition. The device could be a top-level Device or component Device (such as an MDS, VMD, or Channel); or might identify the specific DeviceMetric of a Device (e.g., a heart rate reading) that was in an alert condition.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DeviceAlert.device
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DeviceMetric|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/DeviceMetric
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.product
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.author
mapping:
  identity:
    v: BICEPS
  map:
    v: AlertConditionDescriptor/Source
mapping:
  identity:
    v: DIM
  map:
    v: AlertCondition/alert-source

id:
  v: DeviceAlert.acknowledged
path:
  v: DeviceAlert.acknowledged
short:
  v: Whether the alert condition has been acknowledged
definition:
  v: An indication of whether (true) or not (false) the alert condition has been acknowledged.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DeviceAlert.acknowledged
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
meaning when missing:
  v: If absent, no inference SHOULD be made about whether the alert condition has been acknowledged.
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: DeviceAlert.acknowledgedBy
path:
  v: DeviceAlert.acknowledgedBy
short:
  v: Who acknowledged the alert condition
definition:
  v: An indication of who or what acknowledged the alert condition.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DeviceAlert.acknowledgedBy
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Patient|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Patient
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Device|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Device
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Practitioner
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PractitionerRole|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/PractitionerRole
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/RelatedPerson|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/RelatedPerson
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Event.actor
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.actor

id:
  v: DeviceAlert.location
path:
  v: DeviceAlert.location
short:
  v: Location of the subject when the alert was raised
definition:
  v: The principal physical location of the subject at the time the alert condition occurred. This could be different from the location of the alerting device at that time, and from the current location of either the subject or the alert condition detecting device.
requirements:
  v: Provides context around the alert occurrence (e.g. if it occurred inside or outside a dedicated healthcare setting).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DeviceAlert.location
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location|6.0.0-ballot5
    l: http://hl7.org/fhir/StructureDefinition/Location
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.location
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.where[x]

id:
  v: DeviceAlert.derivedFrom
path:
  v: DeviceAlert.derivedFrom
short:
  v: Reference to the observation(s) this alert is associated with
definition:
  v: References to the PhdNumericObservation, PhdCompoundNumericObservation, PhdCompoundObservation, or other observations that this alert condition is derived from or associated with.
comment:
  v: The alert is now represented as a separate resource that references the source measurement observation(s) via derivedFrom. The component element can be used to identify a specific component in case of an alert on a compound observation, e.g. on systolic blood pressure in a blood pressure observation.
min:
  v: 1
max:
  v: *
base:
  path:
    v: DeviceAlert.derivedFrom
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: IEEE-11073-10206-PhdDeviceAlert
  map:
    v: the Observation(s) with the Threshold error status code that triggered generation of the alert
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]

id:
  v: DeviceAlert.derivedFrom.id
path:
  v: DeviceAlert.derivedFrom.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DeviceAlert.derivedFrom.extension
path:
  v: DeviceAlert.derivedFrom.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: DeviceAlert.derivedFrom.modifierExtension
path:
  v: DeviceAlert.derivedFrom.modifierExtension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://build.fhir.org/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: DeviceAlert.derivedFrom.observation
path:
  v: DeviceAlert.derivedFrom.observation
short:
  v: The Observation having a value causing the alert condition
definition:
  v: Indicates the Observation whose value is causing the alert condition; or, if `component` is present, the Observation with a component causing the alert condition.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: DeviceAlert.derivedFrom.observation
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdNumericObservation
    l: PhdNumericObservation
  target profile:
    v: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCompoundNumericObservation
    l: PhdCompoundNumericObservation
  target profile:
    v: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCompoundObservation
    l: PhdCompoundObservation
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.reason

id:
  v: DeviceAlert.derivedFrom.component
path:
  v: DeviceAlert.derivedFrom.component
short:
  v: The Observation.component having a value causing the alert condition
definition:
  v: If applicable, the code of the component (of the Observation identified in `derivedFrom.observation`) having a value causing the alert condition. This might be used when the alert is associated with a specific component of an Observation, rather than the overall Observation; for example, a low diastolic blood pressure. Since the component is identified by matching `Observation.component.code`, if more than one component have the same code, the specific component is ambiguous. Repetitions of this element indicate additional components contributing to the alert condition.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DeviceAlert.derivedFrom.component
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ComponentCode
  strength:
    v: example
  description:
    v: Codes identifying names of simple observations.
  value set:
    v: http://hl7.org/fhir/ValueSet/observation-codes|6.0.0-ballot5
    l: http://hl7.org/fhir/ValueSet/observation-codes

id:
  v: DeviceAlert.derivedFrom.limit
path:
  v: DeviceAlert.derivedFrom.limit
short:
  v: The boundaries beyond which a value was detected to cause the alert condition
definition:
  v: The limits beyond which a value was detected to cause the alert condition. The actual value is the `Observation.value[x]` referenced by `derivedFrom.observation` or, if specified, the `Observation.component.value[x]` of the component (with `Observation.component.code` matching `derivedFrom.component`) of the reference Observation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DeviceAlert.derivedFrom.limit
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Range
    l: Range
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: BICEPS
  map:
    v: LimitAlertConditionState/Limits
mapping:
  identity:
    v: DIM
  map:
    v: Limit-Specification

id:
  v: DeviceAlert.label
path:
  v: DeviceAlert.label
short:
  v: Threshold notification text
definition:
  v: Notification message displayed when the threshold is crossed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DeviceAlert.label
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: IEEE-11073-10206-PhdDeviceAlert
  map:
    v: Text message displayed by the gateway when the threshold is crossed
mapping:
  identity:
    v: BICEPS
  map:
    v: AlertConditionDescriptor/TypeConceptDescription
mapping:
  identity:
    v: DIM
  map:
    v: AlertCondition/Label-String

id:
  v: DeviceAlert.signal
path:
  v: DeviceAlert.signal
slicing:
  discriminator:
    type:
      v: value
    path:
      v: type
  rules:
    v: open
short:
  v: Annunciation or notification of the alert condition
definition:
  v: Annunciation or notification of the alert condition.
min:
  v: 0
max:
  v: *
base:
  path:
    v: DeviceAlert.signal
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children or both
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: IEEE-11073-10206-PhdDeviceAlert
  map:
    v: actual signal(s) from the gateway, if any, that triggered the alert
mapping:
  identity:
    v: BICEPS
  map:
    v: AlertSignalState
mapping:
  identity:
    v: DIM
  map:
    v: AlertCondition/AlertFlags; AlertCondition/AlertControls

element:
  id:
    v: DeviceAlert
  path:
    v: DeviceAlert
  mapping:
    identity:
      v: IEEE-11073-10206-PhdDeviceAlert
    map:
      v: Generated by gateway from an ACOM Observation with a Threshold Error status code
element:
  id:
    v: DeviceAlert.code
  path:
    v: DeviceAlert.code
  short:
    v: Code for the alert condition
  definition:
    v: MDC nomenclature code from partition 3 indicating the alert condition being reported
  comment:
    v: The code identifies the specific alert condition from the IEEE 11073 medical device communication nomenclature.
  binding:
    strength:
      v: required
    value set:
      v: http://terminology.hl7.org/ValueSet/devicealert-condition|2.0.0
      l: http://terminology.hl7.org/ValueSet/devicealert-condition
  mapping:
    identity:
      v: IEEE-11073-10206-PhdDeviceAlert
    map:
      v: MDC code from partition 3 indicating the alert condition being reported as selected by the gateway
element:
  id:
    v: DeviceAlert.derivedFrom
  path:
    v: DeviceAlert.derivedFrom
  short:
    v: Reference to the observation(s) this alert is associated with
  definition:
    v: References to the PhdNumericObservation, PhdCompoundNumericObservation, PhdCompoundObservation, or other observations that this alert condition is derived from or associated with.
  comment:
    v: The alert is now represented as a separate resource that references the source measurement observation(s) via derivedFrom. The component element can be used to identify a specific component in case of an alert on a compound observation, e.g. on systolic blood pressure in a blood pressure observation.
  min:
    v: 1
  mapping:
    identity:
      v: IEEE-11073-10206-PhdDeviceAlert
    map:
      v: the Observation(s) with the Threshold error status code that triggered generation of the alert
element:
  id:
    v: DeviceAlert.derivedFrom.observation
  path:
    v: DeviceAlert.derivedFrom.observation
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdNumericObservation
      l: PhdNumericObservation
    target profile:
      v: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCompoundNumericObservation
      l: PhdCompoundNumericObservation
    target profile:
      v: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdCompoundObservation
      l: PhdCompoundObservation
element:
  id:
    v: DeviceAlert.label
  path:
    v: DeviceAlert.label
  short:
    v: Threshold notification text
  definition:
    v: Notification message displayed when the threshold is crossed.
  mapping:
    identity:
      v: IEEE-11073-10206-PhdDeviceAlert
    map:
      v: Text message displayed by the gateway when the threshold is crossed
element:
  id:
    v: DeviceAlert.signal
  path:
    v: DeviceAlert.signal
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: type
    rules:
      v: open
  mapping:
    identity:
      v: IEEE-11073-10206-PhdDeviceAlert
    map:
      v: actual signal(s) from the gateway, if any, that triggered the alert