Attachment

open class Attachment: Element

Content in a format defined elsewhere.

For referring to data content defined in other formats.

  • Content in a format defined elsewhere.

    For referring to data content defined in other formats.

    Declaration

    Swift

    override open class var resourceType: String
  • Mime type of the content, with charset etc..

    Declaration

    Swift

    public var contentType: FHIRString?
  • Date attachment was first created.

    Declaration

    Swift

    public var creation: DateTime?
  • Data inline, base64ed.

    Declaration

    Swift

    public var data: Base64Binary?
  • Hash of the data (sha-1, base64ed).

    Declaration

    Swift

    public var hash: Base64Binary?
  • Human language of the content (BCP-47).

    Declaration

    Swift

    public var language: FHIRString?
  • Number of bytes of content (if url provided).

    Declaration

    Swift

    public var size: FHIRInteger?
  • Label to display in place of the data.

    Declaration

    Swift

    public var title: FHIRString?
  • url

    Uri where the data can be found.

    Declaration

    Swift

    public var url: FHIRURL?
  • Uri where the data can be found.

    Declaration

    Swift

    override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext)

    Parameters

    json

    The JSON element to use to populate the receiver

    context

    The instantiation context to use

  • Undocumented

    Declaration

    Swift

    open class Attachment: Element