HL7 Terminology
2.0.0 - Publication

This page is part of the HL7 Terminology (v2.0.0: Release) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

CodeSystem: Media Type


Defining URL:http://terminology.hl7.org/CodeSystem/v3-mediaType
Title:Media Type
Status:Active as of 2019-03-20

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.

Publisher:Health Level 7
Content:Fragment: A subset of the code system concepts are included in the code system resource
OID:2.16.840.1.113883.5.79 (for OID based terminology systems)
Source Resource:XML / JSON / Turtle

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


SpecializesThe 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.Coding
GeneralizesInverse of Specializes. Only included as a derived relationship.Coding
internalIdhttp://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-idThe internal identifier for the concept in the HL7 Access database repository.code
statushttp://hl7.org/fhir/concept-properties#statusDesignation of a concept's state. Normally is not populated unless the state is retired.code
synonymCodehttp://hl7.org/fhir/concept-properties#synonymAn additional concept code that was also attributed to a conceptcode

This code system http://terminology.hl7.org/CodeSystem/v3-mediaType defines many codes, of which the following are a subset:

1application ApplicationMediaTypeApplication specific media type.21083active
2  application/dicom DICOMDigital Imaging and Communications in Medicine (DICOM) MIME type defined in RFC3240 \[http://ietf.org/rfc/rfc3240.txt\].21460active
2  application/msword MSWORDThis 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.14834active
2  application/pdf PDFThe 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.14833active
1audio AudioMediaTypeAudio media type.21084active
2  audio/basic Basic AudioThis 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.14836active
2  audio/k32adpcm K32ADPCM AudioADPCM 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.14838active
2  audio/mpeg MPEG audio layer 3MPEG-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.14837active
1image ImageMediaTypeImage media type.21085active
2  image/g3fax G3Fax ImageThis is recommended only for fax applications.14843active
2  image/gif GIF ImageGIF is a popular format that is universally well supported. However GIF is patent encumbered and should therefore be used with caution.14841active
2  image/jpeg JPEG ImageThis 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.14842active
2  image/png PNG ImagePortable Network Graphics (PNG) \[http://www.cdrom.com/pub/png\] is a widely supported lossless image compression standard with open source code available.14840active
2  image/tiff TIFF ImageAlthough 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.14844active
1model ModelMediaTypeModel media type.21086active
2  model/vrml VRML ModelThis 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)14849active
1multipart MultipartMediaTypeMultipart Media Type21087active
2  multipart/x-hl7-cda-level-one CDA Level 1 MultipartThe HL7 clinical document Architecture, Level 1 MIME package.14851activemultipart/x-hl7-cda-level1
2  multipart/x-hl7-cda-level1 CDA Level 1 MultipartThe HL7 clinical document Architecture, Level 1 MIME package.14851retiredmultipart/x-hl7-cda-level-one
1text TextMediaTypeFor any text21088active
2  text/html HTML TextFor 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.14828active
2  text/plain Plain Text**Description:**For any plain text. This is the default and is used for a character string (ST) data type.14826active
2  text/rtf RTF TextThe 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.14831active
2  text/sgml SGML TextFor 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.14829active
2  text/x-hl7-ft HL7 TextFor compatibility, this represents the HL7 v2.x FT data type. Its use is recommended only for backward compatibility with HL7 v2.x systems.14827active
2  text/x-hl7-text+xml HL7 Structured Narrative**Description:** The content described by the CDA Narrative Block (not just used by CDA).22607active
2  text/xml XML TextFor 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.14830active
1video VideoMediaTypeVideo media type.21089active
2  video/mp4 MP4 VideoVideo format by the Motion Picture Experts Group under ISO/IEC 1449624125active
2  video/mpeg MPEG VideoMPEG is an international standard, widely deployed, highly efficient for high color video; open source code exists; highly interoperable.14846active
2  video/quicktime QuickTime VideoProprietary video format from Apple, Inc.24127active
2  video/webm WebM VideoA royalty-free audiovisual media file format.24128active
2  video/x-avi X-AVI VideoThe AVI file format is just a wrapper for many different codecs; it is a source of many interoperability problems.14847active
2  video/x-ms-wmv Windows Media VideoProprietary video format from Microsoft, Inc.24126active


2020-07-03reviseVocabulary WGTed KleinFix technical issue from original import
2020-05-06reviseVocabulary WGTed KleinMigrated to the UTG maintenance environment and publishing tooling.