OpenELIS와 Bahmni/OpenMRS 간 주소 매핑
Bahmni의 주소 계층은 OpenMRS 주소 계층을 기반으로 합니다. OpenMRS에서 주소 계층을 만들 때 ELIS의 올바른 레이블에 매핑되도록 특정 순서를 따라야 합니다.
ELIS 필드와 주소 계층 필드의 매핑은 다음을 참고하십시오.
| Field / Label in ELIS | Field in OpenMRS |
|---|---|
| House No, Street | Address1 |
| Village | City_Village |
| Gram Panchayat | Address2 |
| Tehsil | Address3 |
| District | County_District |
| State | StateProvince |
주소 계층 매핑 목록에 원하는 주소 필드가 없다면 Locations > Manage Address Template에서 Address Template을 변경하십시오.
Sample Address Template
<org.openmrs.layout.web.address.AddressTemplate>
<nameMappings class="properties">
<property name="address1" value="Location.address1"/>
<property name="address2" value="Location.address2"/>
<property name="address3" value="Tehsil"/>
<property name="address4" value="Location.address4"/>
<property name="address5" value="Location.address5"/>
<property name="address6" value="Location.address6"/>
<property name="postalCode" value="Location.postalCode"/>
<property name="longitude" value="Location.longitude"/>
<property name="startDate" value="PersonAddress.startDate"/>
<property name="country" value="Location.country"/>
<property name="countyDistrict" value="Location.district"/>
<property name="endDate" value="personAddress.endDate"/>
<property name="stateProvince" value="Location.stateProvince"/>
<property name="latitude" value="Location.latitude"/>
<property name="cityVillage" value="Location.cityVillage"/>
</nameMappings>
<sizeMappings class="properties">
<property name="postalCode" value="10"/>
<property name="longitude" value="10"/>
<property name="address2" value="40"/>
<property name="address1" value="40"/>
<property name="startDate" value="10"/>
<property name="country" value="10"/>
<property name="endDate" value="10"/>
<property name="stateProvince" value="10"/>
<property name="latitude" value="10"/>
<property name="cityVillage" value="10"/>
</sizeMappings>
<lineByLineFormat>
<string>address1</string>
<string>address2</string>
<string>cityVillage stateProvince country postalCode</string>
<string>latitude longitude</string>
<string>startDate endDate</string>
</lineByLineFormat>
</org.openmrs.layout.web.address.AddressTemplate>원문 정보
원문 보기 ↗Bahmni Wiki · CC BY-SA 4.0