Sha256: b09782094d51fff3466928665f55adb86d7daed3f8747ea6ef3ce9ae20a2b2b8

Contents?: true

Size: 944 Bytes

Versions: 3

Compression:

Stored size: 944 Bytes

Contents

module FHIR
  class Narrative < FHIR::Model
    include FHIR::Hashable
    include FHIR::Json
    include FHIR::Xml

    SEARCH_PARAMS = 
    METADATA = {
      'id' => {'type'=>'string', 'path'=>'Narrative.id', 'min'=>0, 'max'=>1},
      'extension' => {'type'=>'Extension', 'path'=>'Narrative.extension', 'min'=>0, 'max'=>Float::INFINITY},
      'status' => {'valid_codes'=>{'http://hl7.org/fhir/narrative-status'=>['generated', 'extensions', 'additional', 'empty', 'generated', 'extensions', 'additional', 'empty']}, 'type'=>'code', 'path'=>'Narrative.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/narrative-status'}},
      'div' => {'type'=>'xhtml', 'path'=>'Narrative.div', 'min'=>1, 'max'=>1}
    }

    attr_accessor :id        # 0-1 string
    attr_accessor :extension # 0-* [ Extension ]
    attr_accessor :status    # 1-1 code
    attr_accessor :div       # 1-1 xhtml
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fhir_models-1.8.3 lib/fhir_models/fhir/types/Narrative.rb
fhir_models-1.8.2 lib/fhir_models/fhir/types/Narrative.rb
fhir_models-1.8.1 lib/fhir_models/fhir/types/Narrative.rb