Show / Hide Table of Contents

Class DomainResource

A resource that includes narrative, extensions, and contained resources.

Inheritance
System.Object
Resource
DomainResource
Account
AllergyIntolerance
Appointment
AppointmentResponse
AuditEvent
Basic
BodySite
CarePlan
Claim
ClaimResponse
ClinicalImpression
Communication
CommunicationRequest
Composition
ConceptMap
Condition
Conformance
Contract
Coverage
DataElement
DetectedIssue
Device
DeviceComponent
DeviceMetric
DeviceUseRequest
DeviceUseStatement
DiagnosticOrder
DiagnosticReport
DocumentManifest
DocumentReference
EligibilityRequest
EligibilityResponse
Encounter
EnrollmentRequest
EnrollmentResponse
EpisodeOfCare
ExplanationOfBenefit
FamilyMemberHistory
Flag
Goal
Group
HealthcareService
ImagingObjectSelection
ImagingStudy
Immunization
ImmunizationRecommendation
ImplementationGuide
List
Location
Media
Medication
MedicationAdministration
MedicationDispense
MedicationOrder
MedicationStatement
MessageHeader
NamingSystem
NutritionOrder
Observation
OperationDefinition
OperationOutcome
Order
OrderResponse
Organization
Patient
PaymentNotice
PaymentReconciliation
Person
Practitioner
Procedure
ProcedureRequest
ProcessRequest
ProcessResponse
Provenance
Questionnaire
QuestionnaireResponse
ReferralRequest
RelatedPerson
RiskAssessment
Schedule
SearchParameter
Slot
Specimen
StructureDefinition
Subscription
Substance
SupplyDelivery
SupplyRequest
TestScript
ValueSet
VisionPrescription
Implements
IFhirJsonSerializable
Inherited Members
Resource.ResourceType
Resource.Id
Resource._Id
Resource.ImplicitRules
Resource._ImplicitRules
Resource.Language
Resource._Language
Resource.Meta
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class DomainResource : Resource, IFhirJsonSerializable

Properties

| Improve this Doc View Source

Contained

These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

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

Extension

May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

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

ModifierExtension

May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

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

Text

A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

Declaration
public Narrative Text { get; set; }
Property Value
Type Description
Narrative

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