Show / Hide Table of Contents

Class Attachment

For referring to data content defined in other formats.

Inheritance
System.Object
Element
Attachment
Implements
IFhirJsonSerializable
Inherited Members
Element.Extension
Element.Fhir_comments
Element._Fhir_comments
Element.Id
Element._Id
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class Attachment : Element, IFhirJsonSerializable

Properties

| Improve this Doc View Source

_ContentType

Extension container element for ContentType

Declaration
public Element _ContentType { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Creation

Extension container element for Creation

Declaration
public Element _Creation { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Language

Extension container element for Language

Declaration
public Element _Language { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Title

Extension container element for Title

Declaration
public Element _Title { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

_Url

Extension container element for Url

Declaration
public Element _Url { get; set; }
Property Value
Type Description
Element
| Improve this Doc View Source

ContentType

Processors of the data need to be able to know how to interpret the data.

Declaration
public string ContentType { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Creation

This is often tracked as an integrity issue for use of the attachment.

Declaration
public string Creation { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Data

The data needs to able to be transmitted inline.

Declaration
public byte[] Data { get; set; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

Hash

Included so that applications can verify that the contents of a location have not changed and so that a signature of the content can implicitly sign the content of an image without having to include the data in the instance or reference the url in the signature.

Declaration
public byte[] Hash { get; set; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

Language

Users need to be able to choose between the languages in a set of attachments.

Declaration
public string Language { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Size

Representing the size allows applications to determine whether they should fetch the content automatically in advance, or refuse to fetch it at all.

Declaration
public uint? Size { get; set; }
Property Value
Type Description
System.Nullable<System.UInt32>
| Improve this Doc View Source

Title

Applications need a label to display to a human user in place of the actual data if the data cannot be rendered or perceived by the viewer.

Declaration
public string Title { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Url

The data needs to be transmitted by reference.

Declaration
public string Url { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

DeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)

Deserialize a JSON object

Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
| Improve this Doc View Source

DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)

Deserialize a JSON property

Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
Type Name Description
Utf8JsonReader reader
JsonSerializerOptions options
System.String propertyName
| Improve this Doc View Source

SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)

Serialize to a JSON object

Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
Type Name Description
Utf8JsonWriter writer
JsonSerializerOptions options
System.Boolean includeStartObject

Implements

IFhirJsonSerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX