Sha256: fb20103df0272d9dc94e5d257e2ac70e8b85b70d4518dfe3dd8229c7eea2748f
Contents?: true
Size: 1.9 KB
Versions: 2
Compression:
Stored size: 1.9 KB
Contents
<recordTarget> <patientRole> <!-- id root="Cypress" extension="<%= patient.id %>"/ --> <!-- Fake Medicare HIC number --> <id extension="12345" root="2.16.840.1.113883.4.572"/> <addr use="HP"> <streetAddressLine>202 Burlington Rd.</streetAddressLine> <city>Bedford</city> <state>MA</state> <postalCode>01730</postalCode> <country>US</country> </addr> <telecom use="WP" value="tel:+1-781-271-3000"/> <patient> <name> <given><%= patient.first %></given> <family><%= patient.last %></family> </name> <administrativeGenderCode code="<%= patient.gender %>" codeSystem="2.16.840.1.113883.5.1" codeSystemName="HL7 AdministrativeGender"/> <birthTime value="<%= Time.at(patient.birthdate).utc.to_formatted_s(:number) %>"/> <% if (patient.race) %> <raceCode code="<%= patient.race['code'] %>" <% if patient.race['name']%>displayName="<%= patient.race['name'] %>"<% end %> codeSystemName="CDC Race and Ethnicity" codeSystem="2.16.840.1.113883.6.238"/> <% end %> <% if (patient.race) %> <ethnicGroupCode code="<%= patient.ethnicity['code'] %>" <% if patient.ethnicity['name']%>displayName="<%= patient.ethnicity['name'] %>"<% end %> codeSystemName="CDC Race and Ethnicity" codeSystem="2.16.840.1.113883.6.238"/> <% end %> <% languages = patient.languages languages = ["eng"] if languages.nil? or languages.empty? languages.each do |language|%> <languageCommunication> <templateId root="2.16.840.1.113883.3.88.11.83.2" assigningAuthorityName="HITSP/C83"/> <templateId root="1.3.6.1.4.1.19376.1.5.3.1.2.1" assigningAuthorityName="IHE/PCC"/> <languageCode code="<%= language %>"/> </languageCommunication> <% end %> </patient> </patientRole> </recordTarget>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
health-data-standards-3.1.1 | templates/cat1/_record_target.cat1.erb |
health-data-standards-3.1.0 | templates/cat1/_record_target.cat1.erb |