HL7 Terminology (THO)
6.0.0 - Continuous Process Integration (ci build) International flag

HL7 Terminology (THO), published by HL7 International - Vocabulary Work Group. This guide is not an authorized publication; it is the continuous build for version 6.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/UTG/ and changes regularly. See the Directory of published versions

CodeSystem: Media Type

Official URL: http://terminology.hl7.org/CodeSystem/v3-mediaType Version: 3.0.0
Active as of 2019-03-20 Responsible: Health Level Seven International Computable Name: MediaType
Other Identifiers: OID:2.16.840.1.113883.5.79

Copyright/Legal: This material derives from the HL7 Terminology THO. THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.html

Internet Assigned Numbers Authority (IANA) Mime Media Types. Identifies the type of the encapsulated data and identifies a method to interpret or render the data. The IANA defined domain of media types is established by the Internet standard RFC 2045 [http://www.ietf.org/rfc/rfc2045.txt] and 2046 [http://www.ietf.org/rfc/rfc2046.txt]. RFC 2046 defines the media type to consist of two parts:

  1. top level media type, and
  2. media subtype

However, this HL7 datatypes specification treats the entire media type as one atomic code symbol in the form defined by IANA, i.e., top level type followed by a slash “/” followed by media subtype. Currently defined media types are registered in a database [http://www.iana.org/assignments/media-types/index.html] maintained by IANA. Currently several hundred different MIME media types are defined, with the list growing rapidly. In general, all those types defined by the IANA MAY be used.

This Code system is referenced in the content logical definition of the following value sets:

Generated Narrative: CodeSystem v3-mediaType

Language: en


This code system defines the following properties for its concepts

Specializes Specializes Coding The child code is a more narrow version of the concept represented by the parent code. I.e. Every child concept is also a valid parent concept. Used to allow determination of subsumption. Must be transitive, irreflexive, antisymmetric.
Generalizes Generalizes Coding Inverse of Specializes. Only included as a derived relationship.
internalId internalId http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id code The internal identifier for the concept in the HL7 Access database repository.
Status status http://hl7.org/fhir/concept-properties#status code Designation of a concept's state. Normally is not populated unless the state is retired.
Synonym synonymCode http://hl7.org/fhir/concept-properties#synonym code An additional concept code that was also attributed to a concept


This case-sensitive code system http://terminology.hl7.org/CodeSystem/v3-mediaType provides a fragment that includes following codes in a Is-A hierarchy:

1 application ApplicationMediaType Application specific media type. 21083 active
2   application/dicom DICOM Digital Imaging and Communications in Medicine (DICOM) MIME type defined in RFC3240 \[http://ietf.org/rfc/rfc3240.txt\]. 21460 active
2   application/msword MSWORD This format is very prone to compatibility problems. If sharing of edit-able text is required, text/plain, text/html or text/rtf should be used instead. 14834 active
2   application/pdf PDF The Portable Document Format is recommended for written text that is completely laid out and read-only. PDF is a platform independent, widely deployed, and open specification with freely available creation and rendering tools. 14833 active
1 audio AudioMediaType Audio media type. 21084 active
2   audio/basic Basic Audio This is a format for single channel audio, encoded using 8bit ISDN mu-law \[PCM\] at a sample rate of 8000 Hz. This format is standardized by: CCITT, Fascicle III.4 -Recommendation G.711. Pulse Code Modulation (PCM) of Voice Frequencies. Geneva, 1972. 14836 active
2   audio/k32adpcm K32ADPCM Audio ADPCM allows compressing audio data. It is defined in the Internet specification RFC 2421 \[ftp://ftp.isi.edu/in-notes/rfc2421.txt\]. Its implementation base is unclear. 14838 active
2   audio/mpeg MPEG audio layer 3 MPEG-1 Audio layer-3 is an audio compression algorithm and file format defined in ISO 11172-3 and ISO 13818-3. MP3 has an adjustable sampling frequency for highly compressed telephone to CD quality audio. 14837 active
1 image ImageMediaType Image media type. 21085 active
2   image/g3fax G3Fax Image This is recommended only for fax applications. 14843 active
2   image/gif GIF Image GIF is a popular format that is universally well supported. However GIF is patent encumbered and should therefore be used with caution. 14841 active
2   image/jpeg JPEG Image This format is required for high compression of high color photographs. It is a "lossy" compression, but the difference to lossless compression is almost unnoticeable to the human vision. 14842 active
2   image/png PNG Image Portable Network Graphics (PNG) \[http://www.cdrom.com/pub/png\] is a widely supported lossless image compression standard with open source code available. 14840 active
2   image/tiff TIFF Image Although TIFF (Tag Image File Format) is an international standard it has many interoperability problems in practice. Too many different versions that are not handled by all software alike. 14844 active
1 model ModelMediaType Model media type. 21086 active
2   model/vrml VRML Model This is an openly standardized format for 3D models that can be useful for virtual reality applications such as anatomy or biochemical research (visualization of the steric structure of macromolecules) 14849 active
1 multipart MultipartMediaType Multipart Media Type 21087 active
2   multipart/x-hl7-cda-level-one CDA Level 1 Multipart The HL7 clinical document Architecture, Level 1 MIME package. 14851 active multipart/x-hl7-cda-level1
2   multipart/x-hl7-cda-level1 CDA Level 1 Multipart The HL7 clinical document Architecture, Level 1 MIME package. 14851 retired multipart/x-hl7-cda-level-one
1 text TextMediaType For any text 21088 active
2   text/html HTML Text For marked-up text according to the Hypertext Mark-up Language. HTML markup is sufficient for typographically marking-up most written-text documents. HTML is platform independent and widely deployed. 14828 active
2   text/plain Plain Text **Description:**For any plain text. This is the default and is used for a character string (ST) data type. 14826 active
2   text/rtf RTF Text The Rich Text Format is widely used to share word-processor documents. However, RTF does have compatibility problems, as it is quite dependent on the word processor. May be useful if word processor edit-able text should be shared. 14831 active
2   text/sgml SGML Text For structured character based data. There is a risk that general SGML/XML is too powerful to allow a sharing of general SGML/XML documents between different applications. 14829 active
2   text/x-hl7-ft HL7 Text For compatibility, this represents the HL7 v2.x FT data type. Its use is recommended only for backward compatibility with HL7 v2.x systems. 14827 active
2   text/x-hl7-text+xml HL7 Structured Narrative **Description:** The content described by the CDA Narrative Block (not just used by CDA). 22607 active
2   text/xml XML Text For structured character based data. There is a risk that general SGML/XML is too powerful to allow a sharing of general SGML/XML documents between different applications. 14830 active
1 video VideoMediaType Video media type. 21089 active
2   video/mp4 MP4 Video Video format by the Motion Picture Experts Group under ISO/IEC 14496 24125 active
2   video/mpeg MPEG Video MPEG is an international standard, widely deployed, highly efficient for high color video; open source code exists; highly interoperable. 14846 active
2   video/quicktime QuickTime Video Proprietary video format from Apple, Inc. 24127 active
2   video/webm WebM Video A royalty-free audiovisual media file format. 24128 active
2   video/x-avi X-AVI Video The AVI file format is just a wrapper for many different codecs; it is a source of many interoperability problems. 14847 active
2   video/x-ms-wmv Windows Media Video Proprietary video format from Microsoft, Inc. 24126 active


2023-11-14reviseMarc DuteauTSMGAdd standard copyright and contact to internal content; up-476
2022-10-18reviseMarc DuteauTSMGFixing missing metadata; up-349
2022-02-17 00:00:32+1100reviseGrahame GrieveVocabulary WGPopulate Missing caseSensitive property; UP-286
2020-07-03reviseTed KleinVocabulary WGFix technical issue from original import
2020-05-06reviseTed KleinVocabulary WGMigrated to the UTG maintenance environment and publishing tooling.