HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1
0.0.1 - STU1 International flag

HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1, published by HL7 Portugal. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-pt/core/ and changes regularly. See the Directory of published versions

Extension: Operation

Official URL: http://hl7.pt/fhir/core/StructureDefinition/Operation-Device Version: 0.0.1
Active as of 2024-09-23 Computable Name: Operation

The status of the device itself - whether it is switched on, or activated, etc. - Extension created based on what exists in FHIR Version 5

Context of Use

This extension may be used on the following element(s):

  • Element ID Device

Usage info

Usage:

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

Summary

Complex Extension: The status of the device itself - whether it is switched on, or activated, etc. - Extension created based on what exists in FHIR Version 5

  • status: CodeableConcept: An Extension
  • statusReason: CodeableConcept: An Extension
  • operator: Reference: An Extension
  • mode: CodeableConcept: An Extension
  • cycle: Count: An Extension
  • duration: Duration: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Extension
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:status 1..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "status"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: http://hl7.org/fhir/device-operationstatus (example): The operational status of the device.

.... extension:statusReason 0..* Extension Extension
..... extension 0..0
..... url 1..1 uri "statusReason"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: http://hl7.org/fhir/device-operation-status-reason (example): The availability status reason of the device.

.... extension:operator 0..* Extension Extension
..... extension 0..0
..... url 1..1 uri "operator"
..... value[x] 0..1 Reference(PT_Patient | PT_Practitioner | PT_RelatedPerson) Value of extension
.... extension:mode 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "mode"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: device-operation-mode (example): The operation mode of the device.

.... extension:cycle 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "cycle"
..... value[x] 0..1 Count Value of extension
.... extension:duration 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "duration"
..... value[x] 0..1 Duration Value of extension
... url 1..1 uri "http://hl7.pt/fhir/core/StructureDefinition/Operation-Device"

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:status 1..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "status"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: http://hl7.org/fhir/device-operationstatus (example): The operational status of the device.

.... extension:statusReason 0..* Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "statusReason"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: http://hl7.org/fhir/device-operation-status-reason (example): The availability status reason of the device.

.... extension:operator 0..* Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "operator"
..... value[x] 0..1 Reference(PT_Patient | PT_Practitioner | PT_RelatedPerson) Value of extension
.... extension:mode 0..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "mode"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: device-operation-mode (example): The operation mode of the device.

.... extension:cycle 0..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "cycle"
..... value[x] 0..1 Count Value of extension
.... extension:duration 0..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "duration"
..... value[x] 0..1 Duration Value of extension
... url 1..1 uri "http://hl7.pt/fhir/core/StructureDefinition/Operation-Device"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: The status of the device itself - whether it is switched on, or activated, etc. - Extension created based on what exists in FHIR Version 5

  • status: CodeableConcept: An Extension
  • statusReason: CodeableConcept: An Extension
  • operator: Reference: An Extension
  • mode: CodeableConcept: An Extension
  • cycle: Count: An Extension
  • duration: Duration: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Extension
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:status 1..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "status"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: http://hl7.org/fhir/device-operationstatus (example): The operational status of the device.

.... extension:statusReason 0..* Extension Extension
..... extension 0..0
..... url 1..1 uri "statusReason"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: http://hl7.org/fhir/device-operation-status-reason (example): The availability status reason of the device.

.... extension:operator 0..* Extension Extension
..... extension 0..0
..... url 1..1 uri "operator"
..... value[x] 0..1 Reference(PT_Patient | PT_Practitioner | PT_RelatedPerson) Value of extension
.... extension:mode 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "mode"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: device-operation-mode (example): The operation mode of the device.

.... extension:cycle 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "cycle"
..... value[x] 0..1 Count Value of extension
.... extension:duration 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "duration"
..... value[x] 0..1 Duration Value of extension
... url 1..1 uri "http://hl7.pt/fhir/core/StructureDefinition/Operation-Device"

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:status 1..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "status"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: http://hl7.org/fhir/device-operationstatus (example): The operational status of the device.

.... extension:statusReason 0..* Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "statusReason"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: http://hl7.org/fhir/device-operation-status-reason (example): The availability status reason of the device.

.... extension:operator 0..* Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "operator"
..... value[x] 0..1 Reference(PT_Patient | PT_Practitioner | PT_RelatedPerson) Value of extension
.... extension:mode 0..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "mode"
..... value[x] 0..1 CodeableConcept Value of extension
Binding: device-operation-mode (example): The operation mode of the device.

.... extension:cycle 0..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "cycle"
..... value[x] 0..1 Count Value of extension
.... extension:duration 0..1 Extension Extension
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "duration"
..... value[x] 0..1 Duration Value of extension
... url 1..1 uri "http://hl7.pt/fhir/core/StructureDefinition/Operation-Device"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.extension:status.value[x]examplehttp://hl7.org/fhir/device-operationstatus
http://hl7.org/fhir/device-operationstatus
Extension.extension:statusReason.value[x]examplehttp://hl7.org/fhir/device-operation-status-reason
http://hl7.org/fhir/device-operation-status-reason
Extension.extension:mode.value[x]examplehttp://hl7.org/fhir/ValueSet/device-operation-mode
http://hl7.org/fhir/ValueSet/device-operation-mode

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()