fhir_models 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.travis.yml +0 -1
- data/Gemfile.lock +1 -1
- data/Rakefile +0 -1
- data/fhir_models.gemspec +1 -1
- data/lib/fhir/metadata.rb +25 -0
- data/lib/fhir/resources/Account.rb +54 -0
- data/lib/fhir/resources/AllergyIntolerance.rb +92 -0
- data/lib/fhir/resources/Appointment.rb +88 -0
- data/lib/fhir/resources/AppointmentResponse.rb +48 -0
- data/lib/fhir/resources/AuditEvent.rb +188 -0
- data/lib/fhir/resources/Basic.rb +42 -0
- data/lib/fhir/resources/Binary.rb +28 -0
- data/lib/fhir/resources/BodySite.rb +44 -0
- data/lib/fhir/resources/Bundle.rb +154 -0
- data/lib/fhir/resources/CarePlan.rb +184 -0
- data/lib/fhir/resources/CareTeam.rb +70 -0
- data/lib/fhir/resources/Claim.rb +490 -0
- data/lib/fhir/resources/ClaimResponse.rb +421 -0
- data/lib/fhir/resources/ClinicalImpression.rb +131 -0
- data/lib/fhir/resources/CodeSystem.rb +225 -0
- data/lib/fhir/resources/Communication.rb +83 -0
- data/lib/fhir/resources/CommunicationRequest.rb +90 -0
- data/lib/fhir/resources/CompartmentDefinition.rb +98 -0
- data/lib/fhir/resources/Composition.rb +136 -0
- data/lib/fhir/resources/ConceptMap.rb +168 -0
- data/lib/fhir/resources/Condition.rb +126 -0
- data/lib/fhir/resources/Conformance.rb +442 -0
- data/lib/fhir/resources/Contract.rb +320 -0
- data/lib/fhir/resources/Coverage.rb +77 -0
- data/lib/fhir/resources/DataElement.rb +104 -0
- data/lib/fhir/resources/DecisionSupportRule.rb +42 -0
- data/lib/fhir/resources/DecisionSupportServiceModule.rb +40 -0
- data/lib/fhir/resources/DetectedIssue.rb +74 -0
- data/lib/fhir/resources/Device.rb +64 -0
- data/lib/fhir/resources/DeviceComponent.rb +74 -0
- data/lib/fhir/resources/DeviceMetric.rb +74 -0
- data/lib/fhir/resources/DeviceUseRequest.rb +68 -0
- data/lib/fhir/resources/DeviceUseStatement.rb +60 -0
- data/lib/fhir/resources/DiagnosticOrder.rb +106 -0
- data/lib/fhir/resources/DiagnosticReport.rb +91 -0
- data/lib/fhir/resources/DocumentManifest.rb +99 -0
- data/lib/fhir/resources/DocumentReference.rb +156 -0
- data/lib/fhir/resources/DomainResource.rb +32 -0
- data/lib/fhir/resources/EligibilityRequest.rb +90 -0
- data/lib/fhir/resources/EligibilityResponse.rb +152 -0
- data/lib/fhir/resources/Encounter.rb +172 -0
- data/lib/fhir/resources/EnrollmentRequest.rb +52 -0
- data/lib/fhir/resources/EnrollmentResponse.rb +52 -0
- data/lib/fhir/resources/EpisodeOfCare.rb +74 -0
- data/lib/fhir/resources/ExpansionProfile.rb +284 -0
- data/lib/fhir/resources/ExplanationOfBenefit.rb +764 -0
- data/lib/fhir/resources/FamilyMemberHistory.rb +110 -0
- data/lib/fhir/resources/Flag.rb +48 -0
- data/lib/fhir/resources/Goal.rb +91 -0
- data/lib/fhir/resources/Group.rb +105 -0
- data/lib/fhir/resources/GuidanceResponse.rb +139 -0
- data/lib/fhir/resources/HealthcareService.rb +122 -0
- data/lib/fhir/resources/ImagingExcerpt.rb +210 -0
- data/lib/fhir/resources/ImagingObjectSelection.rb +136 -0
- data/lib/fhir/resources/ImagingStudy.rb +130 -0
- data/lib/fhir/resources/Immunization.rb +148 -0
- data/lib/fhir/resources/ImmunizationRecommendation.rb +114 -0
- data/lib/fhir/resources/ImplementationGuide.rb +211 -0
- data/lib/fhir/resources/Library.rb +145 -0
- data/lib/fhir/resources/Linkage.rb +56 -0
- data/lib/fhir/resources/List.rb +82 -0
- data/lib/fhir/resources/Location.rb +78 -0
- data/lib/fhir/resources/Measure.rb +160 -0
- data/lib/fhir/resources/MeasureReport.rb +204 -0
- data/lib/fhir/resources/Media.rb +56 -0
- data/lib/fhir/resources/Medication.rb +154 -0
- data/lib/fhir/resources/MedicationAdministration.rb +104 -0
- data/lib/fhir/resources/MedicationDispense.rb +141 -0
- data/lib/fhir/resources/MedicationOrder.rb +172 -0
- data/lib/fhir/resources/MedicationStatement.rb +117 -0
- data/lib/fhir/resources/MessageHeader.rb +124 -0
- data/lib/fhir/resources/ModuleDefinition.rb +249 -0
- data/lib/fhir/resources/NamingSystem.rb +102 -0
- data/lib/fhir/resources/NutritionOrder.rb +211 -0
- data/lib/fhir/resources/Observation.rb +187 -0
- data/lib/fhir/resources/OperationDefinition.rb +153 -0
- data/lib/fhir/resources/OperationOutcome.rb +62 -0
- data/lib/fhir/resources/Order.rb +73 -0
- data/lib/fhir/resources/OrderResponse.rb +46 -0
- data/lib/fhir/resources/OrderSet.rb +38 -0
- data/lib/fhir/resources/Organization.rb +72 -0
- data/lib/fhir/resources/Parameters.rb +117 -0
- data/lib/fhir/resources/Patient.rb +166 -0
- data/lib/fhir/resources/PaymentNotice.rb +71 -0
- data/lib/fhir/resources/PaymentReconciliation.rb +140 -0
- data/lib/fhir/resources/Person.rb +72 -0
- data/lib/fhir/resources/Practitioner.rb +110 -0
- data/lib/fhir/resources/PractitionerRole.rb +102 -0
- data/lib/fhir/resources/Procedure.rb +122 -0
- data/lib/fhir/resources/ProcedureRequest.rb +73 -0
- data/lib/fhir/resources/ProcessRequest.rb +99 -0
- data/lib/fhir/resources/ProcessResponse.rb +92 -0
- data/lib/fhir/resources/Protocol.rb +242 -0
- data/lib/fhir/resources/Provenance.rb +122 -0
- data/lib/fhir/resources/Questionnaire.rb +205 -0
- data/lib/fhir/resources/QuestionnaireResponse.rb +123 -0
- data/lib/fhir/resources/ReferralRequest.rb +68 -0
- data/lib/fhir/resources/RelatedPerson.rb +52 -0
- data/lib/fhir/resources/Resource.rb +24 -0
- data/lib/fhir/resources/RiskAssessment.rb +88 -0
- data/lib/fhir/resources/Schedule.rb +46 -0
- data/lib/fhir/resources/SearchParameter.rb +86 -0
- data/lib/fhir/resources/Sequence.rb +238 -0
- data/lib/fhir/resources/Slot.rb +54 -0
- data/lib/fhir/resources/Specimen.rb +140 -0
- data/lib/fhir/resources/StructureDefinition.rb +164 -0
- data/lib/fhir/resources/StructureMap.rb +297 -0
- data/lib/fhir/resources/Subscription.rb +72 -0
- data/lib/fhir/resources/Substance.rb +86 -0
- data/lib/fhir/resources/SupplyDelivery.rb +54 -0
- data/lib/fhir/resources/SupplyRequest.rb +77 -0
- data/lib/fhir/resources/Task.rb +240 -0
- data/lib/fhir/resources/TestScript.rb +692 -0
- data/lib/fhir/resources/ValueSet.rb +289 -0
- data/lib/fhir/resources/VisionPrescription.rb +97 -0
- data/lib/fhir/types/ActionDefinition.rb +109 -0
- data/lib/fhir/types/Address.rb +36 -0
- data/lib/fhir/types/Annotation.rb +27 -0
- data/lib/fhir/types/Attachment.rb +32 -0
- data/lib/fhir/types/BackboneElement.rb +18 -0
- data/lib/fhir/types/CodeableConcept.rb +20 -0
- data/lib/fhir/types/Coding.rb +26 -0
- data/lib/fhir/types/ContactPoint.rb +26 -0
- data/lib/fhir/types/DataRequirement.rb +78 -0
- data/lib/fhir/types/Element.rb +16 -0
- data/lib/fhir/types/ElementDefinition.rb +605 -0
- data/lib/fhir/types/Extension.rb +87 -0
- data/lib/fhir/types/HumanName.rb +30 -0
- data/lib/fhir/types/Identifier.rb +28 -0
- data/lib/fhir/types/Meta.rb +26 -0
- data/lib/fhir/types/ModuleMetadata.rb +152 -0
- data/lib/fhir/types/Narrative.rb +20 -0
- data/lib/fhir/types/ParameterDefinition.rb +30 -0
- data/lib/fhir/types/Period.rb +20 -0
- data/lib/fhir/types/Quantity.rb +26 -0
- data/lib/fhir/types/Range.rb +20 -0
- data/lib/fhir/types/Ratio.rb +20 -0
- data/lib/fhir/types/Reference.rb +20 -0
- data/lib/fhir/types/SampledData.rb +30 -0
- data/lib/fhir/types/Signature.rb +31 -0
- data/lib/fhir/types/Timing.rb +69 -0
- data/lib/fhir/types/TriggerDefinition.rb +33 -0
- data/lib/fhir_models.rb +2 -2
- data/lib/tasks/tasks.rake +29 -0
- metadata +145 -2
@@ -0,0 +1,52 @@
|
|
1
|
+
module FHIR
|
2
|
+
class EnrollmentRequest < FHIR::Model
|
3
|
+
include FHIR::Hashable
|
4
|
+
include FHIR::Json
|
5
|
+
include FHIR::Xml
|
6
|
+
|
7
|
+
SEARCH_PARAMS = ["identifier", "patient", "subject"]
|
8
|
+
METADATA = {
|
9
|
+
'id' => {'type'=>'id', 'path'=>'EnrollmentRequest.id', 'min'=>0, 'max'=>1},
|
10
|
+
'meta' => {'type'=>'Meta', 'path'=>'EnrollmentRequest.meta', 'min'=>0, 'max'=>1},
|
11
|
+
'implicitRules' => {'type'=>'uri', 'path'=>'EnrollmentRequest.implicitRules', 'min'=>0, 'max'=>1},
|
12
|
+
'language' => {'type'=>'code', 'path'=>'EnrollmentRequest.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
|
13
|
+
'text' => {'type'=>'Narrative', 'path'=>'EnrollmentRequest.text', 'min'=>0, 'max'=>1},
|
14
|
+
'contained' => {'type'=>'Resource', 'path'=>'EnrollmentRequest.contained', 'min'=>0, 'max'=>Float::INFINITY},
|
15
|
+
'extension' => {'type'=>'Extension', 'path'=>'EnrollmentRequest.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
16
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'EnrollmentRequest.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
17
|
+
'identifier' => {'type'=>'Identifier', 'path'=>'EnrollmentRequest.identifier', 'min'=>0, 'max'=>Float::INFINITY},
|
18
|
+
'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'EnrollmentRequest.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}},
|
19
|
+
'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'EnrollmentRequest.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}},
|
20
|
+
'created' => {'type'=>'dateTime', 'path'=>'EnrollmentRequest.created', 'min'=>0, 'max'=>1},
|
21
|
+
'target' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'EnrollmentRequest.target', 'min'=>0, 'max'=>1},
|
22
|
+
'provider' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner'], 'type'=>'Reference', 'path'=>'EnrollmentRequest.provider', 'min'=>0, 'max'=>1},
|
23
|
+
'organization' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'EnrollmentRequest.organization', 'min'=>0, 'max'=>1},
|
24
|
+
'subject' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient'], 'type'=>'Reference', 'path'=>'EnrollmentRequest.subject', 'min'=>1, 'max'=>1},
|
25
|
+
'coverage' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Coverage'], 'type'=>'Reference', 'path'=>'EnrollmentRequest.coverage', 'min'=>1, 'max'=>1},
|
26
|
+
'relationship' => {'valid_codes'=>{'http://hl7.org/fhir/relationship'=>['1', '2', '3', '4', '5']}, 'type'=>'Coding', 'path'=>'EnrollmentRequest.relationship', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/relationship'}}
|
27
|
+
}
|
28
|
+
|
29
|
+
attr_accessor :id # 0-1 id
|
30
|
+
attr_accessor :meta # 0-1 Meta
|
31
|
+
attr_accessor :implicitRules # 0-1 uri
|
32
|
+
attr_accessor :language # 0-1 code
|
33
|
+
attr_accessor :text # 0-1 Narrative
|
34
|
+
attr_accessor :contained # 0-* [ Resource ]
|
35
|
+
attr_accessor :extension # 0-* [ Extension ]
|
36
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
37
|
+
attr_accessor :identifier # 0-* [ Identifier ]
|
38
|
+
attr_accessor :ruleset # 0-1 Coding
|
39
|
+
attr_accessor :originalRuleset # 0-1 Coding
|
40
|
+
attr_accessor :created # 0-1 dateTime
|
41
|
+
attr_accessor :target # 0-1 Reference(Organization)
|
42
|
+
attr_accessor :provider # 0-1 Reference(Practitioner)
|
43
|
+
attr_accessor :organization # 0-1 Reference(Organization)
|
44
|
+
attr_accessor :subject # 1-1 Reference(Patient)
|
45
|
+
attr_accessor :coverage # 1-1 Reference(Coverage)
|
46
|
+
attr_accessor :relationship # 1-1 Coding
|
47
|
+
|
48
|
+
def resourceType
|
49
|
+
'EnrollmentRequest'
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
module FHIR
|
2
|
+
class EnrollmentResponse < FHIR::Model
|
3
|
+
include FHIR::Hashable
|
4
|
+
include FHIR::Json
|
5
|
+
include FHIR::Xml
|
6
|
+
|
7
|
+
SEARCH_PARAMS = ["identifier"]
|
8
|
+
METADATA = {
|
9
|
+
'id' => {'type'=>'id', 'path'=>'EnrollmentResponse.id', 'min'=>0, 'max'=>1},
|
10
|
+
'meta' => {'type'=>'Meta', 'path'=>'EnrollmentResponse.meta', 'min'=>0, 'max'=>1},
|
11
|
+
'implicitRules' => {'type'=>'uri', 'path'=>'EnrollmentResponse.implicitRules', 'min'=>0, 'max'=>1},
|
12
|
+
'language' => {'type'=>'code', 'path'=>'EnrollmentResponse.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
|
13
|
+
'text' => {'type'=>'Narrative', 'path'=>'EnrollmentResponse.text', 'min'=>0, 'max'=>1},
|
14
|
+
'contained' => {'type'=>'Resource', 'path'=>'EnrollmentResponse.contained', 'min'=>0, 'max'=>Float::INFINITY},
|
15
|
+
'extension' => {'type'=>'Extension', 'path'=>'EnrollmentResponse.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
16
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'EnrollmentResponse.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
17
|
+
'identifier' => {'type'=>'Identifier', 'path'=>'EnrollmentResponse.identifier', 'min'=>0, 'max'=>Float::INFINITY},
|
18
|
+
'request' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/EnrollmentRequest'], 'type'=>'Reference', 'path'=>'EnrollmentResponse.request', 'min'=>0, 'max'=>1},
|
19
|
+
'outcome' => {'valid_codes'=>{'http://hl7.org/fhir/remittance-outcome'=>['complete', 'error']}, 'type'=>'code', 'path'=>'EnrollmentResponse.outcome', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/remittance-outcome'}},
|
20
|
+
'disposition' => {'type'=>'string', 'path'=>'EnrollmentResponse.disposition', 'min'=>0, 'max'=>1},
|
21
|
+
'ruleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'EnrollmentResponse.ruleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}},
|
22
|
+
'originalRuleset' => {'valid_codes'=>{'http://hl7.org/fhir/ruleset'=>['x12-4010', 'x12-5010', 'x12-7010', 'cdanet-v2', 'cdanet-v4', 'cpha-3']}, 'type'=>'Coding', 'path'=>'EnrollmentResponse.originalRuleset', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'example', 'uri'=>'http://hl7.org/fhir/ValueSet/ruleset'}},
|
23
|
+
'created' => {'type'=>'dateTime', 'path'=>'EnrollmentResponse.created', 'min'=>0, 'max'=>1},
|
24
|
+
'organization' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'EnrollmentResponse.organization', 'min'=>0, 'max'=>1},
|
25
|
+
'requestProvider' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner'], 'type'=>'Reference', 'path'=>'EnrollmentResponse.requestProvider', 'min'=>0, 'max'=>1},
|
26
|
+
'requestOrganization' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'EnrollmentResponse.requestOrganization', 'min'=>0, 'max'=>1}
|
27
|
+
}
|
28
|
+
|
29
|
+
attr_accessor :id # 0-1 id
|
30
|
+
attr_accessor :meta # 0-1 Meta
|
31
|
+
attr_accessor :implicitRules # 0-1 uri
|
32
|
+
attr_accessor :language # 0-1 code
|
33
|
+
attr_accessor :text # 0-1 Narrative
|
34
|
+
attr_accessor :contained # 0-* [ Resource ]
|
35
|
+
attr_accessor :extension # 0-* [ Extension ]
|
36
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
37
|
+
attr_accessor :identifier # 0-* [ Identifier ]
|
38
|
+
attr_accessor :request # 0-1 Reference(EnrollmentRequest)
|
39
|
+
attr_accessor :outcome # 0-1 code
|
40
|
+
attr_accessor :disposition # 0-1 string
|
41
|
+
attr_accessor :ruleset # 0-1 Coding
|
42
|
+
attr_accessor :originalRuleset # 0-1 Coding
|
43
|
+
attr_accessor :created # 0-1 dateTime
|
44
|
+
attr_accessor :organization # 0-1 Reference(Organization)
|
45
|
+
attr_accessor :requestProvider # 0-1 Reference(Practitioner)
|
46
|
+
attr_accessor :requestOrganization # 0-1 Reference(Organization)
|
47
|
+
|
48
|
+
def resourceType
|
49
|
+
'EnrollmentResponse'
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
@@ -0,0 +1,74 @@
|
|
1
|
+
module FHIR
|
2
|
+
class EpisodeOfCare < FHIR::Model
|
3
|
+
include FHIR::Hashable
|
4
|
+
include FHIR::Json
|
5
|
+
include FHIR::Xml
|
6
|
+
|
7
|
+
SEARCH_PARAMS = ["care-manager", "condition", "date", "identifier", "incomingreferral", "organization", "patient", "status", "type"]
|
8
|
+
METADATA = {
|
9
|
+
'id' => {'type'=>'id', 'path'=>'EpisodeOfCare.id', 'min'=>0, 'max'=>1},
|
10
|
+
'meta' => {'type'=>'Meta', 'path'=>'EpisodeOfCare.meta', 'min'=>0, 'max'=>1},
|
11
|
+
'implicitRules' => {'type'=>'uri', 'path'=>'EpisodeOfCare.implicitRules', 'min'=>0, 'max'=>1},
|
12
|
+
'language' => {'type'=>'code', 'path'=>'EpisodeOfCare.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
|
13
|
+
'text' => {'type'=>'Narrative', 'path'=>'EpisodeOfCare.text', 'min'=>0, 'max'=>1},
|
14
|
+
'contained' => {'type'=>'Resource', 'path'=>'EpisodeOfCare.contained', 'min'=>0, 'max'=>Float::INFINITY},
|
15
|
+
'extension' => {'type'=>'Extension', 'path'=>'EpisodeOfCare.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
16
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'EpisodeOfCare.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
17
|
+
'identifier' => {'type'=>'Identifier', 'path'=>'EpisodeOfCare.identifier', 'min'=>0, 'max'=>Float::INFINITY},
|
18
|
+
'status' => {'valid_codes'=>{'http://hl7.org/fhir/episode-of-care-status'=>['planned', 'waitlist', 'active', 'onhold', 'finished', 'cancelled']}, 'type'=>'code', 'path'=>'EpisodeOfCare.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/episode-of-care-status'}},
|
19
|
+
'statusHistory' => {'type'=>'EpisodeOfCare::Statushistory', 'path'=>'EpisodeOfCare.statusHistory', 'min'=>0, 'max'=>Float::INFINITY},
|
20
|
+
'type' => {'type'=>'CodeableConcept', 'path'=>'EpisodeOfCare.type', 'min'=>0, 'max'=>Float::INFINITY, 'binding'=>{'strength'=>'example', 'uri'=>nil}},
|
21
|
+
'condition' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Condition'], 'type'=>'Reference', 'path'=>'EpisodeOfCare.condition', 'min'=>0, 'max'=>Float::INFINITY},
|
22
|
+
'patient' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Patient'], 'type'=>'Reference', 'path'=>'EpisodeOfCare.patient', 'min'=>1, 'max'=>1},
|
23
|
+
'managingOrganization' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Organization'], 'type'=>'Reference', 'path'=>'EpisodeOfCare.managingOrganization', 'min'=>0, 'max'=>1},
|
24
|
+
'period' => {'type'=>'Period', 'path'=>'EpisodeOfCare.period', 'min'=>0, 'max'=>1},
|
25
|
+
'referralRequest' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/ReferralRequest'], 'type'=>'Reference', 'path'=>'EpisodeOfCare.referralRequest', 'min'=>0, 'max'=>Float::INFINITY},
|
26
|
+
'careManager' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/Practitioner'], 'type'=>'Reference', 'path'=>'EpisodeOfCare.careManager', 'min'=>0, 'max'=>1},
|
27
|
+
'team' => {'type_profiles'=>['http://hl7.org/fhir/StructureDefinition/CareTeam'], 'type'=>'Reference', 'path'=>'EpisodeOfCare.team', 'min'=>0, 'max'=>Float::INFINITY}
|
28
|
+
}
|
29
|
+
|
30
|
+
class Statushistory < FHIR::Model
|
31
|
+
include FHIR::Hashable
|
32
|
+
include FHIR::Json
|
33
|
+
include FHIR::Xml
|
34
|
+
|
35
|
+
METADATA = {
|
36
|
+
'id' => {'type'=>'id', 'path'=>'Statushistory.id', 'min'=>0, 'max'=>1},
|
37
|
+
'extension' => {'type'=>'Extension', 'path'=>'Statushistory.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
38
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'Statushistory.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
39
|
+
'status' => {'valid_codes'=>{'http://hl7.org/fhir/episode-of-care-status'=>['planned', 'waitlist', 'active', 'onhold', 'finished', 'cancelled']}, 'type'=>'code', 'path'=>'Statushistory.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/episode-of-care-status'}},
|
40
|
+
'period' => {'type'=>'Period', 'path'=>'Statushistory.period', 'min'=>1, 'max'=>1}
|
41
|
+
}
|
42
|
+
|
43
|
+
attr_accessor :id # 0-1 id
|
44
|
+
attr_accessor :extension # 0-* [ Extension ]
|
45
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
46
|
+
attr_accessor :status # 1-1 code
|
47
|
+
attr_accessor :period # 1-1 Period
|
48
|
+
end
|
49
|
+
|
50
|
+
attr_accessor :id # 0-1 id
|
51
|
+
attr_accessor :meta # 0-1 Meta
|
52
|
+
attr_accessor :implicitRules # 0-1 uri
|
53
|
+
attr_accessor :language # 0-1 code
|
54
|
+
attr_accessor :text # 0-1 Narrative
|
55
|
+
attr_accessor :contained # 0-* [ Resource ]
|
56
|
+
attr_accessor :extension # 0-* [ Extension ]
|
57
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
58
|
+
attr_accessor :identifier # 0-* [ Identifier ]
|
59
|
+
attr_accessor :status # 1-1 code
|
60
|
+
attr_accessor :statusHistory # 0-* [ EpisodeOfCare::Statushistory ]
|
61
|
+
attr_accessor :type # 0-* [ CodeableConcept ]
|
62
|
+
attr_accessor :condition # 0-* [ Reference(Condition) ]
|
63
|
+
attr_accessor :patient # 1-1 Reference(Patient)
|
64
|
+
attr_accessor :managingOrganization # 0-1 Reference(Organization)
|
65
|
+
attr_accessor :period # 0-1 Period
|
66
|
+
attr_accessor :referralRequest # 0-* [ Reference(ReferralRequest) ]
|
67
|
+
attr_accessor :careManager # 0-1 Reference(Practitioner)
|
68
|
+
attr_accessor :team # 0-* [ Reference(CareTeam) ]
|
69
|
+
|
70
|
+
def resourceType
|
71
|
+
'EpisodeOfCare'
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
@@ -0,0 +1,284 @@
|
|
1
|
+
module FHIR
|
2
|
+
class ExpansionProfile < FHIR::Model
|
3
|
+
include FHIR::Hashable
|
4
|
+
include FHIR::Json
|
5
|
+
include FHIR::Xml
|
6
|
+
|
7
|
+
SEARCH_PARAMS = ["date", "description", "identifier", "name", "publisher", "status", "url", "version"]
|
8
|
+
METADATA = {
|
9
|
+
'id' => {'type'=>'id', 'path'=>'ExpansionProfile.id', 'min'=>0, 'max'=>1},
|
10
|
+
'meta' => {'type'=>'Meta', 'path'=>'ExpansionProfile.meta', 'min'=>0, 'max'=>1},
|
11
|
+
'implicitRules' => {'type'=>'uri', 'path'=>'ExpansionProfile.implicitRules', 'min'=>0, 'max'=>1},
|
12
|
+
'language' => {'type'=>'code', 'path'=>'ExpansionProfile.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
|
13
|
+
'text' => {'type'=>'Narrative', 'path'=>'ExpansionProfile.text', 'min'=>0, 'max'=>1},
|
14
|
+
'contained' => {'type'=>'Resource', 'path'=>'ExpansionProfile.contained', 'min'=>0, 'max'=>Float::INFINITY},
|
15
|
+
'extension' => {'type'=>'Extension', 'path'=>'ExpansionProfile.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
16
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'ExpansionProfile.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
17
|
+
'url' => {'type'=>'uri', 'path'=>'ExpansionProfile.url', 'min'=>0, 'max'=>1},
|
18
|
+
'identifier' => {'type'=>'Identifier', 'path'=>'ExpansionProfile.identifier', 'min'=>0, 'max'=>1},
|
19
|
+
'version' => {'type'=>'string', 'path'=>'ExpansionProfile.version', 'min'=>0, 'max'=>1},
|
20
|
+
'name' => {'type'=>'string', 'path'=>'ExpansionProfile.name', 'min'=>0, 'max'=>1},
|
21
|
+
'status' => {'valid_codes'=>{'http://hl7.org/fhir/conformance-resource-status'=>['draft', 'active', 'retired']}, 'type'=>'code', 'path'=>'ExpansionProfile.status', 'min'=>1, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/conformance-resource-status'}},
|
22
|
+
'experimental' => {'type'=>'boolean', 'path'=>'ExpansionProfile.experimental', 'min'=>0, 'max'=>1},
|
23
|
+
'publisher' => {'type'=>'string', 'path'=>'ExpansionProfile.publisher', 'min'=>0, 'max'=>1},
|
24
|
+
'contact' => {'type'=>'ExpansionProfile::Contact', 'path'=>'ExpansionProfile.contact', 'min'=>0, 'max'=>Float::INFINITY},
|
25
|
+
'date' => {'type'=>'dateTime', 'path'=>'ExpansionProfile.date', 'min'=>0, 'max'=>1},
|
26
|
+
'description' => {'type'=>'string', 'path'=>'ExpansionProfile.description', 'min'=>0, 'max'=>1},
|
27
|
+
'codeSystem' => {'type'=>'ExpansionProfile::Codesystem', 'path'=>'ExpansionProfile.codeSystem', 'min'=>0, 'max'=>1},
|
28
|
+
'includeDesignations' => {'type'=>'boolean', 'path'=>'ExpansionProfile.includeDesignations', 'min'=>0, 'max'=>1},
|
29
|
+
'designation' => {'type'=>'ExpansionProfile::Designation', 'path'=>'ExpansionProfile.designation', 'min'=>0, 'max'=>1},
|
30
|
+
'includeDefinition' => {'type'=>'boolean', 'path'=>'ExpansionProfile.includeDefinition', 'min'=>0, 'max'=>1},
|
31
|
+
'includeInactive' => {'type'=>'boolean', 'path'=>'ExpansionProfile.includeInactive', 'min'=>0, 'max'=>1},
|
32
|
+
'excludeNested' => {'type'=>'boolean', 'path'=>'ExpansionProfile.excludeNested', 'min'=>0, 'max'=>1},
|
33
|
+
'excludeNotForUI' => {'type'=>'boolean', 'path'=>'ExpansionProfile.excludeNotForUI', 'min'=>0, 'max'=>1},
|
34
|
+
'excludePostCoordinated' => {'type'=>'boolean', 'path'=>'ExpansionProfile.excludePostCoordinated', 'min'=>0, 'max'=>1},
|
35
|
+
'displayLanguage' => {'type'=>'code', 'path'=>'ExpansionProfile.displayLanguage', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
|
36
|
+
'limitedExpansion' => {'type'=>'boolean', 'path'=>'ExpansionProfile.limitedExpansion', 'min'=>0, 'max'=>1}
|
37
|
+
}
|
38
|
+
|
39
|
+
class Contact < FHIR::Model
|
40
|
+
include FHIR::Hashable
|
41
|
+
include FHIR::Json
|
42
|
+
include FHIR::Xml
|
43
|
+
|
44
|
+
METADATA = {
|
45
|
+
'id' => {'type'=>'id', 'path'=>'Contact.id', 'min'=>0, 'max'=>1},
|
46
|
+
'extension' => {'type'=>'Extension', 'path'=>'Contact.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
47
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'Contact.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
48
|
+
'name' => {'type'=>'string', 'path'=>'Contact.name', 'min'=>0, 'max'=>1},
|
49
|
+
'telecom' => {'type'=>'ContactPoint', 'path'=>'Contact.telecom', 'min'=>0, 'max'=>Float::INFINITY}
|
50
|
+
}
|
51
|
+
|
52
|
+
attr_accessor :id # 0-1 id
|
53
|
+
attr_accessor :extension # 0-* [ Extension ]
|
54
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
55
|
+
attr_accessor :name # 0-1 string
|
56
|
+
attr_accessor :telecom # 0-* [ ContactPoint ]
|
57
|
+
end
|
58
|
+
|
59
|
+
class Codesystem < FHIR::Model
|
60
|
+
include FHIR::Hashable
|
61
|
+
include FHIR::Json
|
62
|
+
include FHIR::Xml
|
63
|
+
|
64
|
+
METADATA = {
|
65
|
+
'id' => {'type'=>'id', 'path'=>'Codesystem.id', 'min'=>0, 'max'=>1},
|
66
|
+
'extension' => {'type'=>'Extension', 'path'=>'Codesystem.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
67
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'Codesystem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
68
|
+
'include' => {'type'=>'ExpansionProfile::Codesystem::Include', 'path'=>'Codesystem.include', 'min'=>0, 'max'=>1},
|
69
|
+
'exclude' => {'type'=>'ExpansionProfile::Codesystem::Exclude', 'path'=>'Codesystem.exclude', 'min'=>0, 'max'=>1}
|
70
|
+
}
|
71
|
+
|
72
|
+
class Include < FHIR::Model
|
73
|
+
include FHIR::Hashable
|
74
|
+
include FHIR::Json
|
75
|
+
include FHIR::Xml
|
76
|
+
|
77
|
+
METADATA = {
|
78
|
+
'id' => {'type'=>'id', 'path'=>'Include.id', 'min'=>0, 'max'=>1},
|
79
|
+
'extension' => {'type'=>'Extension', 'path'=>'Include.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
80
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'Include.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
81
|
+
'codeSystem' => {'type'=>'ExpansionProfile::Codesystem::Include::Codesystem', 'path'=>'Include.codeSystem', 'min'=>1, 'max'=>Float::INFINITY}
|
82
|
+
}
|
83
|
+
|
84
|
+
class Codesystem < FHIR::Model
|
85
|
+
include FHIR::Hashable
|
86
|
+
include FHIR::Json
|
87
|
+
include FHIR::Xml
|
88
|
+
|
89
|
+
METADATA = {
|
90
|
+
'id' => {'type'=>'id', 'path'=>'Codesystem.id', 'min'=>0, 'max'=>1},
|
91
|
+
'extension' => {'type'=>'Extension', 'path'=>'Codesystem.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
92
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'Codesystem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
93
|
+
'system' => {'type'=>'uri', 'path'=>'Codesystem.system', 'min'=>1, 'max'=>1},
|
94
|
+
'version' => {'type'=>'string', 'path'=>'Codesystem.version', 'min'=>0, 'max'=>1}
|
95
|
+
}
|
96
|
+
|
97
|
+
attr_accessor :id # 0-1 id
|
98
|
+
attr_accessor :extension # 0-* [ Extension ]
|
99
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
100
|
+
attr_accessor :system # 1-1 uri
|
101
|
+
attr_accessor :version # 0-1 string
|
102
|
+
end
|
103
|
+
|
104
|
+
attr_accessor :id # 0-1 id
|
105
|
+
attr_accessor :extension # 0-* [ Extension ]
|
106
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
107
|
+
attr_accessor :codeSystem # 1-* [ ExpansionProfile::Codesystem::Include::Codesystem ]
|
108
|
+
end
|
109
|
+
|
110
|
+
class Exclude < FHIR::Model
|
111
|
+
include FHIR::Hashable
|
112
|
+
include FHIR::Json
|
113
|
+
include FHIR::Xml
|
114
|
+
|
115
|
+
METADATA = {
|
116
|
+
'id' => {'type'=>'id', 'path'=>'Exclude.id', 'min'=>0, 'max'=>1},
|
117
|
+
'extension' => {'type'=>'Extension', 'path'=>'Exclude.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
118
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'Exclude.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
119
|
+
'codeSystem' => {'type'=>'ExpansionProfile::Codesystem::Exclude::Codesystem', 'path'=>'Exclude.codeSystem', 'min'=>1, 'max'=>Float::INFINITY}
|
120
|
+
}
|
121
|
+
|
122
|
+
class Codesystem < FHIR::Model
|
123
|
+
include FHIR::Hashable
|
124
|
+
include FHIR::Json
|
125
|
+
include FHIR::Xml
|
126
|
+
|
127
|
+
METADATA = {
|
128
|
+
'id' => {'type'=>'id', 'path'=>'Codesystem.id', 'min'=>0, 'max'=>1},
|
129
|
+
'extension' => {'type'=>'Extension', 'path'=>'Codesystem.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
130
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'Codesystem.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
131
|
+
'system' => {'type'=>'uri', 'path'=>'Codesystem.system', 'min'=>1, 'max'=>1},
|
132
|
+
'version' => {'type'=>'string', 'path'=>'Codesystem.version', 'min'=>0, 'max'=>1}
|
133
|
+
}
|
134
|
+
|
135
|
+
attr_accessor :id # 0-1 id
|
136
|
+
attr_accessor :extension # 0-* [ Extension ]
|
137
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
138
|
+
attr_accessor :system # 1-1 uri
|
139
|
+
attr_accessor :version # 0-1 string
|
140
|
+
end
|
141
|
+
|
142
|
+
attr_accessor :id # 0-1 id
|
143
|
+
attr_accessor :extension # 0-* [ Extension ]
|
144
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
145
|
+
attr_accessor :codeSystem # 1-* [ ExpansionProfile::Codesystem::Exclude::Codesystem ]
|
146
|
+
end
|
147
|
+
|
148
|
+
attr_accessor :id # 0-1 id
|
149
|
+
attr_accessor :extension # 0-* [ Extension ]
|
150
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
151
|
+
attr_accessor :include # 0-1 ExpansionProfile::Codesystem::Include
|
152
|
+
attr_accessor :exclude # 0-1 ExpansionProfile::Codesystem::Exclude
|
153
|
+
end
|
154
|
+
|
155
|
+
class Designation < FHIR::Model
|
156
|
+
include FHIR::Hashable
|
157
|
+
include FHIR::Json
|
158
|
+
include FHIR::Xml
|
159
|
+
|
160
|
+
METADATA = {
|
161
|
+
'id' => {'type'=>'id', 'path'=>'Designation.id', 'min'=>0, 'max'=>1},
|
162
|
+
'extension' => {'type'=>'Extension', 'path'=>'Designation.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
163
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'Designation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
164
|
+
'include' => {'type'=>'ExpansionProfile::Designation::Include', 'path'=>'Designation.include', 'min'=>0, 'max'=>1},
|
165
|
+
'exclude' => {'type'=>'ExpansionProfile::Designation::Exclude', 'path'=>'Designation.exclude', 'min'=>0, 'max'=>1}
|
166
|
+
}
|
167
|
+
|
168
|
+
class Include < FHIR::Model
|
169
|
+
include FHIR::Hashable
|
170
|
+
include FHIR::Json
|
171
|
+
include FHIR::Xml
|
172
|
+
|
173
|
+
METADATA = {
|
174
|
+
'id' => {'type'=>'id', 'path'=>'Include.id', 'min'=>0, 'max'=>1},
|
175
|
+
'extension' => {'type'=>'Extension', 'path'=>'Include.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
176
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'Include.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
177
|
+
'designation' => {'type'=>'ExpansionProfile::Designation::Include::Designation', 'path'=>'Include.designation', 'min'=>0, 'max'=>Float::INFINITY}
|
178
|
+
}
|
179
|
+
|
180
|
+
class Designation < FHIR::Model
|
181
|
+
include FHIR::Hashable
|
182
|
+
include FHIR::Json
|
183
|
+
include FHIR::Xml
|
184
|
+
|
185
|
+
METADATA = {
|
186
|
+
'id' => {'type'=>'id', 'path'=>'Designation.id', 'min'=>0, 'max'=>1},
|
187
|
+
'extension' => {'type'=>'Extension', 'path'=>'Designation.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
188
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'Designation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
189
|
+
'language' => {'type'=>'code', 'path'=>'Designation.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
|
190
|
+
'use' => {'valid_codes'=>{'http://snomed.info/sct'=>['900000000000003001', '900000000000013009', '900000000000550004']}, 'type'=>'Coding', 'path'=>'Designation.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/designation-use'}}
|
191
|
+
}
|
192
|
+
|
193
|
+
attr_accessor :id # 0-1 id
|
194
|
+
attr_accessor :extension # 0-* [ Extension ]
|
195
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
196
|
+
attr_accessor :language # 0-1 code
|
197
|
+
attr_accessor :use # 0-1 Coding
|
198
|
+
end
|
199
|
+
|
200
|
+
attr_accessor :id # 0-1 id
|
201
|
+
attr_accessor :extension # 0-* [ Extension ]
|
202
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
203
|
+
attr_accessor :designation # 0-* [ ExpansionProfile::Designation::Include::Designation ]
|
204
|
+
end
|
205
|
+
|
206
|
+
class Exclude < FHIR::Model
|
207
|
+
include FHIR::Hashable
|
208
|
+
include FHIR::Json
|
209
|
+
include FHIR::Xml
|
210
|
+
|
211
|
+
METADATA = {
|
212
|
+
'id' => {'type'=>'id', 'path'=>'Exclude.id', 'min'=>0, 'max'=>1},
|
213
|
+
'extension' => {'type'=>'Extension', 'path'=>'Exclude.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
214
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'Exclude.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
215
|
+
'designation' => {'type'=>'ExpansionProfile::Designation::Exclude::Designation', 'path'=>'Exclude.designation', 'min'=>0, 'max'=>Float::INFINITY}
|
216
|
+
}
|
217
|
+
|
218
|
+
class Designation < FHIR::Model
|
219
|
+
include FHIR::Hashable
|
220
|
+
include FHIR::Json
|
221
|
+
include FHIR::Xml
|
222
|
+
|
223
|
+
METADATA = {
|
224
|
+
'id' => {'type'=>'id', 'path'=>'Designation.id', 'min'=>0, 'max'=>1},
|
225
|
+
'extension' => {'type'=>'Extension', 'path'=>'Designation.extension', 'min'=>0, 'max'=>Float::INFINITY},
|
226
|
+
'modifierExtension' => {'type'=>'Extension', 'path'=>'Designation.modifierExtension', 'min'=>0, 'max'=>Float::INFINITY},
|
227
|
+
'language' => {'type'=>'code', 'path'=>'Designation.language', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://tools.ietf.org/html/bcp47'}},
|
228
|
+
'use' => {'valid_codes'=>{'http://snomed.info/sct'=>['900000000000003001', '900000000000013009', '900000000000550004']}, 'type'=>'Coding', 'path'=>'Designation.use', 'min'=>0, 'max'=>1, 'binding'=>{'strength'=>'required', 'uri'=>'http://hl7.org/fhir/ValueSet/designation-use'}}
|
229
|
+
}
|
230
|
+
|
231
|
+
attr_accessor :id # 0-1 id
|
232
|
+
attr_accessor :extension # 0-* [ Extension ]
|
233
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
234
|
+
attr_accessor :language # 0-1 code
|
235
|
+
attr_accessor :use # 0-1 Coding
|
236
|
+
end
|
237
|
+
|
238
|
+
attr_accessor :id # 0-1 id
|
239
|
+
attr_accessor :extension # 0-* [ Extension ]
|
240
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
241
|
+
attr_accessor :designation # 0-* [ ExpansionProfile::Designation::Exclude::Designation ]
|
242
|
+
end
|
243
|
+
|
244
|
+
attr_accessor :id # 0-1 id
|
245
|
+
attr_accessor :extension # 0-* [ Extension ]
|
246
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
247
|
+
attr_accessor :include # 0-1 ExpansionProfile::Designation::Include
|
248
|
+
attr_accessor :exclude # 0-1 ExpansionProfile::Designation::Exclude
|
249
|
+
end
|
250
|
+
|
251
|
+
attr_accessor :id # 0-1 id
|
252
|
+
attr_accessor :meta # 0-1 Meta
|
253
|
+
attr_accessor :implicitRules # 0-1 uri
|
254
|
+
attr_accessor :language # 0-1 code
|
255
|
+
attr_accessor :text # 0-1 Narrative
|
256
|
+
attr_accessor :contained # 0-* [ Resource ]
|
257
|
+
attr_accessor :extension # 0-* [ Extension ]
|
258
|
+
attr_accessor :modifierExtension # 0-* [ Extension ]
|
259
|
+
attr_accessor :url # 0-1 uri
|
260
|
+
attr_accessor :identifier # 0-1 Identifier
|
261
|
+
attr_accessor :version # 0-1 string
|
262
|
+
attr_accessor :name # 0-1 string
|
263
|
+
attr_accessor :status # 1-1 code
|
264
|
+
attr_accessor :experimental # 0-1 boolean
|
265
|
+
attr_accessor :publisher # 0-1 string
|
266
|
+
attr_accessor :contact # 0-* [ ExpansionProfile::Contact ]
|
267
|
+
attr_accessor :date # 0-1 dateTime
|
268
|
+
attr_accessor :description # 0-1 string
|
269
|
+
attr_accessor :codeSystem # 0-1 ExpansionProfile::Codesystem
|
270
|
+
attr_accessor :includeDesignations # 0-1 boolean
|
271
|
+
attr_accessor :designation # 0-1 ExpansionProfile::Designation
|
272
|
+
attr_accessor :includeDefinition # 0-1 boolean
|
273
|
+
attr_accessor :includeInactive # 0-1 boolean
|
274
|
+
attr_accessor :excludeNested # 0-1 boolean
|
275
|
+
attr_accessor :excludeNotForUI # 0-1 boolean
|
276
|
+
attr_accessor :excludePostCoordinated # 0-1 boolean
|
277
|
+
attr_accessor :displayLanguage # 0-1 code
|
278
|
+
attr_accessor :limitedExpansion # 0-1 boolean
|
279
|
+
|
280
|
+
def resourceType
|
281
|
+
'ExpansionProfile'
|
282
|
+
end
|
283
|
+
end
|
284
|
+
end
|