wanghaisheng / fhir-cn

FHIR中文版 the Chinese translation of FHIR
https://github.com/FHIR-CN/fhir-spec-ZhCN
72 stars 23 forks source link

地址的数据类型 #37

Open wanghaisheng opened 9 years ago

wanghaisheng commented 9 years ago

http://hl7-fhir.github.io/datatypes.html#address http://en.wikipedia.org/wiki/Address_%28geography%29

wanghaisheng commented 9 years ago

Name Flags Card. Type Description & Constraintsdoco .. Address Element A postal address ... use ?! 0..1 code home | work | temp | old - purpose of this address AddressUse (Required) ... text 0..1 string Text representation of the address ... line 0..* string Street name, number, direction & P.O. Box etc ... city 0..1 string Name of city, town etc. ... state 0..1 string Sub-unit of country (abreviations ok) ... postalCode 0..1 string Postal code for area ... country 0..1 string Country (can be ISO 3166 3 letter code) ... period 0..1 Period Time period when address was/is in use

wanghaisheng commented 9 years ago

Format: Person Name Company name Street City area/District City/Town/Village County Postal code Country (

wanghaisheng commented 9 years ago

according to http://en.wikipedia.org/wiki/Address_%28geography%29 , a standard address format would be

Format: Person Name Company name Street City area/District City/Town/Village County Postal code Country

for now Address datatype only have state,city,line.if i want to express it in China, two or three extensions will be added.it is a mess .why we just add district,town,village,county to Address datatype ,then let the implementer to choose how to populate this?