2nd DSTU Draft For Comment

This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4B R4 R3 R2

Extension Type of attachment - Definition

URL for this extension:

http://hl7.org/fhir/ExtensionDefinition/mimeType

Status: draft

Identifies the kind(s) of attacj,emt allowed to be sent for an element.

HL7 FHIR project

usage info: todo

Extension Content

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/mimeType
Type of attachment: Identifies the kind(s) of attacj,emt allowed to be sent for an element.
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition
..valueCode 0..*codeType of attachment
Binding: MimeType (extensible)
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition

XML Template

<!-- Type of attachment -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/ExtensionDefinition/mimeType" >
 <!-- from Element: extension -->
 <valueCode value="[code]"/>
</extension>

JSON Template

// extension added to existing objectdoco

  "http://hl7.org/fhir/ExtensionDefinition/mimeType" : { // Type of attachment
    "valueCode" : ["<code>"] //Type of attachment
  }

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extensionExtensionURL = http://hl7.org/fhir/ExtensionDefinition/mimeType
Type of attachment: Identifies the kind(s) of attacj,emt allowed to be sent for an element.
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition
..valueCode 0..*codeType of attachment
Binding: MimeType (extensible)
Use on element: DataElement, Questionnaire.group.question, Profile.structure.element.definition

XML Template

<!-- Type of attachment -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/ExtensionDefinition/mimeType" >
 <!-- from Element: extension -->
 <valueCode value="[code]"/>
</extension>

JSON Template

to do

 

Terminology Bindings

PathDefinitionTypeReference
http://hl7.org/fhir/ExtensionDefinition/mimeType The mime type of an attachmentFixedBCP 13 (RFCs 2045, 2046, 2047, 4288, 4289 and 2049)