Class: FHIR::DSTU2::Procedure
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/Procedure.rb
Defined Under Namespace
Classes: FocalDevice, Performer
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'reason' => ['CodeableConcept', 'Reference'], 'performed' => ['dateTime', 'Period'] }
- SEARCH_PARAMS =
['encounter', 'identifier', 'orderer', 'patient', 'performer', 'subject', 'code', 'date', 'encounter', 'identifier', 'location', 'patient', 'performer', 'subject']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'Procedure.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'Procedure.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'Procedure.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'Procedure.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'Procedure.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'Procedure.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'Procedure.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'Procedure.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'identifier' => { 'type' => 'Identifier', 'path' => 'Procedure.identifier', 'min' => 0, 'max' => Float::INFINITY }, 'subject' => { 'type' => 'Reference', 'path' => 'Procedure.subject', 'min' => 1, 'max' => 1 }, 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/procedure-status' => ['in-progress', 'aborted', 'completed', 'entered-in-error'] }, 'type' => 'code', 'path' => 'Procedure.status', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-status' } }, 'category' => { 'valid_codes' => { 'http://snomed.info/sct' => ['24642003', '409063005', '409073007', '387713003', '103693007', '46947000'] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.category', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-category' } }, 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-code' } }, 'notPerformed' => { 'type' => 'boolean', 'path' => 'Procedure.notPerformed', 'min' => 0, 'max' => 1 }, 'reasonNotPerformed' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.reasonNotPerformed', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-not-performed-reason' } }, 'bodySite' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.bodySite', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/body-site' } }, 'reasonCodeableConcept' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.reason[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-reason' } }, 'reasonReference' => { 'type' => 'Reference', 'path' => 'Procedure.reason[x]', 'min' => 0, 'max' => 1 }, 'performer' => { 'type' => 'Procedure::Performer', 'path' => 'Procedure.performer', 'min' => 0, 'max' => Float::INFINITY }, 'performedDateTime' => { 'type' => 'dateTime', 'path' => 'Procedure.performed[x]', 'min' => 0, 'max' => 1 }, 'performedPeriod' => { 'type' => 'Period', 'path' => 'Procedure.performed[x]', 'min' => 0, 'max' => 1 }, 'encounter' => { 'type' => 'Reference', 'path' => 'Procedure.encounter', 'min' => 0, 'max' => 1 }, 'location' => { 'type' => 'Reference', 'path' => 'Procedure.location', 'min' => 0, 'max' => 1 }, 'outcome' => { 'valid_codes' => { 'http://snomed.info/sct' => ['385669000', '385671000', '385670004'] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.outcome', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-outcome' } }, 'report' => { 'type' => 'Reference', 'path' => 'Procedure.report', 'min' => 0, 'max' => Float::INFINITY }, 'complication' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.complication', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/condition-code' } }, 'followUp' => { 'valid_codes' => { 'http://snomed.info/sct' => ['18949003', '30549001', '241031001', '35963001', '225164002', '447346005', '229506003', '274441001', '394725008', '359825008'] }, 'type' => 'CodeableConcept', 'path' => 'Procedure.followUp', 'min' => 0, 'max' => Float::INFINITY, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-followup' } }, 'request' => { 'type' => 'Reference', 'path' => 'Procedure.request', 'min' => 0, 'max' => 1 }, 'notes' => { 'type' => 'Annotation', 'path' => 'Procedure.notes', 'min' => 0, 'max' => Float::INFINITY }, 'focalDevice' => { 'type' => 'Procedure::FocalDevice', 'path' => 'Procedure.focalDevice', 'min' => 0, 'max' => Float::INFINITY }, 'used' => { 'type' => 'Reference', 'path' => 'Procedure.used', 'min' => 0, 'max' => Float::INFINITY } }
Instance Attribute Summary collapse
-
#bodySite ⇒ Object
0-* [ CodeableConcept ].
-
#category ⇒ Object
0-1 CodeableConcept.
-
#code ⇒ Object
1-1 CodeableConcept.
-
#complication ⇒ Object
0-* [ CodeableConcept ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#encounter ⇒ Object
0-1 Reference().
-
#extension ⇒ Object
0-* [ Extension ].
-
#focalDevice ⇒ Object
0-* [ Procedure::FocalDevice ].
-
#followUp ⇒ Object
0-* [ CodeableConcept ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#location ⇒ Object
0-1 Reference().
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#notes ⇒ Object
0-* [ Annotation ].
-
#notPerformed ⇒ Object
0-1 boolean.
-
#outcome ⇒ Object
0-1 CodeableConcept.
-
#performedDateTime ⇒ Object
0-1 dateTime.
-
#performedPeriod ⇒ Object
0-1 Period.
-
#performer ⇒ Object
0-* [ Procedure::Performer ].
-
#reasonCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#reasonNotPerformed ⇒ Object
0-* [ CodeableConcept ].
-
#reasonReference ⇒ Object
0-1 Reference().
-
#report ⇒ Object
0-* [ Reference() ].
-
#request ⇒ Object
0-1 Reference().
-
#status ⇒ Object
1-1 code.
-
#subject ⇒ Object
1-1 Reference().
-
#text ⇒ Object
0-1 Narrative.
-
#used ⇒ Object
0-* [ Reference() ].
Instance Method Summary collapse
Methods included from Xml
from_xml, #to_xml, valid?, validate
Methods included from Deprecate
Methods included from Json
Methods included from Hashable
Methods inherited from Model
#==, #attribute_mismatch, #compare_attribute, #each_element, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #respond_to_missing?, #to_reference, #valid?, #validate, #validate_profile
Constructor Details
This class inherits a constructor from FHIR::DSTU2::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::DSTU2::Model
Instance Attribute Details
#bodySite ⇒ Object
0-* [ CodeableConcept ]
102 103 104 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 102 def bodySite @bodySite end |
#category ⇒ Object
0-1 CodeableConcept
98 99 100 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 98 def category @category end |
#code ⇒ Object
1-1 CodeableConcept
99 100 101 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 99 def code @code end |
#complication ⇒ Object
0-* [ CodeableConcept ]
112 113 114 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 112 def complication @complication end |
#contained ⇒ Object
0-* [ Resource ]
92 93 94 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 92 def contained @contained end |
#encounter ⇒ Object
0-1 Reference()
108 109 110 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 108 def encounter @encounter end |
#extension ⇒ Object
0-* [ Extension ]
93 94 95 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 93 def extension @extension end |
#focalDevice ⇒ Object
0-* [ Procedure::FocalDevice ]
116 117 118 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 116 def focalDevice @focalDevice end |
#followUp ⇒ Object
0-* [ CodeableConcept ]
113 114 115 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 113 def followUp @followUp end |
#id ⇒ Object
0-1 id
87 88 89 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 87 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
95 96 97 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 95 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
89 90 91 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 89 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
90 91 92 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 90 def language @language end |
#location ⇒ Object
0-1 Reference()
109 110 111 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 109 def location @location end |
#meta ⇒ Object
0-1 Meta
88 89 90 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 88 def end |
#modifierExtension ⇒ Object
0-* [ Extension ]
94 95 96 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 94 def modifierExtension @modifierExtension end |
#notes ⇒ Object
0-* [ Annotation ]
115 116 117 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 115 def notes @notes end |
#notPerformed ⇒ Object
0-1 boolean
100 101 102 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 100 def notPerformed @notPerformed end |
#outcome ⇒ Object
0-1 CodeableConcept
110 111 112 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 110 def outcome @outcome end |
#performedDateTime ⇒ Object
0-1 dateTime
106 107 108 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 106 def performedDateTime @performedDateTime end |
#performedPeriod ⇒ Object
0-1 Period
107 108 109 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 107 def performedPeriod @performedPeriod end |
#performer ⇒ Object
0-* [ Procedure::Performer ]
105 106 107 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 105 def performer @performer end |
#reasonCodeableConcept ⇒ Object
0-1 CodeableConcept
103 104 105 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 103 def reasonCodeableConcept @reasonCodeableConcept end |
#reasonNotPerformed ⇒ Object
0-* [ CodeableConcept ]
101 102 103 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 101 def reasonNotPerformed @reasonNotPerformed end |
#reasonReference ⇒ Object
0-1 Reference()
104 105 106 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 104 def reasonReference @reasonReference end |
#report ⇒ Object
0-* [ Reference() ]
111 112 113 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 111 def report @report end |
#request ⇒ Object
0-1 Reference()
114 115 116 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 114 def request @request end |
#status ⇒ Object
1-1 code
97 98 99 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 97 def status @status end |
#subject ⇒ Object
1-1 Reference()
96 97 98 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 96 def subject @subject end |
#text ⇒ Object
0-1 Narrative
91 92 93 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 91 def text @text end |
#used ⇒ Object
0-* [ Reference() ]
117 118 119 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 117 def used @used end |
Instance Method Details
#resourceType ⇒ Object
119 120 121 |
# File 'lib/fhir_dstu2_models/fhir/resources/Procedure.rb', line 119 def resourceType 'Procedure' end |