mml-ruby 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +199 -10
- data/lib/mml.rb +288 -5
- data/lib/mml/common.rb +26 -268
- data/lib/mml/version.rb +1 -1
- data/lib/xml/address.xml.builder +12 -0
- data/lib/xml/baseclinic.xml.builder +36 -0
- data/lib/xml/creatorinfo.xml.builder +6 -0
- data/lib/xml/creatorlicense.xml.builder +3 -0
- data/lib/xml/department.xml.builder +8 -0
- data/lib/xml/extref.xml.builder +5 -0
- data/lib/xml/facility.xml.builder +8 -0
- data/lib/xml/firstclinic.xml.builder +47 -0
- data/lib/xml/id.xml.builder +4 -0
- data/lib/xml/insurance.xml.builder +82 -0
- data/lib/xml/lifestyle.xml.builder +6 -0
- data/lib/xml/name.xml.builder +10 -0
- data/lib/xml/patientinfo.xml.builder +51 -0
- data/lib/xml/personalizedinfo.xml.builder +25 -0
- data/lib/xml/phone.xml.builder +10 -0
- data/lib/xml/progresscourse.xml.builder +89 -0
- data/lib/xml/registereddiagnosis.xml.builder +27 -0
- data/lib/xml/staffinfo.xml.builder +6 -0
- data/lib/xml/summary.xml.builder +125 -0
- data/lib/xml/surgery.xml.builder +81 -0
- data/spec/mml/admission_spec.rb +45 -0
- data/spec/mml/allergy_item_spec.rb +35 -0
- data/spec/mml/anesthesia_procedure_spec.rb +15 -0
- data/spec/mml/anesthesiologist_spec.rb +22 -0
- data/spec/mml/base_clinic_module_spec.rb +58 -0
- data/spec/mml/birth_info_spec.rb +90 -0
- data/spec/mml/blood_type_spec.rb +40 -0
- data/spec/mml/clinical_record_spec.rb +37 -0
- data/spec/mml/creator_info_spec.rb +3 -3
- data/spec/mml/creator_license_spec.rb +7 -0
- data/spec/mml/death_flag_spec.rb +11 -0
- data/spec/mml/death_info_spec.rb +19 -0
- data/spec/mml/department_spec.rb +3 -3
- data/spec/mml/diagnostic_category_spec.rb +23 -0
- data/spec/mml/discharge_spec.rb +29 -0
- data/spec/mml/dx_item_spec.rb +19 -0
- data/spec/mml/family_history_item_spec.rb +36 -0
- data/spec/mml/first_clinic_module_spec.rb +105 -0
- data/spec/mml/infection_item_spec.rb +39 -0
- data/spec/mml/inpatient_item_spec.rb +49 -0
- data/spec/mml/insurance_class_spec.rb +24 -0
- data/spec/mml/insurance_client_spec.rb +36 -0
- data/spec/mml/insurance_spec.rb +182 -0
- data/spec/mml/lifestyle_module_spec.rb +50 -0
- data/spec/mml/nationality_spec.rb +19 -0
- data/spec/mml/objective_spec.rb +51 -0
- data/spec/mml/operation_element_item_spec.rb +31 -0
- data/spec/mml/organization_info_spec.rb +35 -0
- data/spec/mml/other_blood_type_spec.rb +31 -0
- data/spec/mml/outpatient_item_spec.rb +48 -0
- data/spec/mml/past_history_item_spec.rb +23 -0
- data/spec/mml/past_history_spec.rb +17 -0
- data/spec/mml/patient_info_spec.rb +126 -0
- data/spec/mml/phone_spec.rb +5 -1
- data/spec/mml/physical_exam_item_spec.rb +40 -0
- data/spec/mml/plan_spec.rb +45 -0
- data/spec/mml/problem_item_spec.rb +35 -0
- data/spec/mml/procedure_item_spec.rb +44 -0
- data/spec/mml/progress_course_module_spec.rb +79 -0
- data/spec/mml/public_insurance_item_spec.rb +64 -0
- data/spec/mml/race_spec.rb +19 -0
- data/spec/mml/registered_diagnosis_spec.rb +124 -0
- data/spec/mml/related_doc_spec.rb +15 -0
- data/spec/mml/service_history_spec.rb +53 -0
- data/spec/mml/staff_info_spec.rb +31 -0
- data/spec/mml/subject_spec.rb +16 -0
- data/spec/mml/subjective_item_spec.rb +23 -0
- data/spec/mml/summary_module_spec.rb +239 -0
- data/spec/mml/surgery_item_spec.rb +132 -0
- data/spec/mml/surgery_module_spec.rb +90 -0
- data/spec/mml/surgical_staff_spec.rb +34 -0
- data/spec/mml/test_result_spec.rb +24 -0
- data/spec/mml/vaccination_item_spec.rb +38 -0
- data/spec/mml/value_with_link_spec.rb +15 -0
- data/spec/spec_helper.rb +1 -1
- metadata +137 -5
- checksums.yaml +0 -7
@@ -0,0 +1,90 @@
|
|
1
|
+
describe MML::Surgery do
|
2
|
+
let(:surgical_department_name) {MML::DepartmentName.new(repCode: 'A', tableId: 'MML0025', value: 'Cardiovascular surgery')}
|
3
|
+
let(:surgical_department) {MML::Department.new(name: [surgical_department_name])}
|
4
|
+
let(:patient_department_name) {MML::DepartmentName.new(repCode: 'A', tableId: 'MML0025', value: 'Internal medicine')}
|
5
|
+
let(:patient_department) {MML::Department.new(name: [patient_department_name])}
|
6
|
+
let(:registered_diagnosis) {MML::RegisteredDiagnosis.new(diagnosis: 'Lung cancer')}
|
7
|
+
let(:operation_element_item) {MML::OperationElementItem.new(title: 'coronary artery bipass grafting', code: 'K552', system: 'MHLW')}
|
8
|
+
let(:procedure_item) {MML::ProcedureItem.new(operation: 'right lobectomy', code: 'K511', system: 'MHLW', operationElement: [operation_element_item], procedureMemo: 'off pump')}
|
9
|
+
let(:staff_id) {MML::Id.new(type: 'facility', tableId: 'MML0024', value: '00123')}
|
10
|
+
let(:staff_name) {MML::Name.new(repCode: 'A', fullname: 'Hiroyuki Yoshihara')}
|
11
|
+
let(:staff_info) {MML::PersonalizedInfo.new(id: staff_id, personName: [staff_name])}
|
12
|
+
let(:staff) {MML::SurgicalStaff.new(staffClass: 'assistant', superiority: 1, staffInfo: staff_info)}
|
13
|
+
let(:anesthesia_procedure){MML::AnesthesiaProcedure.new(title: 'general anesthesia', code: 'L002', system: 'MHLW')}
|
14
|
+
let(:anesthesiologist_id) {MML::Id.new(type: 'facility', tableId: 'MML0024', value: '00123')}
|
15
|
+
let(:anesthesiologist_name) {MML::Name.new(repCode: 'A', fullname: 'Kenji ARAKI')}
|
16
|
+
let(:anesthesiologist_info) {MML::PersonalizedInfo.new(id: staff_id, personName: [anesthesiologist_name])}
|
17
|
+
let(:anesthesiologist) {MML::Anesthesiologist.new(staffClass: 'main anesthesiologist', superiority: 0, staffInfo: anesthesiologist_info)}
|
18
|
+
let(:ext_ref) {MML::ExtRef.new(contentType: 'image/gif', medicalRole: 'surgicalFigure', title: 'skin incision', href: 'patient001/surgicalFigure001.gif')}
|
19
|
+
let(:surgery_item) {MML::SurgeryItem.new(type: 'elective', date: '2013-12-10', startTime: '08:30', duration: 'PT5H25M', surgicalDepartment: surgical_department, patientDepartment: patient_department, surgicalDiagnosis: [registered_diagnosis], surgicalProcedure: [procedure_item], surgicalStaffs: [staff], anesthesiaProcedure: [anesthesia_procedure], anesthesiologists: [anesthesiologist], anesthesiaDuration: 'PT6H25M', operativeNotes: 'Total bleeding: 380ml', referenceInfo: [ext_ref], memo: 'This operation was well performed.')}
|
20
|
+
let(:surgery) {MML::Surgery.new(surgeryItem: [surgery_item])}
|
21
|
+
|
22
|
+
it 'is an instance of MML::Surgery' do
|
23
|
+
expect(surgery).to be_an_instance_of MML::Surgery
|
24
|
+
end
|
25
|
+
|
26
|
+
it 'has more than 1 surgical item' do
|
27
|
+
expect(surgery.surgeryItem.size).to be >= 1
|
28
|
+
end
|
29
|
+
|
30
|
+
it 'surgeryItem should be assigned properly' do
|
31
|
+
expect(surgery.surgeryItem[0].surgicalProcedure[0].operation).to eq 'right lobectomy'
|
32
|
+
end
|
33
|
+
|
34
|
+
describe '#to_xml' do
|
35
|
+
subject {surgery.to_xml}
|
36
|
+
|
37
|
+
it {should match '<mmlSg:SurgeryModule>'}
|
38
|
+
it {should match '<mmlSg:surgeryItem>'}
|
39
|
+
it {should match '<mmlSg:surgicalInfo mmlSg:type="elective"><mmlSg:date>2013-12-10</mmlSg:date>'}
|
40
|
+
it {should match '<mmlSg:startTime>08:30</mmlSg:startTime>'}
|
41
|
+
it {should match '<mmlSg:duration>PT5H25M</mmlSg:duration>'}
|
42
|
+
it {should match '<mmlSg:surgicalDepartment>'}
|
43
|
+
it {should match '<mmlDp:Department><mmlDp:name mmlDp:repCode="A" mmlDp:tableId="MML0025">Cardiovascular surgery</mmlDp:name></mmlDp:Department>'}
|
44
|
+
it {should match '</mmlSg:surgicalDepartment>'}
|
45
|
+
it {should match '<mmlSg:patientDepartment>'}
|
46
|
+
it {should match '<mmlDp:Department><mmlDp:name mmlDp:repCode="A" mmlDp:tableId="MML0025">Internal medicine</mmlDp:name></mmlDp:Department>'}
|
47
|
+
it {should match '</mmlSg:patientDepartment>'}
|
48
|
+
it {should match '</mmlSg:surgicalInfo><mmlSg:surgicalDiagnosis>'}
|
49
|
+
it {should match '<mmlRd:RegisteredDiagnosisModule><mmlRd:diagnosis>Lung cancer</mmlRd:diagnosis></mmlRd:RegisteredDiagnosisModule></mmlSg:surgicalDiagnosis>'}
|
50
|
+
it {should match '<mmlSg:surgicalProcedure>'}
|
51
|
+
it {should match '<mmlSg:procedureItem>'}
|
52
|
+
it {should match '<mmlSg:operation'}
|
53
|
+
it {should match 'mmlSg:code="K511"'}
|
54
|
+
it {should match 'mmlSg:system="MHLW"'}
|
55
|
+
it {should match '>right lobectomy</mmlSg:operation>'}
|
56
|
+
it {should match '<mmlSg:operationElement><mmlSg:operationElementItem><mmlSg:title'}
|
57
|
+
it {should match 'mmlSg:code="K552"'}
|
58
|
+
it {should match 'mmlSg:system="MHLW"'}
|
59
|
+
it {should match 'coronary artery bipass grafting</mmlSg:title></mmlSg:operationElementItem></mmlSg:operationElement>'}
|
60
|
+
it {should match '<mmlSg:procedureMemo>off pump</mmlSg:procedureMemo></mmlSg:procedureItem>'}
|
61
|
+
it {should match '</mmlSg:surgicalProcedure>'}
|
62
|
+
it {should match '<mmlSg:surgicalStaffs>'}
|
63
|
+
it {should match '<mmlSg:staff'}
|
64
|
+
it {should match 'mmlSg:staffClass="assistant"'}
|
65
|
+
it {should match 'mmlSg:superiority="1"'}
|
66
|
+
it {should match '><mmlPsi:PersonalizedInfo>'}
|
67
|
+
it {should match '<mmlNm:fullname>Hiroyuki Yoshihara</mmlNm:fullname>'}
|
68
|
+
it {should match '</mmlPsi:PersonalizedInfo></mmlSg:staff></mmlSg:surgicalStaffs>'}
|
69
|
+
it {should match '<mmlSg:anesthesiaProcedure><mmlSg:title'}
|
70
|
+
it {should match 'mmlSg:code="L002"'}
|
71
|
+
it {should match 'mmlSg:system="MHLW"'}
|
72
|
+
it {should match '</mmlSg:title></mmlSg:anesthesiaProcedure>'}
|
73
|
+
it {should match '<mmlSg:anesthesiologists><mmlSg:staff'}
|
74
|
+
it {should match 'mmlSg:staffClass="main anesthesiologist"'}
|
75
|
+
it {should match 'mmlSg:superiority="0"'}
|
76
|
+
it {should match '><mmlPsi:PersonalizedInfo><mmlCm:Id'}
|
77
|
+
it {should match '>00123</mmlCm:Id>'}
|
78
|
+
it {should match '</mmlPsi:PersonalizedInfo>'}
|
79
|
+
it {should match '</mmlSg:staff></mmlSg:anesthesiologists>'}
|
80
|
+
it {should match '<mmlSg:anesthesiaDuration>PT6H25M</mmlSg:anesthesiaDuration>'}
|
81
|
+
it {should match '<mmlSg:operativeNotes>Total bleeding: 380ml</mmlSg:operativeNotes>'}
|
82
|
+
it {should match '<mmlSg:referenceInfo>'}
|
83
|
+
it {should match '<mmlCm:extRef'}
|
84
|
+
it {should match 'mmlCm:href="patient001/surgicalFigure001.gif"'}
|
85
|
+
it {should match '</mmlSg:referenceInfo>'}
|
86
|
+
it {should match '<mmlSg:memo>This operation was well performed.</mmlSg:memo>'}
|
87
|
+
it {should match '</mmlSg:surgeryItem>'}
|
88
|
+
it {should match '</mmlSg:SurgeryModule>'}
|
89
|
+
end
|
90
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
describe MML::SurgicalStaff do
|
2
|
+
let(:staff_id) {MML::Id.new(type: 'facility', tableId: 'MML0024', value: '00123')}
|
3
|
+
let(:staff_name) {MML::Name.new(repCode: 'A', fullname: 'Hiroyuki Yoshihara')}
|
4
|
+
let(:staff_info) {MML::PersonalizedInfo.new(id: staff_id, personName: [staff_name])}
|
5
|
+
let(:staff) {MML::SurgicalStaff.new(staffClass: 'assistant', superiority: 1, staffInfo: staff_info)}
|
6
|
+
|
7
|
+
it 'is an instance of MML::SurgicalStaff' do
|
8
|
+
expect(staff).to be_an_instance_of MML::SurgicalStaff
|
9
|
+
end
|
10
|
+
|
11
|
+
it 'staffClass should be assigned properly' do
|
12
|
+
expect(staff.staffClass).to eq 'assistant'
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'staffClass is optional' do
|
16
|
+
expect {staff.staffClass}.not_to raise_error
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'superiority should be assigned properly' do
|
20
|
+
expect(staff.superiority).to eq 1
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'superiority is optional' do
|
24
|
+
expect {staff.superiority = nil}.not_to raise_error
|
25
|
+
end
|
26
|
+
|
27
|
+
it 'staffInfo should be_assigned properly' do
|
28
|
+
expect(staff.staffInfo.id.value).to eq '00123'
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'staffInfo is mandatory' do
|
32
|
+
expect {staff.staffInfo = nil}.to raise_error ArgumentError
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
describe MML::TestResult do
|
2
|
+
let(:ext_ref) {MML::ExtRef.new(href: 'patient1234/prescription004.HL7')}
|
3
|
+
let(:test_result) {MML::TestResult.new(date: '2013-12-22', value: 'Labo findings on discharge', link: [ext_ref])}
|
4
|
+
|
5
|
+
it 'is an instance of MML::TestResult' do
|
6
|
+
expect(test_result).to be_an_instance_of MML::TestResult
|
7
|
+
end
|
8
|
+
|
9
|
+
it 'date should be assigned properly' do
|
10
|
+
expect(test_result.date).to eq '2013-12-22'
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'date is optional' do
|
14
|
+
expect {test_result.date = nil}.not_to raise_error
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'value should be assigned properly' do
|
18
|
+
expect(test_result.value).to eq 'Labo findings on discharge'
|
19
|
+
end
|
20
|
+
|
21
|
+
it 'link should be assgined properly' do
|
22
|
+
expect(test_result.link[0].href).to eq 'patient1234/prescription004.HL7'
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
describe MML::VaccinationItem do
|
2
|
+
let(:vaccination_item) {MML::VaccinationItem.new(vaccine: 'polio', injected: true, age: 'P6M', memo: 'first administration')}
|
3
|
+
|
4
|
+
it 'vaccination_item should be an instance of MML::VaccinationItem' do
|
5
|
+
expect(vaccination_item).to be_an_instance_of MML::VaccinationItem
|
6
|
+
end
|
7
|
+
|
8
|
+
it 'vaccine should be assigned properly' do
|
9
|
+
expect(vaccination_item.vaccine).to eq 'polio'
|
10
|
+
end
|
11
|
+
|
12
|
+
it 'vaccination is mandatory' do
|
13
|
+
expect {vaccination_item.vaccine = nil}.to raise_error ArgumentError
|
14
|
+
end
|
15
|
+
it 'injected should be assigned properly' do
|
16
|
+
expect(vaccination_item.injected).to be_true
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'injected is mandatory' do
|
20
|
+
expect {vaccination_item.injected = nil}.to raise_error ArgumentError
|
21
|
+
end
|
22
|
+
|
23
|
+
it 'age should be assigned properly' do
|
24
|
+
expect(vaccination_item.age).to eq 'P6M'
|
25
|
+
end
|
26
|
+
|
27
|
+
it 'age is optional' do
|
28
|
+
expect {vaccination_item.age = nil}.not_to raise_error
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'memo should be assigned properly' do
|
32
|
+
expect(vaccination_item.memo).to eq 'first administration'
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'memo is optional' do
|
36
|
+
expect {vaccination_item.memo = nil}.not_to raise_error
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
describe MML::ValueWithLink do
|
2
|
+
let(:value_with_link) {MML::ValueWithLink.new(value: 'GitHub', link: 'https://github.com/')}
|
3
|
+
|
4
|
+
it 'is an instance of MML::ValueWithLink' do
|
5
|
+
expect(value_with_link).to be_an_instance_of MML::ValueWithLink
|
6
|
+
end
|
7
|
+
|
8
|
+
it 'value should be assigned properly' do
|
9
|
+
expect(value_with_link.value).to eq 'GitHub'
|
10
|
+
end
|
11
|
+
|
12
|
+
it 'link should be assigned properly' do
|
13
|
+
expect(value_with_link.link).to eq 'https://github.com/'
|
14
|
+
end
|
15
|
+
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mml-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Shinji KOBAYASHI
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-12-24 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: builder
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - '>='
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - '>='
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: nokogiri
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - '>='
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - '>='
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: bundler
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,6 +62,7 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: rake
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - '>='
|
60
68
|
- !ruby/object:Gem::Version
|
@@ -62,6 +70,7 @@ dependencies:
|
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - '>='
|
67
76
|
- !ruby/object:Gem::Version
|
@@ -69,6 +78,7 @@ dependencies:
|
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: rspec
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
83
|
- - '>='
|
74
84
|
- !ruby/object:Gem::Version
|
@@ -76,6 +86,7 @@ dependencies:
|
|
76
86
|
type: :development
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
91
|
- - '>='
|
81
92
|
- !ruby/object:Gem::Version
|
@@ -97,55 +108,176 @@ files:
|
|
97
108
|
- lib/mml.rb
|
98
109
|
- lib/mml/common.rb
|
99
110
|
- lib/mml/version.rb
|
111
|
+
- lib/xml/address.xml.builder
|
112
|
+
- lib/xml/baseclinic.xml.builder
|
113
|
+
- lib/xml/creatorinfo.xml.builder
|
114
|
+
- lib/xml/creatorlicense.xml.builder
|
115
|
+
- lib/xml/department.xml.builder
|
116
|
+
- lib/xml/extref.xml.builder
|
117
|
+
- lib/xml/facility.xml.builder
|
118
|
+
- lib/xml/firstclinic.xml.builder
|
119
|
+
- lib/xml/id.xml.builder
|
120
|
+
- lib/xml/insurance.xml.builder
|
121
|
+
- lib/xml/lifestyle.xml.builder
|
122
|
+
- lib/xml/name.xml.builder
|
123
|
+
- lib/xml/patientinfo.xml.builder
|
124
|
+
- lib/xml/personalizedinfo.xml.builder
|
125
|
+
- lib/xml/phone.xml.builder
|
126
|
+
- lib/xml/progresscourse.xml.builder
|
127
|
+
- lib/xml/registereddiagnosis.xml.builder
|
128
|
+
- lib/xml/staffinfo.xml.builder
|
129
|
+
- lib/xml/summary.xml.builder
|
130
|
+
- lib/xml/surgery.xml.builder
|
100
131
|
- mml-ruby.gemspec
|
101
132
|
- spec/mml/address_spec.rb
|
133
|
+
- spec/mml/admission_spec.rb
|
134
|
+
- spec/mml/allergy_item_spec.rb
|
135
|
+
- spec/mml/anesthesia_procedure_spec.rb
|
136
|
+
- spec/mml/anesthesiologist_spec.rb
|
137
|
+
- spec/mml/base_clinic_module_spec.rb
|
102
138
|
- spec/mml/base_spec.rb
|
139
|
+
- spec/mml/birth_info_spec.rb
|
140
|
+
- spec/mml/blood_type_spec.rb
|
141
|
+
- spec/mml/clinical_record_spec.rb
|
103
142
|
- spec/mml/creator_info_spec.rb
|
104
143
|
- spec/mml/creator_license_spec.rb
|
144
|
+
- spec/mml/death_flag_spec.rb
|
145
|
+
- spec/mml/death_info_spec.rb
|
105
146
|
- spec/mml/department_spec.rb
|
147
|
+
- spec/mml/diagnostic_category_spec.rb
|
148
|
+
- spec/mml/discharge_spec.rb
|
149
|
+
- spec/mml/dx_item_spec.rb
|
106
150
|
- spec/mml/external_ref_spec.rb
|
107
151
|
- spec/mml/facility_name_spec.rb
|
108
152
|
- spec/mml/facility_spec.rb
|
153
|
+
- spec/mml/family_history_item_spec.rb
|
154
|
+
- spec/mml/first_clinic_module_spec.rb
|
109
155
|
- spec/mml/identification_spec.rb
|
156
|
+
- spec/mml/infection_item_spec.rb
|
157
|
+
- spec/mml/inpatient_item_spec.rb
|
158
|
+
- spec/mml/insurance_class_spec.rb
|
159
|
+
- spec/mml/insurance_client_spec.rb
|
160
|
+
- spec/mml/insurance_spec.rb
|
161
|
+
- spec/mml/lifestyle_module_spec.rb
|
110
162
|
- spec/mml/name_spec.rb
|
163
|
+
- spec/mml/nationality_spec.rb
|
164
|
+
- spec/mml/objective_spec.rb
|
165
|
+
- spec/mml/operation_element_item_spec.rb
|
166
|
+
- spec/mml/organization_info_spec.rb
|
167
|
+
- spec/mml/other_blood_type_spec.rb
|
168
|
+
- spec/mml/outpatient_item_spec.rb
|
169
|
+
- spec/mml/past_history_item_spec.rb
|
170
|
+
- spec/mml/past_history_spec.rb
|
171
|
+
- spec/mml/patient_info_spec.rb
|
111
172
|
- spec/mml/personalized_info_spec.rb
|
112
173
|
- spec/mml/phone_spec.rb
|
174
|
+
- spec/mml/physical_exam_item_spec.rb
|
175
|
+
- spec/mml/plan_spec.rb
|
176
|
+
- spec/mml/problem_item_spec.rb
|
177
|
+
- spec/mml/procedure_item_spec.rb
|
178
|
+
- spec/mml/progress_course_module_spec.rb
|
179
|
+
- spec/mml/public_insurance_item_spec.rb
|
180
|
+
- spec/mml/race_spec.rb
|
181
|
+
- spec/mml/registered_diagnosis_spec.rb
|
182
|
+
- spec/mml/related_doc_spec.rb
|
183
|
+
- spec/mml/service_history_spec.rb
|
184
|
+
- spec/mml/staff_info_spec.rb
|
185
|
+
- spec/mml/subject_spec.rb
|
186
|
+
- spec/mml/subjective_item_spec.rb
|
187
|
+
- spec/mml/summary_module_spec.rb
|
188
|
+
- spec/mml/surgery_item_spec.rb
|
189
|
+
- spec/mml/surgery_module_spec.rb
|
190
|
+
- spec/mml/surgical_staff_spec.rb
|
191
|
+
- spec/mml/test_result_spec.rb
|
192
|
+
- spec/mml/vaccination_item_spec.rb
|
193
|
+
- spec/mml/value_with_link_spec.rb
|
113
194
|
- spec/spec_helper.rb
|
114
195
|
homepage: https://github.com/skoba/mml-ruby
|
115
196
|
licenses:
|
116
197
|
- Apache2
|
117
|
-
metadata: {}
|
118
198
|
post_install_message:
|
119
199
|
rdoc_options: []
|
120
200
|
require_paths:
|
121
201
|
- lib
|
122
202
|
required_ruby_version: !ruby/object:Gem::Requirement
|
203
|
+
none: false
|
123
204
|
requirements:
|
124
205
|
- - '>='
|
125
206
|
- !ruby/object:Gem::Version
|
126
207
|
version: '0'
|
127
208
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
128
210
|
requirements:
|
129
211
|
- - '>='
|
130
212
|
- !ruby/object:Gem::Version
|
131
213
|
version: '0'
|
132
214
|
requirements: []
|
133
215
|
rubyforge_project:
|
134
|
-
rubygems_version:
|
216
|
+
rubygems_version: 1.8.29
|
135
217
|
signing_key:
|
136
|
-
specification_version:
|
218
|
+
specification_version: 3
|
137
219
|
summary: MML implementation by Ruby
|
138
220
|
test_files:
|
139
221
|
- spec/mml/address_spec.rb
|
222
|
+
- spec/mml/admission_spec.rb
|
223
|
+
- spec/mml/allergy_item_spec.rb
|
224
|
+
- spec/mml/anesthesia_procedure_spec.rb
|
225
|
+
- spec/mml/anesthesiologist_spec.rb
|
226
|
+
- spec/mml/base_clinic_module_spec.rb
|
140
227
|
- spec/mml/base_spec.rb
|
228
|
+
- spec/mml/birth_info_spec.rb
|
229
|
+
- spec/mml/blood_type_spec.rb
|
230
|
+
- spec/mml/clinical_record_spec.rb
|
141
231
|
- spec/mml/creator_info_spec.rb
|
142
232
|
- spec/mml/creator_license_spec.rb
|
233
|
+
- spec/mml/death_flag_spec.rb
|
234
|
+
- spec/mml/death_info_spec.rb
|
143
235
|
- spec/mml/department_spec.rb
|
236
|
+
- spec/mml/diagnostic_category_spec.rb
|
237
|
+
- spec/mml/discharge_spec.rb
|
238
|
+
- spec/mml/dx_item_spec.rb
|
144
239
|
- spec/mml/external_ref_spec.rb
|
145
240
|
- spec/mml/facility_name_spec.rb
|
146
241
|
- spec/mml/facility_spec.rb
|
242
|
+
- spec/mml/family_history_item_spec.rb
|
243
|
+
- spec/mml/first_clinic_module_spec.rb
|
147
244
|
- spec/mml/identification_spec.rb
|
245
|
+
- spec/mml/infection_item_spec.rb
|
246
|
+
- spec/mml/inpatient_item_spec.rb
|
247
|
+
- spec/mml/insurance_class_spec.rb
|
248
|
+
- spec/mml/insurance_client_spec.rb
|
249
|
+
- spec/mml/insurance_spec.rb
|
250
|
+
- spec/mml/lifestyle_module_spec.rb
|
148
251
|
- spec/mml/name_spec.rb
|
252
|
+
- spec/mml/nationality_spec.rb
|
253
|
+
- spec/mml/objective_spec.rb
|
254
|
+
- spec/mml/operation_element_item_spec.rb
|
255
|
+
- spec/mml/organization_info_spec.rb
|
256
|
+
- spec/mml/other_blood_type_spec.rb
|
257
|
+
- spec/mml/outpatient_item_spec.rb
|
258
|
+
- spec/mml/past_history_item_spec.rb
|
259
|
+
- spec/mml/past_history_spec.rb
|
260
|
+
- spec/mml/patient_info_spec.rb
|
149
261
|
- spec/mml/personalized_info_spec.rb
|
150
262
|
- spec/mml/phone_spec.rb
|
263
|
+
- spec/mml/physical_exam_item_spec.rb
|
264
|
+
- spec/mml/plan_spec.rb
|
265
|
+
- spec/mml/problem_item_spec.rb
|
266
|
+
- spec/mml/procedure_item_spec.rb
|
267
|
+
- spec/mml/progress_course_module_spec.rb
|
268
|
+
- spec/mml/public_insurance_item_spec.rb
|
269
|
+
- spec/mml/race_spec.rb
|
270
|
+
- spec/mml/registered_diagnosis_spec.rb
|
271
|
+
- spec/mml/related_doc_spec.rb
|
272
|
+
- spec/mml/service_history_spec.rb
|
273
|
+
- spec/mml/staff_info_spec.rb
|
274
|
+
- spec/mml/subject_spec.rb
|
275
|
+
- spec/mml/subjective_item_spec.rb
|
276
|
+
- spec/mml/summary_module_spec.rb
|
277
|
+
- spec/mml/surgery_item_spec.rb
|
278
|
+
- spec/mml/surgery_module_spec.rb
|
279
|
+
- spec/mml/surgical_staff_spec.rb
|
280
|
+
- spec/mml/test_result_spec.rb
|
281
|
+
- spec/mml/vaccination_item_spec.rb
|
282
|
+
- spec/mml/value_with_link_spec.rb
|
151
283
|
- spec/spec_helper.rb
|