Class: FHIR::PaymentNotice

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

Constant Summary collapse

MULTIPLE_TYPES =
{
  'target' => ['Identifier', 'Reference'],
  'provider' => ['Identifier', 'Reference'],
  'organization' => ['Identifier', 'Reference'],
  'request' => ['Identifier', 'Reference'],
  'response' => ['Identifier', 'Reference']
}
SEARCH_PARAMS =
["created", "identifier", "organization-identifier", "organization-reference", "payment-status", "provider-identifier", "provider-reference", "request-identifier", "request-reference", "response-identifier", "response-reference", "statusdate"]
METADATA =
{
  'id' => {'type'=>'id', 'path'=>'PaymentNotice.id', 'min'=>0, 'max'=>1},
  'meta' => {'type'=>'Meta', 'path'=>'PaymentNotice.meta', 'min'=>0, 'max'=>1},
  'implicitRules' => {'type'=>'uri', 'path'=>'PaymentNotice.implicitRules', 'min'=>0, 'max'=>1},
  'language' => {'type'=>'code', 'path'=>'PaymentNotice.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'extensible', 'uri'=>'http://hl7.org/fhir/ValueSet/languages'}},
  'text' => {'type'=>'Narrative', 'path'=>'PaymentNotice.text', 'min'=>0, 'max'=>1},
  'contained' => {'type'=>'Resource', 'path'=>'PaymentNotice.contained', 'min'=>0, 'max'=>Float::INFINITY},
  'extension' => {'type'=>'Extension', 'path'=>'PaymentNotice.extension', 'min'=>0, 'max'=>Float::INFINITY},
  'modifierExtension' => {'type'=>'Extension', 'path'=>'PaymentNotice.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
  'identifier' => {'type'=>'Identifier', 'path'=>'PaymentNotice.identifier', 'min'=>0, 'max'=>Float::INFINITY},
  'status' => {'valid_codes'=>{'http://hl7.org/fhir/paymentnotice-status'=>['active', 'cancelled', 'draft', 'entered-in-error', 'active', 'cancelled', 'draft', 'entered-in-error']}, 'type'=>'code', 'path'=>'PaymentNotice.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/paymentnotice-status'}},
  'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3', 'x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'PaymentNotice.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}},
  'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3', 'x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'PaymentNotice.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}},
  'created' => {'type'=>'dateTime', 'path'=>'PaymentNotice.created', 'min'=>0, 'max'=>1},
  'targetIdentifier' => {'type'=>'Identifier', 'path'=>'PaymentNotice.target[x]', 'min'=>0, 'max'=>1},
  'targetReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'PaymentNotice.target[x]', 'min'=>0, 'max'=>1},
  'providerIdentifier' => {'type'=>'Identifier', 'path'=>'PaymentNotice.provider[x]', 'min'=>0, 'max'=>1},
  'providerReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner'], 'type'=>'Reference', 'path'=>'PaymentNotice.provider[x]', 'min'=>0, 'max'=>1},
  'organizationIdentifier' => {'type'=>'Identifier', 'path'=>'PaymentNotice.organization[x]', 'min'=>0, 'max'=>1},
  'organizationReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'PaymentNotice.organization[x]', 'min'=>0, 'max'=>1},
  'requestIdentifier' => {'type'=>'Identifier', 'path'=>'PaymentNotice.request[x]', 'min'=>0, 'max'=>1},
  'requestReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'PaymentNotice.request[x]', 'min'=>0, 'max'=>1},
  'responseIdentifier' => {'type'=>'Identifier', 'path'=>'PaymentNotice.response[x]', 'min'=>0, 'max'=>1},
  'responseReference' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Resource'], 'type'=>'Reference', 'path'=>'PaymentNotice.response[x]', 'min'=>0, 'max'=>1},
  'paymentStatus' => {'valid_codes'=>{'http://hl7.org/fhir/paymentstatus'=>['paid', 'cleared', 'paid', 'cleared']}, 'type'=>'Coding', 'path'=>'PaymentNotice.paymentStatus', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/payment-status'}},
  'statusDate' => {'type'=>'date', 'path'=>'PaymentNotice.statusDate', 'min'=>0, 'max'=>1}
}

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#containedObject

0-* [ Resource ]



48
49
50
# File 'lib/fhir/resources/PaymentNotice.rb', line 48

def contained
  @contained
end

#createdObject

0-1 dateTime



55
56
57
# File 'lib/fhir/resources/PaymentNotice.rb', line 55

def created
  @created
end

#extensionObject

0-* [ Extension ]



49
50
51
# File 'lib/fhir/resources/PaymentNotice.rb', line 49

def extension
  @extension
end

#idObject

0-1 id



43
44
45
# File 'lib/fhir/resources/PaymentNotice.rb', line 43

def id
  @id
end

#identifierObject

0-* [ Identifier ]



51
52
53
# File 'lib/fhir/resources/PaymentNotice.rb', line 51

def identifier
  @identifier
end

#implicitRulesObject

0-1 uri



45
46
47
# File 'lib/fhir/resources/PaymentNotice.rb', line 45

def implicitRules
  @implicitRules
end

#languageObject

0-1 code



46
47
48
# File 'lib/fhir/resources/PaymentNotice.rb', line 46

def language
  @language
end

#metaObject

0-1 Meta



44
45
46
# File 'lib/fhir/resources/PaymentNotice.rb', line 44

def meta
  @meta
end

#modifierExtensionObject

0-* [ Extension ]



50
51
52
# File 'lib/fhir/resources/PaymentNotice.rb', line 50

def modifierExtension
  @modifierExtension
end

#organizationIdentifierObject

0-1 Identifier



60
61
62
# File 'lib/fhir/resources/PaymentNotice.rb', line 60

def organizationIdentifier
  @organizationIdentifier
end

#organizationReferenceObject

0-1 Reference(Organization)



61
62
63
# File 'lib/fhir/resources/PaymentNotice.rb', line 61

def organizationReference
  @organizationReference
end

#originalRulesetObject

0-1 Coding



54
55
56
# File 'lib/fhir/resources/PaymentNotice.rb', line 54

def originalRuleset
  @originalRuleset
end

#paymentStatusObject

1-1 Coding



66
67
68
# File 'lib/fhir/resources/PaymentNotice.rb', line 66

def paymentStatus
  @paymentStatus
end

#providerIdentifierObject

0-1 Identifier



58
59
60
# File 'lib/fhir/resources/PaymentNotice.rb', line 58

def providerIdentifier
  @providerIdentifier
end

#providerReferenceObject

0-1 Reference(Practitioner)



59
60
61
# File 'lib/fhir/resources/PaymentNotice.rb', line 59

def providerReference
  @providerReference
end

#requestIdentifierObject

0-1 Identifier



62
63
64
# File 'lib/fhir/resources/PaymentNotice.rb', line 62

def requestIdentifier
  @requestIdentifier
end

#requestReferenceObject

0-1 Reference(Resource)



63
64
65
# File 'lib/fhir/resources/PaymentNotice.rb', line 63

def requestReference
  @requestReference
end

#responseIdentifierObject

0-1 Identifier



64
65
66
# File 'lib/fhir/resources/PaymentNotice.rb', line 64

def responseIdentifier
  @responseIdentifier
end

#responseReferenceObject

0-1 Reference(Resource)



65
66
67
# File 'lib/fhir/resources/PaymentNotice.rb', line 65

def responseReference
  @responseReference
end

#rulesetObject

0-1 Coding



53
54
55
# File 'lib/fhir/resources/PaymentNotice.rb', line 53

def ruleset
  @ruleset
end

#statusObject

1-1 code



52
53
54
# File 'lib/fhir/resources/PaymentNotice.rb', line 52

def status
  @status
end

#statusDateObject

0-1 date



67
68
69
# File 'lib/fhir/resources/PaymentNotice.rb', line 67

def statusDate
  @statusDate
end

#targetIdentifierObject

0-1 Identifier



56
57
58
# File 'lib/fhir/resources/PaymentNotice.rb', line 56

def targetIdentifier
  @targetIdentifier
end

#targetReferenceObject

0-1 Reference(Organization)



57
58
59
# File 'lib/fhir/resources/PaymentNotice.rb', line 57

def targetReference
  @targetReference
end

#textObject

0-1 Narrative



47
48
49
# File 'lib/fhir/resources/PaymentNotice.rb', line 47

def text
  @text
end

Instance Method Details

#resourceTypeObject



69
70
71
# File 'lib/fhir/resources/PaymentNotice.rb', line 69

def resourceType
  'PaymentNotice'
end