PatientUniversal Tabular View
COCD_TP145201GB01 | |||||||||||||||||||||||||||||||||
PatientRole |
The purpose of this template is to allow patient information that would normally be retrieved from the Personal Demographics Service (PDS) to be carried in a CDA document. This is to allow sending and receiving systems which do not have access to PDS to be able to identify the patient using a wider range of information than just NHS number. This template does not support the full patient information obtainable from PDS only the information that is supported by CDA. This subset of patient information is sufficient for use in CDA document exchanges. This template also constrains the patient information supported by CDA to make it suitable for NHS use. |
||||||||||||||||||||||||||||||||
Used by: | |||||||||||||||||||||||||||||||||
[1..1] [M] classCode (CS { CNE: RoleClass } ) { Fixed="PAT" } |
Model Attribute Description The HL7 attribute classCode uses a code to describe this class as a role of patient. Implementation in XML Instance The XML attribute classCode is fixed to " PAT ". |
||||||||||||||||||||||||||||||||
[0..4] addr (SET<AD>) |
Model Attribute Description The HL7 attribute addr uses a set of addresses for the patient (this is limited to a maximum of 4 types to reduce display issues in rendering CDA documents). The HL7 attribute addr allows structured and unstructured addresses to be carried. Only structured addresses are recommended to be used. Implementation in XML Instance There are a number of forms of structured address. The three shown here are the recommended formats for patient addresses, they are listed in no particular order. The XML element addr is populated as follows: When using the structured address in the style of PDS the XML element addr shall contain five XML elements streetAddressLine:
The first XML element streetAddressLine or the second XML element streetAddressLine and the fourth XML element streetAddressLine are mandatory to be populated.
When using the fully structured address format then the XML element addr shall be populated as follows:
Alternatively the structured address may contain just a series of XML elements streetAddressLine populated in the correct order to render as a postal address with as much information as available included.
The XML element addr also allows an XML attribute use and this should be used to further define the patient address type when required. Only the use values listed below are recommended to be used for patient addresses.
When the XML attribute use of the XML element addr contains the value "PHYS" then the following two XML elements of the XML element addr may be populated.
The XML element useablePeriod of XML element addr can be used to indicate some of the following types of valid times for an address:
|
||||||||||||||||||||||||||||||||
[1..*] [M] id (SET<II>) |
Model Attribute Description The HL7 attribute id allows identification of the patient using the NHS number or a local identifier if the NHS number is not available. Implementation in XML Instance When the NHS number is available then the XML element id should be populated as below: For a verified NHS Number:
For an unverified NHS Number:
Where the NHS number is not available, in order to identify the patient, one or more identifiers including local identifiers can be used, where this is the case then the XML element id is populated as follows:
|
||||||||||||||||||||||||||||||||
[0..*] telecom (SET<TEL>) |
Model Attribute Description The HL7 Attribute telecom specifies contact details for the patient in the form of telephone numbers, fax numbers and email addresses. Implementation in XML Instance The XML value attribute of the XML element telecom should contain the telephone / fax number or an email address prefixed by the type of contact and a colon.
The XML attribute use of the XML element telecom may be used to give further information about the type of contact details contained in the XML attribute value. Only the use values listed below are recommended to be used for the patient contact details:
The XML element useablePeriod of the XML element telecom may be used to indicate when the contact details given are valid, for example to indicate that a telephone number is only for office hours (9am to 5 pm). It can be used to indicate some of the following types of valid times:
|
||||||||||||||||||||||||||||||||
[1..1] [M] templateId (II) { Fixed="COCD_TP145201GB01#PatientRole" } |
Model Attribute Description
The HL7 attribute templateId provides a unique identifier for the template and the class name within that template. This is used to identify how the CDA standard has been constrained for NHS use.
|
||||||||||||||||||||||||||||||||
[1..1] [M] patientPatient (Patient) |
A link to the patient class. |
||||||||||||||||||||||||||||||||
[0..1] providerOrganization (Organization) |
A link to the organisation class that provides the care. |
||||||||||||||||||||||||||||||||
Patient |
This class details information about the person who is the patient. |
||||||||||||||||||||||||||||||||
Used by: PatientRole | |||||||||||||||||||||||||||||||||
[1..1] [M] classCode (CS { CNE: EntityClass } ) { Fixed="PSN" } |
Model Attribute Description The HL7 attribute classCode describes this class as a person. Implementation in XML Instance |
||||||||||||||||||||||||||||||||
[1..1] [M] determinerCode (CS { CNE: EntityDeterminer } ) { Fixed="INSTANCE" } |
Model Attribute Description The HL7 attribute determinerCode describes this class as an instance of a person. Implementation in XML Instance |
||||||||||||||||||||||||||||||||
[1..1] [R] administrativeGenderCode (CV { CNE:Sex } ) |
Model Attribute Description The HL7 attribute administrativeGenderCode uses a code from the Sex vocabulary to indicate the gender of the patient. This code is for administrative purposes only and does not imply a particular genetic or physical sex. Implementation in XML Instance The Coded Plain data type flavour of Coded Value (CV) shall be used to carry this information in the XML element administrativeGenderCode as follows:
When the patient's gender cannot be sent because there is no information to populate the XML element admininistrativeGenderCode available on the sending system, then an appropriate XML attribute nullFlavor of the XML element admininistrativeGenderCode may used. The recommended values for the XML attribute nullFlavor are listed below:
|
||||||||||||||||||||||||||||||||
[1..1] [R] birthTime (TS) |
Model Attribute Description The HL7 attribute birthTime specifies the patient's date of birth. Implementation in XML Instance The XML attribute value of the XML element birthTime shall be populated a time stamp in the format yyyymmddhhmm where:
At least the year must be present. The XML attribute value of the XML element birthTime should be populated to the level of detail that is available on the sending system. When the patient's date of birth cannot be sent because there is no information to populate the XML element birthTime available on the sending system, then an XML attribute nullFlavor of the XML element birthTime can be used. The recommended values for the XML attribute nullFlavor are listed below:
|
||||||||||||||||||||||||||||||||
[1..*] [R] name (SET<PN>) |
Model Attribute Description The HL7 attribute name provides names associated with the person who is the patient. Implementation in XML Instance The Person Name Structured with optional Use and optional Valid Time flavour of the PN data type is the recommended format for the patient's name. This information is carried in the XML element name as follows:
Additionally the XML attribute use of the XML element name should be used to indicate the type of name; the recommended codes to be used are listed below: Note some of the codes listed are NHS extensions, these are marked with an *
Additionally the XML element validTime of the XML element name may be used to indicate the time when the name is valid/was valid for the patient, some uses are shown below:
When no patient name is available to the sending system to then an appropriate XML attribute nullFlavor may be used to populate the XML element name. The recommended values for the XML attribute nullFlavor are listed below:
|
||||||||||||||||||||||||||||||||
[1..1] [M] templateId (II) { Fixed="COCD_TP145201GB01#patientPatient" } |
Model Attribute Description
The HL7 attribute templateId provides a unique identifier for the template and the class name within that template. This is used to identify how the CDA standard has been constrained for NHS use.
Implementation in XML Instance
The Identifier External data type flavour is used to carry this information in the XML element templateId as follows:
|
||||||||||||||||||||||||||||||||
[0..*] languageCommunication (LanguageCommunication) |
A link to LanguageCommunication class. |
||||||||||||||||||||||||||||||||
LanguageCommunication |
This class is used to describe information about the patient's languages, their mode of communication and proficiency in that language, and whether it is their preferred language. |
||||||||||||||||||||||||||||||||
Used by: Patient | |||||||||||||||||||||||||||||||||
[0..1] languageCode (CS { CNE:HumanLanguage } ) |
Model Attribute Description The HL7 attribute languageCode uses a code taken from the HL7 HumanLanguage vocabulary to describe a language used by the patient. Implementation in XML Instance The Coded Only data type flavour of Simple Value data type is used to carry this information as follows:
|
||||||||||||||||||||||||||||||||
[0..1] modeCode (CE { CWE:LanguageAbilityMode } ) |
Model Attribute Description The HL7 attribute modeCode uses a code taken from the HL7 LanguageAbilityMode vocabulary or an alternative vocabulary to describe: the mode the patient can communicate in the language stated in the HL7 attribute languageCode. Implementation in XML Instance When the HL7 LanguageAbilityMode vocabulary is used then: The Coded Plain data type flavour of Coded with Equivalents (CE) shall be used to carry this information in the XML element modeCode as follows:
When an alternative vocabulary is used and an OID is available then: The Coded Plain data type flavour of Coded with Equivalents (CE) shall be used to carry this information in the XML element modeCode as follows:
When an alternative vocabulary is used and an OID is not available then: The Coded Plain data type flavour of Coded with Equivalents (CE) shall be used to carry this information in the XML element modeCode as follows:
|
||||||||||||||||||||||||||||||||
[0..1] preferenceInd (BL) |
Model Attribute Description A flag used to indicate if the language stated in languageCode is preferred by the patient. Implementation in XML Instance When sending a Boolean value, the XML attribute value of the XML element preferenceInd should carry true or false. The XML element preferenceInd can carry an XML element nullFlavor instead of true or false to allow assertion of things like "patient was not asked". The recommended values for the XML attribute nullFlavor are listed below
|
||||||||||||||||||||||||||||||||
[0..1] proficiencyLevelCode (CE { CWE:LanguageAbilityProficiency } ) |
Model Attribute Description The HL7 attribute proficiencyLevelCode uses a code taken from the HL7 LanguageAbilityProficiency vocabulary or an alternative vocabulary to describe the patient's proficiency to communicate in the mode stated in the HL7 attribute modeCode, for the language stated in the HL7 attribute languageCode. Implementation in XML Instance When the HL7 vocabulary LanguageAbilityProficiency is used then: The Coded Plain data type flavour of Coded with Equivalents (CE) shall be used to carry this information in the XML element proficiencyLevelCode as follows:
When an alternative vocabulary is used and an OID is available then: The Coded Plain data type flavour of Coded with Equivalents (CE) shall be used to carry this information in the XML element proficiencyLevelCode as follows:
When an alternative vocabulary is used and an OID is not available then: The Coded Plain data type flavour of Coded with Equivalents (CE) shall be used to carry this information in the XML element proficiencyLevelCode as follows:
|
||||||||||||||||||||||||||||||||
[1..1] [M] templateId (II) { Fixed="COCD_TP145201GB01#languageCommunication" } |
Model Attribute Description The HL7 attribute templateId provides a unique identifier for the template and the class name within that template. This is used to identify how the CDA standard has been constrained for NHS use Implementation in XML Instance The Identifier External data type flavour is used to carry this information in the XML element templateId as follows:
|
||||||||||||||||||||||||||||||||
Organization |
This class details the organisation which provides/provided care to the patient. |
||||||||||||||||||||||||||||||||
Used by: PatientRole | |||||||||||||||||||||||||||||||||
[1..1] [M] classCode (CS { CNE: EntityClass } ) { Fixed="ORG" } |
Model Attribute Description The HL7 attribute classCode describes this class as an organisation. Implementation in XML Instance The XML attribute classCode is fixed to " ORG ". |
||||||||||||||||||||||||||||||||
[1..1] [M] determinerCode (CS { CNE: EntityDeterminer } ) { Fixed="INSTANCE" } |
Model Attribute Description The HL7 attribute determinerCode describes this class as an instance of an organisation. Implementation in XML Instance The XML attribute determinerCode is fixed to " INSTANCE ". |
||||||||||||||||||||||||||||||||
[0..1] addr (AD) |
Model Attribute Description The HL7 attribute addr provides a contact address for the organisation. The HL7 attribute addr allows structured and unstructured addresses to be carried in an instance. Only structured addresses are recommended to be used. There are a number of structured forms of addresses. The three shown here are the recommended formats for organisation addresses, they are listed in no particular order. Implementation in XML Instance When the structured address in the style of PDS is used then it shall contain five XML elements streetAddressLine:
The first XML element streetAddressLine or second XML element streetAddressLine and the fourth XML element streetAddressLine are mandated to be populated.
or the address may use the fully structured address:
Alternatively the structured address may contain just a series of XML elements streetAddressLine populated in the correct order to render as a postal address with as much information as available included:
The XML element addr allows an XML attribute use, this should be used to further define the organisation address when required. Only the use values listed below are recommended to be used for organisation addresses.
The XML element useablePeriod of XML element addr can be used to indicate some of the following types of valid times:
|
||||||||||||||||||||||||||||||||
[1..1] [M] id (II) |
Model Attribute Description The HL7 attribute id uses an ODS code as an identifier that uniquely identifies the organisation which provides/provided care to the patient. The ODS code should identify the organisation at either the site level or organisation level. Where possible the organisation should be identified at the site level. ODS codes were formerly known as NACS codes. Implementation in XML Instance When ODS site code is used then the XML element id is populated in the following way:
When ODS organisation code is used then the XML element id is populated in the following way:
|
||||||||||||||||||||||||||||||||
[1..1] [M] name (ON) |
Model Attribute Description The HL7 attribute name uses the description of the organisation associated with the ODS code. Implementation in XML Instance
The XML element
name will carry the description associated with the ODS code carried in the XML attribute
extension of the XML element
id.
|
||||||||||||||||||||||||||||||||
[1..1] [M] standardIndustryClassCode (CV { CNE:CDAOrganizationProviderType } ) |
Model Attribute Description The HL7 attribute standardIndustryClassCode uses a code taken from the CDAOrganizationProviderType vocabulary to indicate the type of care provider. The only use currently for this attribute is to indicate that the organisation is the patient's registered GP practice. Implementation in XML Instance
|
||||||||||||||||||||||||||||||||
[0..*] telecom (SET<TEL>) |
Model Attribute Description The HL7 attribute telecom provides contact details for the organisation in the form of telephone numbers, fax numbers and email addresses. Implementation in XML Instance This XML element telecom should be populated as below: The XML attribute value of the XML element telecom should contain the telephone / fax number or an email address prefixed by the type of contact and a colon.
The XML attribute use of the XML element telecom may be used to give further information about the type of contact details contained in the XML attribute value. Only the use values listed below are recommended for an organisation's contact details:
The XML element useablePeriod of XML element telecom may be used to indicate when the contact details given are valid, for example to indicate that a telephone number is only for office hours (9am to 5 pm). It can be used to indicate some of the following types of valid times:
|
||||||||||||||||||||||||||||||||
[1..1] [M] templateId (II) { Fixed="COCD_TP145201GB01#providerOrganization" } |
Model Attribute Description Implementation in XML Instance The Identifier External data type flavour is used to carry this information in the XML element templateId as follows:
|