Class: FHIR::UsageContext

Inherits:
Model
  • Object
show all
Includes:
Hashable, Json, Xml
Defined in:
lib/fhir/types/UsageContext.rb

Constant Summary collapse

SEARCH_PARAMS =
[]
METADATA =
{
  'id' => {'type'=>'string', 'path'=>'UsageContext.id', 'min'=>0, 'max'=>1},
  'extension' => {'type'=>'Extension', 'path'=>'UsageContext.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'patientGender' => {'valid_codes'=>{'http://hl7.org/fhir/v3/AdministrativeGender'=>['F', 'M', 'UN']}, 'type'=>'CodeableConcept', 'path'=>'UsageContext.patientGender', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-AdministrativeGender'}},
  'patientAgeGroup' => {'type'=>'CodeableConcept', 'path'=>'UsageContext.patientAgeGroup', 'min'=>0, 'max'=>Float::INFINITY},
  'clinicalFocus' => {'type'=>'CodeableConcept', 'path'=>'UsageContext.clinicalFocus', 'min'=>0, 'max'=>Float::INFINITY},
  'targetUser' => {'type'=>'CodeableConcept', 'path'=>'UsageContext.targetUser', 'min'=>0, 'max'=>Float::INFINITY},
  'workflowSetting' => {'type'=>'CodeableConcept', 'path'=>'UsageContext.workflowSetting', 'min'=>0, 'max'=>Float::INFINITY},
  'workflowTask' => {'type'=>'CodeableConcept', 'path'=>'UsageContext.workflowTask', 'min'=>0, 'max'=>Float::INFINITY},
  'clinicalVenue' => {'valid_codes'=>{'http://hl7.org/fhir/v3/ActCode'=>['AMB', 'EMER', 'FLD', 'HH', 'IMP', 'ACUTE', 'NONAC', 'PRENC', 'SS', 'VR']}, 'type'=>'CodeableConcept', 'path'=>'UsageContext.clinicalVenue', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'preferred', 'uri'=>'http://hl7.org/fhir/ValueSet/v3-ActEncounterCode'}},
  'jurisdiction' => {'type'=>'CodeableConcept', 'path'=>'UsageContext.jurisdiction', 'min'=>0, 'max'=>Float::INFINITY}
}

Instance Attribute Summary collapse

Method Summary

Methods included from Xml

from_xml, is_valid?, #to_xml, validate

Methods included from Json

from_json, #to_json

Methods included from Hashable

#from_hash, #to_hash

Methods inherited from Model

#attribute_mismatch, #compare_attribute, #equals?, #initialize, #is_valid?, #method_missing, #mismatch, #to_reference, #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

#clinicalFocusObject

0-* [ CodeableConcept ]



25
26
27
# File 'lib/fhir/types/UsageContext.rb', line 25

def clinicalFocus
  @clinicalFocus
end

#clinicalVenueObject

0-* [ CodeableConcept ]



29
30
31
# File 'lib/fhir/types/UsageContext.rb', line 29

def clinicalVenue
  @clinicalVenue
end

#extensionObject

0-* [ Extension ]



22
23
24
# File 'lib/fhir/types/UsageContext.rb', line 22

def extension
  @extension
end

#idObject

0-1 string



21
22
23
# File 'lib/fhir/types/UsageContext.rb', line 21

def id
  @id
end

#jurisdictionObject

0-* [ CodeableConcept ]



30
31
32
# File 'lib/fhir/types/UsageContext.rb', line 30

def jurisdiction
  @jurisdiction
end

#patientAgeGroupObject

0-* [ CodeableConcept ]



24
25
26
# File 'lib/fhir/types/UsageContext.rb', line 24

def patientAgeGroup
  @patientAgeGroup
end

#patientGenderObject

0-* [ CodeableConcept ]



23
24
25
# File 'lib/fhir/types/UsageContext.rb', line 23

def patientGender
  @patientGender
end

#targetUserObject

0-* [ CodeableConcept ]



26
27
28
# File 'lib/fhir/types/UsageContext.rb', line 26

def targetUser
  @targetUser
end

#workflowSettingObject

0-* [ CodeableConcept ]



27
28
29
# File 'lib/fhir/types/UsageContext.rb', line 27

def workflowSetting
  @workflowSetting
end

#workflowTaskObject

0-* [ CodeableConcept ]



28
29
30
# File 'lib/fhir/types/UsageContext.rb', line 28

def workflowTask
  @workflowTask
end