Show / Hide Table of Contents

Class Substance

A homogeneous material with a definite composition.

Inheritance
System.Object
Resource
DomainResource
Substance
Implements
IFhirJsonSerializable
Inherited Members
DomainResource.Contained
DomainResource.Extension
DomainResource.ModifierExtension
DomainResource.Text
Resource.Id
Resource._Id
Resource.ImplicitRules
Resource._ImplicitRules
Resource.Language
Resource._Language
Resource.Meta
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class Substance : DomainResource, IFhirJsonSerializable

Properties

| Improve this Doc View Source

_Description

Extension container element for Description

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

Category

A code that classifies the general type of substance. This is used for searching, sorting and display purposes.

Declaration
public List<CodeableConcept> Category { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<CodeableConcept>
| Improve this Doc View Source

Code

A code (or set of codes) that identify this substance.

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

Description

A description of the substance - its appearance, handling requirements, and other usage notes.

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

Identifier

Unique identifier for the substance.

Declaration
public List<Identifier> Identifier { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<Identifier>
| Improve this Doc View Source

Ingredient

A substance can be composed of other substances.

Declaration
public List<SubstanceIngredient> Ingredient { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<SubstanceIngredient>
| Improve this Doc View Source

Instance

Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.

Declaration
public List<SubstanceInstance> Instance { get; set; }
Property Value
Type Description
fhirCsR2.Models.List<SubstanceInstance>
| Improve this Doc View Source

ResourceType

Resource Type Name

Declaration
public override string ResourceType { get; }
Property Value
Type Description
System.String
Overrides
Resource.ResourceType

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