Class: FHIR::DSTU2::DiagnosticReport
- Defined in:
- lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb
Defined Under Namespace
Classes: Image
Constant Summary collapse
- MULTIPLE_TYPES =
{ 'effective' => ['dateTime', 'Period'] }
- SEARCH_PARAMS =
['category', 'code', 'date', 'diagnosis', 'encounter', 'identifier', 'image', 'issued', 'patient', 'performer', 'request', 'result', 'specimen', 'status', 'subject']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'DiagnosticReport.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'DiagnosticReport.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'DiagnosticReport.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'type'=>'code', 'path'=>'DiagnosticReport.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}}, 'text' => {'type'=>'Narrative', 'path'=>'DiagnosticReport.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'DiagnosticReport.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'DiagnosticReport.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'DiagnosticReport.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'identifier' => {'type'=>'Identifier', 'path'=>'DiagnosticReport.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/diagnostic-report-status'=>['registered', 'partial', 'final', 'corrected', 'appended', 'cancelled', 'entered-in-error']}, 'type'=>'code', 'path'=>'DiagnosticReport.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-report-status'}}, 'category' => {'valid_codes'=>{'http://hl7.org/fhir/v2/0074'=>['AU', 'BG', 'BLB', 'CG', 'CH', 'CP', 'CT', 'CTH', 'CUS', 'EC', 'EN', 'GE', 'HM', 'ICU', 'IMG', 'IMM', 'LAB', 'MB', 'MCB', 'MYC', 'NMR', 'NMS', 'NRS', 'OSL', 'OT', 'OTH', 'OUS', 'PAR', 'PAT', 'PF', 'PHR', 'PHY', 'PT', 'RAD', 'RC', 'RT', 'RUS', 'RX', 'SP', 'SR', 'TX', 'URN', 'VR', 'VUS', 'XRC']}, 'type'=>'CodeableConcept', 'path'=>'DiagnosticReport.category', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/diagnostic-service-sections'}}, 'code' => {'valid_codes'=>{'http://loinc.org'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DiagnosticReport.code', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/report-codes'}}, 'subject' => {'type'=>'Reference', 'path'=>'DiagnosticReport.subject', 'min'=>1, 'max'=>1}, 'encounter' => {'type'=>'Reference', 'path'=>'DiagnosticReport.encounter', 'min'=>0, 'max'=>1}, 'effectiveDateTime' => {'type'=>'dateTime', 'path'=>'DiagnosticReport.effective[x]', 'min'=>1, 'max'=>1}, 'effectivePeriod' => {'type'=>'Period', 'path'=>'DiagnosticReport.effective[x]', 'min'=>1, 'max'=>1}, 'issued' => {'type'=>'instant', 'path'=>'DiagnosticReport.issued', 'min'=>1, 'max'=>1}, 'performer' => {'type'=>'Reference', 'path'=>'DiagnosticReport.performer', 'min'=>1, 'max'=>1}, 'request' => {'type'=>'Reference', 'path'=>'DiagnosticReport.request', 'min'=>0, 'max'=>Float::INFINITY}, 'specimen' => {'type'=>'Reference', 'path'=>'DiagnosticReport.specimen', 'min'=>0, 'max'=>Float::INFINITY}, 'result' => {'type'=>'Reference', 'path'=>'DiagnosticReport.result', 'min'=>0, 'max'=>Float::INFINITY}, 'imagingStudy' => {'type'=>'Reference', 'path'=>'DiagnosticReport.imagingStudy', 'min'=>0, 'max'=>Float::INFINITY}, 'image' => {'type'=>'DiagnosticReport::Image', 'path'=>'DiagnosticReport.image', 'min'=>0, 'max'=>Float::INFINITY}, 'conclusion' => {'type'=>'string', 'path'=>'DiagnosticReport.conclusion', 'min'=>0, 'max'=>1}, 'codedDiagnosis' => {'valid_codes'=>{'http://snomed.info/sct'=>[]}, 'type'=>'CodeableConcept', 'path'=>'DiagnosticReport.codedDiagnosis', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/clinical-findings'}}, 'presentedForm' => {'type'=>'Attachment', 'path'=>'DiagnosticReport.presentedForm', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#category ⇒ Object
0-1 CodeableConcept.
-
#code ⇒ Object
1-1 CodeableConcept.
-
#codedDiagnosis ⇒ Object
0-* [ CodeableConcept ].
-
#conclusion ⇒ Object
0-1 string.
-
#contained ⇒ Object
0-* [ Resource ].
-
#effectiveDateTime ⇒ Object
1-1 dateTime.
-
#effectivePeriod ⇒ Object
1-1 Period.
-
#encounter ⇒ Object
0-1 Reference().
-
#extension ⇒ Object
0-* [ Extension ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#image ⇒ Object
0-* [ DiagnosticReport::Image ].
-
#imagingStudy ⇒ Object
0-* [ Reference() ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#issued ⇒ Object
1-1 instant.
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#performer ⇒ Object
1-1 Reference().
-
#presentedForm ⇒ Object
0-* [ Attachment ].
-
#request ⇒ Object
0-* [ Reference() ].
-
#result ⇒ Object
0-* [ Reference() ].
-
#specimen ⇒ Object
0-* [ Reference() ].
-
#status ⇒ Object
1-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, #equals?, #hash, #initialize, #method_missing, #mismatch, #primitive?, #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
#category ⇒ Object
0-1 CodeableConcept
71 72 73 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 71 def category @category end |
#code ⇒ Object
1-1 CodeableConcept
72 73 74 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 72 def code @code end |
#codedDiagnosis ⇒ Object
0-* [ CodeableConcept ]
85 86 87 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 85 def codedDiagnosis @codedDiagnosis end |
#conclusion ⇒ Object
0-1 string
84 85 86 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 84 def conclusion @conclusion end |
#contained ⇒ Object
0-* [ Resource ]
66 67 68 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 66 def contained @contained end |
#effectiveDateTime ⇒ Object
1-1 dateTime
75 76 77 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 75 def effectiveDateTime @effectiveDateTime end |
#effectivePeriod ⇒ Object
1-1 Period
76 77 78 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 76 def effectivePeriod @effectivePeriod end |
#encounter ⇒ Object
0-1 Reference()
74 75 76 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 74 def encounter @encounter end |
#extension ⇒ Object
0-* [ Extension ]
67 68 69 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 67 def extension @extension end |
#id ⇒ Object
0-1 id
61 62 63 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 61 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
69 70 71 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 69 def identifier @identifier end |
#image ⇒ Object
0-* [ DiagnosticReport::Image ]
83 84 85 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 83 def image @image end |
#imagingStudy ⇒ Object
0-* [ Reference() ]
82 83 84 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 82 def imagingStudy @imagingStudy end |
#implicitRules ⇒ Object
0-1 uri
63 64 65 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 63 def implicitRules @implicitRules end |
#issued ⇒ Object
1-1 instant
77 78 79 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 77 def issued @issued end |
#language ⇒ Object
0-1 code
64 65 66 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 64 def language @language end |
#meta ⇒ Object
0-1 Meta
62 63 64 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 62 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
68 69 70 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 68 def modifierExtension @modifierExtension end |
#performer ⇒ Object
1-1 Reference()
78 79 80 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 78 def performer @performer end |
#presentedForm ⇒ Object
0-* [ Attachment ]
86 87 88 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 86 def presentedForm @presentedForm end |
#request ⇒ Object
0-* [ Reference() ]
79 80 81 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 79 def request @request end |
#result ⇒ Object
0-* [ Reference() ]
81 82 83 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 81 def result @result end |
#specimen ⇒ Object
0-* [ Reference() ]
80 81 82 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 80 def specimen @specimen end |
#status ⇒ Object
1-1 code
70 71 72 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 70 def status @status end |
#subject ⇒ Object
1-1 Reference()
73 74 75 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 73 def subject @subject end |
#text ⇒ Object
0-1 Narrative
65 66 67 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 65 def text @text end |
Instance Method Details
#resourceType ⇒ Object
88 89 90 |
# File 'lib/fhir_dstu2_models/fhir/resources/DiagnosticReport.rb', line 88 def resourceType 'DiagnosticReport' end |