Module: HQMF::Util::EntityHelper
- Included in:
- QdmPatient, Qrda1R5
- Defined in:
- lib/util/entity_helper.rb
Instance Method Summary collapse
- #care_partner_entity? ⇒ Boolean
- #location_entity? ⇒ Boolean
- #organization_entity? ⇒ Boolean
- #patient_entity? ⇒ Boolean
- #practitioner_entity? ⇒ Boolean
Instance Method Details
#care_partner_entity? ⇒ Boolean
9 10 11 |
# File 'lib/util/entity_helper.rb', line 9 def care_partner_entity? self[:hqmfOid] == '2.16.840.1.113883.10.20.28.4.134' end |
#location_entity? ⇒ Boolean
13 14 15 |
# File 'lib/util/entity_helper.rb', line 13 def location_entity? self[:hqmfOid] == '2.16.840.1.113883.10.20.28.4.142' end |
#organization_entity? ⇒ Boolean
17 18 19 |
# File 'lib/util/entity_helper.rb', line 17 def organization_entity? self[:hqmfOid] == '2.16.840.1.113883.10.20.28.4.135' end |
#patient_entity? ⇒ Boolean
21 22 23 |
# File 'lib/util/entity_helper.rb', line 21 def patient_entity? self[:hqmfOid] == '2.16.840.1.113883.10.20.28.4.136' end |
#practitioner_entity? ⇒ Boolean
5 6 7 |
# File 'lib/util/entity_helper.rb', line 5 def practitioner_entity? self[:hqmfOid] == '2.16.840.1.113883.10.20.28.4.137' end |