Class Attachment
For referring to data content defined in other formats.
Implements
Inherited Members
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 |
_Creation
Extension container element for Creation
Declaration
public Element _Creation { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Language
Extension container element for Language
Declaration
public Element _Language { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Title
Extension container element for Title
Declaration
public Element _Title { get; set; }
Property Value
Type | Description |
---|---|
Element |
_Url
Extension container element for Url
Declaration
public Element _Url { get; set; }
Property Value
Type | Description |
---|---|
Element |
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. |
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. |
Data
The data needs to able to be transmitted inline.
Declaration
public byte[] Data { get; set; }
Property Value
Type | Description |
---|---|
System. |
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. |
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. |
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. |
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. |
Url
The data needs to be transmitted by reference.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
| Improve this Doc View SourceDeserializeJson(ref Utf8JsonReader, JsonSerializerOptions)
Deserialize a JSON object
Declaration
public void DeserializeJson(ref Utf8JsonReader reader, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
reader | |
Json |
options |
DeserializeJsonProperty(ref Utf8JsonReader, JsonSerializerOptions, String)
Deserialize a JSON property
Declaration
public void DeserializeJsonProperty(ref Utf8JsonReader reader, JsonSerializerOptions options, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
reader | |
Json |
options | |
System. |
propertyName |
SerializeJson(Utf8JsonWriter, JsonSerializerOptions, Boolean)
Serialize to a JSON object
Declaration
public void SerializeJson(Utf8JsonWriter writer, JsonSerializerOptions options, bool includeStartObject = true)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
writer | |
Json |
options | |
System. |
includeStartObject |