Class: FHIR::ResearchStudy
- Defined in:
- lib/fhir_models/fhir/resources/ResearchStudy.rb
Defined Under Namespace
Classes: Arm
Constant Summary collapse
- SEARCH_PARAMS =
['category', 'date', 'focus', 'identifier', 'jurisdiction', 'keyword', 'partof', 'principalinvestigator', 'protocol', 'site', 'sponsor', 'status', 'title']
- METADATA =
{ 'id' => {'type'=>'id', 'path'=>'ResearchStudy.id', 'min'=>0, 'max'=>1}, 'meta' => {'type'=>'Meta', 'path'=>'ResearchStudy.meta', 'min'=>0, 'max'=>1}, 'implicitRules' => {'type'=>'uri', 'path'=>'ResearchStudy.implicitRules', 'min'=>0, 'max'=>1}, 'language' => {'valid_codes'=>{'urn:ietf:bcp:47'=>['ar', 'bn', 'cs', 'da', 'de', 'de-AT', 'de-CH', 'de-DE', 'el', 'en', 'en-AU', 'en-CA', 'en-GB', 'en-IN', 'en-NZ', 'en-SG', 'en-US', 'es', 'es-AR', 'es-ES', 'es-UY', 'fi', 'fr', 'fr-BE', 'fr-CH', 'fr-FR', 'fy', 'fy-NL', 'hi', 'hr', 'it', 'it-CH', 'it-IT', 'ja', 'ko', 'nl', 'nl-BE', 'nl-NL', 'no', 'no-NO', 'pa', 'pt', 'pt-BR', 'ru', 'ru-RU', 'sr', 'sr-SP', 'sv', 'sv-SE', 'te', 'zh', 'zh-CN', 'zh-HK', 'zh-SG', 'zh-TW']}, 'type'=>'code', 'path'=>'ResearchStudy.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}}, 'text' => {'type'=>'Narrative', 'path'=>'ResearchStudy.text', 'min'=>0, 'max'=>1}, 'contained' => {'type'=>'Resource', 'path'=>'ResearchStudy.contained', 'min'=>0, 'max'=>Float::INFINITY}, 'extension' => {'type'=>'Extension', 'path'=>'ResearchStudy.extension', 'min'=>0, 'max'=>Float::INFINITY}, 'modifierExtension' => {'type'=>'Extension', 'path'=>'ResearchStudy.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY}, 'identifier' => {'type'=>'Identifier', 'path'=>'ResearchStudy.identifier', 'min'=>0, 'max'=>Float::INFINITY}, 'title' => {'type'=>'string', 'path'=>'ResearchStudy.title', 'min'=>0, 'max'=>1}, 'protocol' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/PlanDefinition'], 'type'=>'Reference', 'path'=>'ResearchStudy.protocol', 'min'=>0, 'max'=>Float::INFINITY}, 'partOf' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/ResearchStudy'], 'type'=>'Reference', 'path'=>'ResearchStudy.partOf', 'min'=>0, 'max'=>Float::INFINITY}, 'status' => {'valid_codes'=>{'http://hl7.org/fhir/research-study-status'=>['draft', 'in-progress', 'suspended', 'stopped', 'completed', 'entered-in-error']}, 'type'=>'code', 'path'=>'ResearchStudy.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/research-study-status'}}, 'category' => {'type'=>'CodeableConcept', 'path'=>'ResearchStudy.category', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, 'focus' => {'type'=>'CodeableConcept', 'path'=>'ResearchStudy.focus', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, 'contact' => {'type'=>'ContactDetail', 'path'=>'ResearchStudy.contact', 'min'=>0, 'max'=>Float::INFINITY}, 'relatedArtifact' => {'type'=>'RelatedArtifact', 'path'=>'ResearchStudy.relatedArtifact', 'min'=>0, 'max'=>Float::INFINITY}, 'keyword' => {'type'=>'CodeableConcept', 'path'=>'ResearchStudy.keyword', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}}, 'jurisdiction' => {'valid_codes'=>{'urn:iso:std:iso:3166'=>['AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AN', 'AO', 'AQ', 'AR', 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', 'BR', 'BS', 'BT', 'BU', 'BV', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CS', 'CT', 'CU', 'CV', 'CW', 'CX', 'CY', 'CZ', 'DD', 'DE', 'DJ', 'DK', 'DM', 'DO', 'DY', 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI', 'FJ', 'FK', 'FM', 'FO', 'FQ', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', 'GU', 'GW', 'GY', 'HK', 'HM', 'HN', 'HR', 'HT', 'HU', 'HV', 'ID', 'IE', 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', 'JO', 'JP', 'JT', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', 'MH', 'MI', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', 'NF', 'NG', 'NH', 'NI', 'NL', 'NO', 'NP', 'NQ', 'NR', 'NT', 'NU', 'NZ', 'OM', 'PA', 'PC', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', 'PS', 'PT', 'PU', 'PW', 'PY', 'PZ', 'QA', 'RE', 'RH', 'RO', 'RS', 'RU', 'RW', 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SU', 'SV', 'SX', 'SY', 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', 'TN', 'TO', 'TP', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', 'US', 'UY', 'UZ', 'VA', 'VC', 'VD', 'VE', 'VG', 'VI', 'VN', 'VU', 'WF', 'WK', 'WS', 'YD', 'YE', 'YT', 'YU', 'ZA', 'ZM', 'ZR', 'ZW'], 'http://unstats.un.org/unsd/methods/m49/m49.htm'=>['001', '002', '014', '017', '015', '018', '011', '019', '419', '029', '013', '005', '021', '142', '143', '030', '034', '035', '145', '150', '151', '154', '039', '155', '009', '053', '054', '057', '061'], 'https://www.usps.com/'=>['AK', 'AL', 'AR', 'AS', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'FM', 'GA', 'GU', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MH', 'MI', 'MN', 'MO', 'MP', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'PR', 'PW', 'RI', 'SC', 'SD', 'TN', 'TX', 'UM', 'UT', 'VA', 'VI', 'VT', 'WA', 'WI', 'WV', 'WY'], nil=>[]}, 'type'=>'CodeableConcept', 'path'=>'ResearchStudy.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/jurisdiction'}}, 'description' => {'type'=>'markdown', 'path'=>'ResearchStudy.description', 'min'=>0, 'max'=>1}, 'enrollment' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Group'], 'type'=>'Reference', 'path'=>'ResearchStudy.enrollment', 'min'=>0, 'max'=>Float::INFINITY}, 'period' => {'type'=>'Period', 'path'=>'ResearchStudy.period', 'min'=>0, 'max'=>1}, 'sponsor' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'ResearchStudy.sponsor', 'min'=>0, 'max'=>1}, 'principalInvestigator' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner'], 'type'=>'Reference', 'path'=>'ResearchStudy.principalInvestigator', 'min'=>0, 'max'=>1}, 'site' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Location'], 'type'=>'Reference', 'path'=>'ResearchStudy.site', 'min'=>0, 'max'=>Float::INFINITY}, 'reasonStopped' => {'type'=>'CodeableConcept', 'path'=>'ResearchStudy.reasonStopped', 'min'=>0, 'max'=>1}, 'note' => {'type'=>'Annotation', 'path'=>'ResearchStudy.note', 'min'=>0, 'max'=>Float::INFINITY}, 'arm' => {'type'=>'ResearchStudy::Arm', 'path'=>'ResearchStudy.arm', 'min'=>0, 'max'=>Float::INFINITY} }
Instance Attribute Summary collapse
-
#arm ⇒ Object
0-* [ ResearchStudy::Arm ].
-
#category ⇒ Object
0-* [ CodeableConcept ].
-
#contact ⇒ Object
0-* [ ContactDetail ].
-
#contained ⇒ Object
0-* [ Resource ].
-
#description ⇒ Object
0-1 markdown.
-
#enrollment ⇒ Object
0-* [ Reference(Group) ].
-
#extension ⇒ Object
0-* [ Extension ].
-
#focus ⇒ Object
0-* [ CodeableConcept ].
-
#id ⇒ Object
0-1 id.
-
#identifier ⇒ Object
0-* [ Identifier ].
-
#implicitRules ⇒ Object
0-1 uri.
-
#jurisdiction ⇒ Object
0-* [ CodeableConcept ].
-
#keyword ⇒ Object
0-* [ CodeableConcept ].
-
#language ⇒ Object
0-1 code.
-
#meta ⇒ Object
0-1 Meta.
-
#modifierExtension ⇒ Object
0-* [ Extension ].
-
#note ⇒ Object
0-* [ Annotation ].
-
#partOf ⇒ Object
0-* [ Reference(ResearchStudy) ].
-
#period ⇒ Object
0-1 Period.
-
#principalInvestigator ⇒ Object
0-1 Reference(Practitioner).
-
#protocol ⇒ Object
0-* [ Reference(PlanDefinition) ].
-
#reasonStopped ⇒ Object
0-1 CodeableConcept.
-
#relatedArtifact ⇒ Object
0-* [ RelatedArtifact ].
-
#site ⇒ Object
0-* [ Reference(Location) ].
-
#sponsor ⇒ Object
0-1 Reference(Organization).
-
#status ⇒ Object
1-1 code.
-
#text ⇒ Object
0-1 Narrative.
-
#title ⇒ Object
0-1 string.
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::Model
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FHIR::Model
Instance Attribute Details
#arm ⇒ Object
0-* [ ResearchStudy::Arm ]
88 89 90 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 88 def arm @arm end |
#category ⇒ Object
0-* [ CodeableConcept ]
74 75 76 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 74 def category @category end |
#contact ⇒ Object
0-* [ ContactDetail ]
76 77 78 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 76 def contact @contact end |
#contained ⇒ Object
0-* [ Resource ]
66 67 68 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 66 def contained @contained end |
#description ⇒ Object
0-1 markdown
80 81 82 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 80 def description @description end |
#enrollment ⇒ Object
0-* [ Reference(Group) ]
81 82 83 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 81 def enrollment @enrollment end |
#extension ⇒ Object
0-* [ Extension ]
67 68 69 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 67 def extension @extension end |
#focus ⇒ Object
0-* [ CodeableConcept ]
75 76 77 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 75 def focus @focus end |
#id ⇒ Object
0-1 id
61 62 63 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 61 def id @id end |
#identifier ⇒ Object
0-* [ Identifier ]
69 70 71 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 69 def identifier @identifier end |
#implicitRules ⇒ Object
0-1 uri
63 64 65 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 63 def implicitRules @implicitRules end |
#jurisdiction ⇒ Object
0-* [ CodeableConcept ]
79 80 81 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 79 def jurisdiction @jurisdiction end |
#keyword ⇒ Object
0-* [ CodeableConcept ]
78 79 80 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 78 def keyword @keyword end |
#language ⇒ Object
0-1 code
64 65 66 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 64 def language @language end |
#meta ⇒ Object
0-1 Meta
62 63 64 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 62 def @meta end |
#modifierExtension ⇒ Object
0-* [ Extension ]
68 69 70 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 68 def modifierExtension @modifierExtension end |
#note ⇒ Object
0-* [ Annotation ]
87 88 89 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 87 def note @note end |
#partOf ⇒ Object
0-* [ Reference(ResearchStudy) ]
72 73 74 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 72 def partOf @partOf end |
#period ⇒ Object
0-1 Period
82 83 84 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 82 def period @period end |
#principalInvestigator ⇒ Object
0-1 Reference(Practitioner)
84 85 86 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 84 def principalInvestigator @principalInvestigator end |
#protocol ⇒ Object
0-* [ Reference(PlanDefinition) ]
71 72 73 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 71 def protocol @protocol end |
#reasonStopped ⇒ Object
0-1 CodeableConcept
86 87 88 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 86 def reasonStopped @reasonStopped end |
#relatedArtifact ⇒ Object
0-* [ RelatedArtifact ]
77 78 79 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 77 def @relatedArtifact end |
#site ⇒ Object
0-* [ Reference(Location) ]
85 86 87 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 85 def site @site end |
#sponsor ⇒ Object
0-1 Reference(Organization)
83 84 85 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 83 def sponsor @sponsor end |
#status ⇒ Object
1-1 code
73 74 75 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 73 def status @status end |
#text ⇒ Object
0-1 Narrative
65 66 67 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 65 def text @text end |
#title ⇒ Object
0-1 string
70 71 72 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 70 def title @title end |
Instance Method Details
#resourceType ⇒ Object
90 91 92 |
# File 'lib/fhir_models/fhir/resources/ResearchStudy.rb', line 90 def resourceType 'ResearchStudy' end |