11. Details of MML content modules
11. 1. Patient information module
Namespace declaration
Namespace declaration of this
module is as follows.
xmlns:mmlPi= "http://www.medxml.net/MML/ContentModule/PatientInfo/1.0"
Element list
|
Elements
|
Attribute
|
Datatypes
|
Occurrence
|
Table id
|
1.
|
mmlPi:PatientModule
|
|
|
|
|
1.1.
|
mmlPi:uniqueInfo
|
|
|
|
|
1.1.1.
|
mmlPi:masterId
|
|
|
|
|
1.1.1.1.
|
mmlCm:Id
|
|
string
|
|
|
1.1.2.
|
mmlPi:otherId
|
|
|
*
|
|
|
|
mmlPi:type
|
string
|
#REQUIRED
|
MML0009
|
1.1.2.1.
|
mmlCm:Id
|
|
string
|
|
|
1.2.
|
mmlPi:personName
|
|
|
|
|
1.2.1.
|
mmlNm:Name
|
|
|
+
|
|
1.3.
|
mmlPi:birthday
|
|
date
|
|
|
1.4.
|
mmlPi:sex
|
|
string
|
|
MML0010
|
1.5.
|
mmlPi:nationality
|
|
string
|
?
|
|
|
|
mmlPi:subtype
|
string
|
#IMPLIED
|
|
1.6.
|
mmlPi:race
|
|
string
|
?
|
|
|
|
mmlPi:raceCode
|
string
|
#IMPLIED
|
|
|
|
mmlPi:raceCodeId
|
string
|
#IMPLIED
|
|
1.7.
|
mmlPi:marital
|
|
string
|
?
|
MML0011
|
1.8.
|
mmlPi:addresses
|
|
|
?
|
|
1.8.1.
|
mmlAd:Address
|
|
|
*
|
|
1.9.
|
mmlPi:emailAddresses
|
|
|
?
|
|
1.9.1.
|
mmlCm:email
|
|
string
|
*
|
|
1.10.
|
mmlPi:phones
|
|
|
?
|
|
1.10.1.
|
mmlPh:Phone
|
|
|
*
|
|
1.11.
|
mmlPi:accountNumber
|
|
string
|
?
|
|
1.12.
|
mmlPi:socialIdentification
|
|
string
|
?
|
|
1.13.
|
mmlPi:death
|
|
boolean
|
?
|
|
|
|
mmlPi:date
|
date/dateTime
|
#IMPLIED
|
|
Occurrence; blank: 1 appearance
without fail, ?: 0 or 1 appearance, +: 1 or more appearances, *: 0 or
more appearances
#REQUIRED: Required attribute,
#IMPLIED: Omissible attribute
1.mmlPi:PatientModule
Description: patient information
1.1.mmlPi:uniqueInfo
Description: ID information
Omission: not allowed
1.1.1.mmlPi:masterId
Description: master ID. This must
be identical to the masterId of an MmlHeader.
Omission: not allowed
1.1.1.1.mmlCm:Id
Description: refer to the MML common
format (ID format) for the structure.
Omission: not allowed
1.1.2.mmlPi:otherId
Description: other IDs. IDs of
a representative, emergency contact person, etc. are described.
Omission: allowed
Repetition: allowed. The element
should be repeated if multiple other IDs are available.
Attribute:
Attribute name
|
Data type
|
Omission
|
Table
|
Remarks
|
mmlPi:type
|
string
|
#REQUIRED
|
MML0009
|
Other ID Type
|
1.1.2.1.mmlCm:Id
Description: refer to the MML common
format (ID format) for the structure.
Omission: not allowed
1.2.mmlPi:personName
Description: name information
Omission: not allowed
1.2.1.mmlNm:Name
Description: refer to the MML common
format (Name expression format) for the structure.
Omission: not allowed
Repetition: allowed. If multiple expression methods are available, the element should be repeated.
1.3.mmlPi:birthday
Description: birth date/year
Data type: date Format: CCYY-MM-DD
Omission: not allowed
Example:
<mmlPi:birthday>1958-10-21</mmlPi:birthday>
1.4.mmlPi:sex
Description: Sex. Use table MML0010.
Data type: string
Omission: not allowed
1.5.mmlPi:nationality
Description: nationality code.
ISO 3166 A3 code is used. Enter JPN for Japan.
Data type: string
Omission: allowed
Attribute:
Attribute name
|
Data type
|
Omission
|
Remarks
|
mmlPi:subtype
|
string
|
#IMPLIED
|
Second nationality code.
Use ISO 3166 A3 code.
|
Example: the first nationality
is Japan and the second nationality is the USA.
<mmlPi:nationality mmlPi:subtype = "USA">JPN</mmlPi:nationality>
1.6.mmlPi:race
Description: race, ethnic group
Data type: string
Omission: allowed
Attribute:
Attribute name
|
Data type
|
Omission
|
Remarks
|
mmlPi:raceCode
|
string
|
#IMPLIED
|
race code
|
mmlPi:raceCodeId
|
string
|
#IMPLIED
|
Enter the name of a used
table
|
1.7.mmlPi:marital
Description: marital status. Use
table MML0011.
Data type: string
Omission: allowed
1.8.mmlPi:addresses
Description: parent element for the
input of addresses described below.
Omission: allowed
1.8.1.mmlAd:Address
Description: address. Refer to
the MML common format (Address expression format) for the structure.
Omission: allowed
Repetition: allowed. If multiple
addresses or multiple expression methods are available, the element should
be repeated.
1.9.mmlPi:emailAddresses
Description: parent element for the
input of e-mail addresses described below.
Omission: allowed
1.9.1.mmlCm:email
Description: e-mail address
Data type: string
Omission: allowed
Repetition: allowed. If multiple
e-mail addresses are available, the element should be repeated.
1.10.mmlPi:phones
Description: parent element for the
input of telephone numbers described below.
Omission: allowed
1.10.1.mmlPh:Phone
Description: telephone number.
Refer to the MML common format (Telephone number format) for the structure.
Omission: not allowed
Repetition: allowed. If multiple
telephone numbers are available, the element should be repeated.
1.11.mmlPi:accountNumber
Description: account number
Data type: string
Omission: allowed
1.12.mmlPi:socialIdentification
Description: social security number
Data type: string
Omission: allowed
1.13.mmlPi:death
Description: death flag. true: death,
false: alive
Data type: boolean
Omission: allowed
Attribute:
Attribute name
|
Data type
|
Omission
|
Remarks
|
mmlPi:date
|
date/dateTime
|
#IMPLIED
|
Date and time of death.
The data type should be either date or dateTime.
|
Example: died on September 1,1999
<mmlPi:death mmlPi:date="1999-09-01">true</mmlPi:death>
Example: died at 6:15 on September
1, 1999
<mmlPi:death mmlPi:date="1999-09-01T06:15">true</mmlPi:death>
© 2003. All rights reserved