Show / Hide Table of Contents

Class Basic

Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification.

Inheritance
System.Object
Resource
DomainResource
Basic
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 Basic : DomainResource, IFhirJsonSerializable

Properties

| Improve this Doc View Source

_Created

Extension container element for Created

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

Author

Needed for partitioning the resource.

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

Code

Must be able to distinguish different types of "basic" resources.

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

Created

Allows ordering resource instances by time.

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

Identifier

Identifier assigned to the resource for business purposes, outside the context of FHIR.

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

ResourceType

Resource Type Name

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

Subject

Needed for partitioning the resource by Patient.

Declaration
public Reference Subject { get; set; }
Property Value
Type Description
Reference

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