This wiki has undergone a migration to Confluence found Here
<meta name="googlebot" content="noindex">

Datatype Examples Collection area

From HL7Wiki
Jump to navigation Jump to search

This page will be the area in which collected datatype XML ITS Examples are stored prior to documenting and comparing

All XML ITS Examples should have provenance notes and if possible a link to the source document.



Contents

Basic Data Types

ANY (DataValue)

XML ITS Example

<.......>

Provenance:


UML ITS Generated Example

<.......>

Comparison Notes


HXIT (History Item)

XML ITS Example

<.......>

Provenance:


UML ITS Generated Example

<.......>


Comparison Notes


BL (Boolean)

XML ITS Example

<contextConductionInd value="true"/>
<seperatableInd value="false"/>
<seperatableInd nullFlavor="UNK"/>

Provenance: CfH MIM v6.1.00 Datatypes section

UML ITS Generated Example

<.......>


Comparison Notes


BN (Boolean Non Null)

XML ITS Example

<contextConductionInd value="true"/>
<seperatableInd value="false"/>

Provenance: CfH MIM v6.1.00 Datatypes section

UML ITS Generated Example

<.......>


Comparison Notes


Text And Content Data Types

Content

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes


Data

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes


ED (Encapsulated Data)

XML ITS Example

Encapsulated Data Plain Text (f)

<value>Some plain text</value>


Encapsulated Data Text and Line Breaks (f)

<.....>


Encapsulated Data Limited HTML (f)

<value mediaType="text/x-h7uk-html" >
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/1999/xhtml ..\dt\xhtmlNPfIT.xsd">
<head>
<title>Diagnostic Imaging Procedure Report</title>
</head>
<body>
<p>The lung fields are clear. Heart size is enlarged with slight unfolding of the aorta.</p>
<p>CTR = 18/35 cm</p>
<p>The right hemi-diaphragm is raised</p>
</body>
</html>
</value>


Encapsulated Data Attachment Reference (f)

<value>
    <reference value="http://www.nhsia.nhs.uk/MIMv3.0/index.htm"/>
</value>

Encapsulated Data Attachment (f)

<!-- To indicate attachment data (in an observation class "value" attribute)  -->
<value encoding="B64" mediaType="text/plain">[BASE64REPRESENTATIONOFTHEDATA]</value>


Provenance: CfH MIM 6.1.00 Datatypes section

UML ITS Generated Example

<.......>

Comparison Notes


ST (Character String)

XML ITS Example

<text>Some plain text</text>
<value nullFlavor="UNK"/>


Provenance: CfH MIM 6.1.00 Datatypes section

UML ITS Generated Example

<.......>

Comparison Notes


SC (Coded String)

XML ITS Example

<softwareName>NHAIS</softwareName>
<softwareName code="1" codeSystem="2.16.840.1.113883.2.1.3.2.9999" displayName="NHAIS">NHAIS</softwareName>
<softwareName nullFlavor="UNK"/>


Provenance: CfH MIM 6.1.00 Datatypes section

UML ITS Generated Example

<.......>

Comparison Notes


Coded Data Types

Term

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes


CD (Concept Descriptor)

XML ITS Example

<value code="11" codeSystem="2.16.840.1.113883.2.1.3.2.4.17.42" displayName="NHS Number confirmed"/>

Provenance: CfH MIM Version 6.1.00 Datatypes Section

UML ITS Generated Example

<.......>

Comparison Notes

CR (Concept Role)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

CE (Coded With Equivalents)

XML ITS Example


   <originalText>currently suffering from asthma""</originalText>
   <translation code="195967001" codeSystem="2.16.840.1.113883.2.1.3.2.4.15" displayName="asthma"/>


Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

CV (Coded Value)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

CO (Coded Ordinal)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

CS (Coded Simple Value)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

Miscellaneous Data Types

II (Instance Identifier)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

Ref

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

TEL (Telecommunication Address)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

Names and Addresses

ADXP (Address Part)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

AD (Address)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

ENXP (Entity Name Part)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

EN (Entity Name)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

TN (Trivial Name)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

PN (Person Name)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

PN (Organization Name)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

Quantities

QTY (Quantity)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

INT (Integer)

XML ITS Example

<repeatNumber value="1"/>
<sequenceNumber nullFlavor="UNK"/>


Provenance: CfH MIM v6.1.00 Datatypes section

UML ITS Generated Example

<.......>

Comparison Notes

REAL (Real)

XML ITS Example

<value value="2.3"/>
<value nullFlavor="UNK"/>

Provenance: CfH MIM v6.1.00 Datatypes section

UML ITS Generated Example

<.......>

Comparison Notes

RTO (Ratio)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

PQ (Physical Quantity)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

PQR (Physical Quantity Representation)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

MO (Monetary Amount)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

TS (Point in Time)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

Collections

SET (Set)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

LIST (Sequence)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

GLIST (Generated Sequence)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

SLIST (Sampled Sequence)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

BAG (Bag)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

IVL (Interval)

XML ITS Example

<!-- To indicate an effective time of  12:05 on 25/06/2004 --> 
<effectiveTime>
</effectiveTime>
<!-- To indicate an effective time between of  12:05 and 12:20 on 25/06/2004  -->
<effectiveTime>
    <low value="200406251205"/>
    <high value="200406251220"/>
</effectiveTime>
<!-- To indicate an effective time after  12:05 on 25/06/2004 -->
<effectiveTime>
    <low value="200406251205"/>
</effectiveTime>
<!-- To indicate an effective time before  25/06/2004 -->
<effectiveTime>
    <high value="20040625"/>
</effectiveTime>
<!-- To indicate an effective time of one month duration -->
<effectiveTime>
    <width value="1" unit="mo"/>
</effectiveTime>
<!-- To indicate an effective time with a 24 hour duration centred on  15/06/2002  -->
<effectiveTime>
    <width value="24" unit="h"/>
</effectiveTime>

Provenance: CfH MIM v6.1.00 Datatypes section

UML ITS Generated Example

<.......>

Comparison Notes

HIST (History)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

Timing Specifications

PIVL (PeriodicInterval)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

EIVL (Event-Related Periodic Interval of Time)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes

GTS (General Timing Specification)

XML ITS Example

<.......>

Provenance:

UML ITS Generated Example

<.......>

Comparison Notes