Class: FHIR::DSTU2::ProcedureRequest
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'reason' => ['CodeableConcept', 'Reference'], 'scheduled' => ['dateTime', 'Period', 'Timing'], 'asNeeded' => ['boolean', 'CodeableConcept'] }
- SEARCH_PARAMS =
['encounter', 'identifier', 'orderer', 'patient', 'performer', 'subject']
- METADATA =
{ 'id' => { 'type' => 'id', 'path' => 'ProcedureRequest.id', 'min' => 0, 'max' => 1 }, 'meta' => { 'type' => 'Meta', 'path' => 'ProcedureRequest.meta', 'min' => 0, 'max' => 1 }, 'implicitRules' => { 'type' => 'uri', 'path' => 'ProcedureRequest.implicitRules', 'min' => 0, 'max' => 1 }, 'language' => { 'type' => 'code', 'path' => 'ProcedureRequest.language', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://tools.ietf.org/html/bcp47' } }, 'text' => { 'type' => 'Narrative', 'path' => 'ProcedureRequest.text', 'min' => 0, 'max' => 1 }, 'contained' => { 'type' => 'Resource', 'path' => 'ProcedureRequest.contained', 'min' => 0, 'max' => Float::INFINITY }, 'extension' => { 'type' => 'Extension', 'path' => 'ProcedureRequest.extension', 'min' => 0, 'max' => Float::INFINITY }, 'modifierExtension' => { 'type' => 'Extension', 'path' => 'ProcedureRequest.modifierExtension', 'min' => 0, 'max' => Float::INFINITY }, 'identifier' => { 'type' => 'Identifier', 'path' => 'ProcedureRequest.identifier', 'min' => 0, 'max' => Float::INFINITY }, 'subject' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.subject', 'min' => 1, 'max' => 1 }, 'code' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'ProcedureRequest.code', 'min' => 1, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-code' } }, 'bodySite' => { 'valid_codes' => { 'http://snomed.info/sct' => [] }, 'type' => 'CodeableConcept', 'path' => 'ProcedureRequest.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' => 'ProcedureRequest.reason[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-reason' } }, 'reasonReference' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.reason[x]', 'min' => 0, 'max' => 1 }, 'scheduledDateTime' => { 'type' => 'dateTime', 'path' => 'ProcedureRequest.scheduled[x]', 'min' => 0, 'max' => 1 }, 'scheduledPeriod' => { 'type' => 'Period', 'path' => 'ProcedureRequest.scheduled[x]', 'min' => 0, 'max' => 1 }, 'scheduledTiming' => { 'type' => 'Timing', 'path' => 'ProcedureRequest.scheduled[x]', 'min' => 0, 'max' => 1 }, 'encounter' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.encounter', 'min' => 0, 'max' => 1 }, 'performer' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.performer', 'min' => 0, 'max' => 1 }, 'status' => { 'valid_codes' => { 'http://hl7.org/fhir/procedure-request-status' => ['proposed', 'draft', 'requested', 'received', 'accepted', 'in-progress', 'completed', 'suspended', 'rejected', 'aborted'] }, 'type' => 'code', 'path' => 'ProcedureRequest.status', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-request-status' } }, 'notes' => { 'type' => 'Annotation', 'path' => 'ProcedureRequest.notes', 'min' => 0, 'max' => Float::INFINITY }, 'asNeededBoolean' => { 'type' => 'boolean', 'path' => 'ProcedureRequest.asNeeded[x]', 'min' => 0, 'max' => 1 }, 'asNeededCodeableConcept' => { 'type' => 'CodeableConcept', 'path' => 'ProcedureRequest.asNeeded[x]', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'example', 'uri' => nil } }, 'orderedOn' => { 'type' => 'dateTime', 'path' => 'ProcedureRequest.orderedOn', 'min' => 0, 'max' => 1 }, 'orderer' => { 'type' => 'Reference', 'path' => 'ProcedureRequest.orderer', 'min' => 0, 'max' => 1 }, 'priority' => { 'valid_codes' => { 'http://hl7.org/fhir/procedure-request-priority' => ['routine', 'urgent', 'stat', 'asap'] }, 'type' => 'code', 'path' => 'ProcedureRequest.priority', 'min' => 0, 'max' => 1, 'binding' => { 'strength' => 'required', 'uri' => 'http://hl7.org/fhir/ValueSet/procedure-request-priority' } } }
Instance Attribute Summary collapse
-
#asNeededBoolean ⇒ Object
0-1 boolean.
-
#asNeededCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#bodySite ⇒ Object
0-* [ CodeableConcept ].
-
#code ⇒ Object
1-1 CodeableConcept.
-
#contained ⇒ Object
0-* [ Resource ].
-
#encounter ⇒ Object
0-1 Reference().
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#notes ⇒ Object
0-* [ Annotation ].
-
#orderedOn ⇒ Object
0-1 dateTime.
-
#orderer ⇒ Object
0-1 Reference().
-
#performer ⇒ Object
0-1 Reference().
-
#priority ⇒ Object
0-1 code.
-
#reasonCodeableConcept ⇒ Object
0-1 CodeableConcept.
-
#reasonReference ⇒ Object
0-1 Reference().
-
#scheduledDateTime ⇒ Object
0-1 dateTime.
-
#scheduledPeriod ⇒ Object
0-1 Period.
-
#scheduledTiming ⇒ Object
0-1 Timing.
-
#status ⇒ Object
0-1 code.
-
#subject ⇒ Object
1-1 Reference().
-
#text ⇒ Object
0-1 Narrative.
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
#asNeededBoolean ⇒ Object
0-1 boolean
64 65 66 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 64 def asNeededBoolean @asNeededBoolean end |
#asNeededCodeableConcept ⇒ Object
0-1 CodeableConcept
65 66 67 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 65 def asNeededCodeableConcept @asNeededCodeableConcept end |
#bodySite ⇒ Object
0-* [ CodeableConcept ]
54 55 56 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 54 def bodySite @bodySite end |
#code ⇒ Object
1-1 CodeableConcept
53 54 55 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 53 def code @code end |
#contained ⇒ Object
0-* [ Resource ]
48 49 50 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 48 def contained @contained end |
#encounter ⇒ Object
0-1 Reference()
60 61 62 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 60 def encounter @encounter end |
#extension ⇒ Object
0-* [ Extension ]
49 50 51 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 49 def extension @extension end |
#id ⇒ Object
0-1 id
43 44 45 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 43 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
51 52 53 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 51 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
45 46 47 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 45 def implicitRules @implicitRules end |
#language ⇒ Object
0-1 code
46 47 48 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 46 def language @language end |
#meta ⇒ Object
0-1 Meta
44 45 46 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 44 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
50 51 52 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 50 def modifierExtension @modifierExtension end |
#notes ⇒ Object
0-* [ Annotation ]
63 64 65 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 63 def notes @notes end |
#orderedOn ⇒ Object
0-1 dateTime
66 67 68 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 66 def orderedOn @orderedOn end |
#orderer ⇒ Object
0-1 Reference()
67 68 69 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 67 def orderer @orderer end |
#performer ⇒ Object
0-1 Reference()
61 62 63 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 61 def performer @performer end |
#priority ⇒ Object
0-1 code
68 69 70 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 68 def priority @priority end |
#reasonCodeableConcept ⇒ Object
0-1 CodeableConcept
55 56 57 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 55 def reasonCodeableConcept @reasonCodeableConcept end |
#reasonReference ⇒ Object
0-1 Reference()
56 57 58 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 56 def reasonReference @reasonReference end |
#scheduledDateTime ⇒ Object
0-1 dateTime
57 58 59 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 57 def scheduledDateTime @scheduledDateTime end |
#scheduledPeriod ⇒ Object
0-1 Period
58 59 60 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 58 def scheduledPeriod @scheduledPeriod end |
#scheduledTiming ⇒ Object
0-1 Timing
59 60 61 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 59 def scheduledTiming @scheduledTiming end |
#status ⇒ Object
0-1 code
62 63 64 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 62 def status @status end |
#subject ⇒ Object
1-1 Reference()
52 53 54 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 52 def subject @subject end |
#text ⇒ Object
0-1 Narrative
47 48 49 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 47 def text @text end |
Instance Method Details
#resourceType ⇒ Object
70 71 72 |
# File 'lib/fhir_dstu2_models/fhir/resources/ProcedureRequest.rb', line 70 def resourceType 'ProcedureRequest' end |