Patient information module |
Element structure
![]()
namespaces declaration
The namespaces declaration for 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.10.
Å
mmlPi:personName
1.11.
Å
Å
mmlNm:Name
+
1.12.
Å
mmlPi:birthday
date
1.2.
Å
mmlPi:sex
string
MML0010
1.2.1.
Å
mmlPi:nationality
string
?
Å
Å
Å
Å
mmlPi:subtype
string
#IMPLIED
1.3.
Å
mmlPi:marital
string
?
MML0011
1.4.
Å
mmlPi:addresses
?
1.5.
Å
Å
mmlAd:Address
*
1.6.
Å
mmlPi:emailAddresses
?
1.7.
Å
Å
mmlCm:email
string
*
1.7.1.
Å
mmlPi:phones
?
1.8.
Å
Å
mmlPh:Phone
*
1.8.1.
Å
mmlPi:accountNumber
string
?
1.9.
Å
mmlPi:socialIdentification
string
?
1.9.1.
Å
mmlPi:death
boolean
?
Å
Å
Å
Å
mmlPi:date
date/dateTime
#IMPLIED
Occurrence None: 1 appearance without fail, ?: 0 or 1 appearance, +: 1 or more appearance, *: 0 or more appearance
#REQUIRED: Mandatory attribute, #IMPLIED: Omissible attribute
Element explanation
1.mmlPi:PatientModule
[Detail] Patient information
1.1.mmlPi:uniqueInfo
[Detail] ID information
[Omission] Not allowed
1.1.1.mmlPi:masterId
[Detail] Master ID. This must match the masterId of MmlHeader.
[Omission] Not allowed
1.1.1.1.mmlCm:Id
[Detail] Refer to the MML common format (Id format) for the structure.
[Omission] Not allowed
1.1.2.mmlPi:otherId
[Detail] Other ID. Input the representative ID, ID of emergency contact person, etc.
[Omission] Omission allowed
[Repetition setting] Repeated if multiple other IDs are available.
[Attribute]
Attribute name
Data type
Omission
Table used
Explanation
mmlPi:type
string
#REQUIRED
MML0009
Types of other ID
1.1.2.1.mmlCm:Id
[Detail] Refer to the MML common format (Id format) for the structure.
[Omission] Not allowed
1.2.mmlPi:personName
[Detail] Name information
[Omission] Not allowed
1.2.1.mmlNm:Name
[Detail] Refer to the MML common format (name expression format) for the structure.
[Omission] Not allowed
[Repetition setting] Repeated. If multiple expressions are available, the data should be repeated.
1.3.mmlPi:birthday
[Detail] Birthday
[Data type] date Format: CCYY-MM-DD
[Omission] Not allowed
[Example]
<mmlPi:birthday>1958-10-21</mmlPi:birthday>
1.4.mmlPi:sex
[Detail] Sex. Use table MML0010.
[Data type] string
[Omission] Not allowed
1.5.mmlPi:nationality
[Detail] Nationality code. Use ISO 3166 A3 code. JPN for Japan.
[Data type] string
[Omission] Omission allowed
[Attribute]
Attribute name
Data type
Omission
Explanation
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:marital
[Detail] Marital status. Use table MML0011.
[Data type] string
[Omission] Omission allowed
1.7.mmlPi:addresses
[Detail] Parent element for input of the following addresses.
[Omission] Omission allowed
1.7.1.mmlAd:Address
[Detail] Address. Refer to the MML common format (address expression format) for the structure.
[Omission] Omission allowed
[Repetition setting] Repeated. If multiple types or expression methods for addresses are available, the data should be repeated.
1.8.mmlPi:emailAddresses
[Detail] Parent element for input of the following E-mail addresses
[Omission] Omission allowed
1.8.1.mmlCm:email
[Detail] E-mail address
[Data type] string
[Omission] Omission allowed
[Repetition setting] Repeated. If multiple E-mail addresses are available, the data should be repeated.
1.9.mmlPi:phones
[Detail] Parent element for input of the following telephone numbers.
[Omission] Omission allowed
1.9.1.mmlPh:Phone
[Detail] Refer to the MML common format (telephone number format) for the structure.
[Omission] Not allowed
[Repetition setting] Repeated. If multiple telephone numbers are available, the data should be repeated.
1.10.mmlPi:accountNumber
[Detail] Account number
[Data type] string
[Omission] Omission allowed
1.11.mmlPi:socialIdentification
[Detail] Social identification number
[Data type] string
[Omission] Omission allowed
1.12.mmlPi:death
[Detail] Death flag. true: death, false: alive
[Data type] boolean
[Omission] Omission allowed
[Attribute]
Attribute name
Data type
Omission
Explanation
mmlPi:date
date/dateTime
#IMPLIED
Date/time of death. The datatypes for death should be either date or dateTime.
[Example] Died on Sept. 1, 1999.
[Example] Died at 06:15 on Sept. 1, 1999.
<mmlPi:death mmlPi:date="1999-09-01">true</mmlPi:death>
<mmlPi:death mmlPi:date="1999-09-01T06:15">true</mmlPi:death>