Class OperationDefinition
A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).
Implements
Inherited Members
Namespace: fhirCsR2.Models
Assembly: fhirCsR2.dll
Syntax
public class OperationDefinition : DomainResource, IFhirJsonSerializable
Properties
| Improve this Doc View Source_Code
Extension container element for Code
Declaration
public Element _Code { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Date
Extension container element for Date
Declaration
public Element _Date { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Description
Extension container element for Description
Declaration
public Element _Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Experimental
Extension container element for Experimental
Declaration
public Element _Experimental { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Idempotent
Extension container element for Idempotent
Declaration
public Element _Idempotent { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Instance
Extension container element for Instance
Declaration
public Element _Instance { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Kind
Extension container element for Kind
Declaration
public Element _Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Name
Extension container element for Name
Declaration
public Element _Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Notes
Extension container element for Notes
Declaration
public Element _Notes { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Publisher
Extension container element for Publisher
Declaration
public Element _Publisher { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Requirements
Extension container element for Requirements
Declaration
public Element _Requirements { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Status
Extension container element for Status
Declaration
public Element _Status { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_System
Extension container element for System
Declaration
public Element _System { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Type
Extension container element for Type
Declaration
public List<Element> _Type { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<Element> |
_Url
Extension container element for Url
Declaration
public Element _Url { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
_Version
Extension container element for Version
Declaration
public Element _Version { get; set; }
Property Value
| Type | Description |
|---|---|
| Element |
Base
Indicates that this operation definition is a constraining profile on the base.
Declaration
public Reference Base { get; set; }
Property Value
| Type | Description |
|---|---|
| Reference |
Code
The name used to invoke the operation.
Declaration
public string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Contact
Contacts to assist a user in finding and communicating with the publisher.
Declaration
public List<OperationDefinitionContact> Contact { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<OperationDefinitionContact> |
Date
The date this version of the operation definition was published. The date must change when the business version changes, if it does, and it must change if the status code changes. In addition, it should change when the substantive content of the Operation Definition changes.
Declaration
public string Date { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Description
A free text natural language description of the profile and its use.
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Experimental
Allows filtering of profiles that are appropriate for use vs. not.
Declaration
public bool? Experimental { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Idempotent
Operations that are idempotent (see HTTP specification definition of idempotent) may be invoked by performing an HTTP GET operation instead of a POST.
Declaration
public bool? Idempotent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Instance
Indicates whether this operation can be invoked on a particular instance of one of the given types.
Declaration
public bool Instance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Kind
Whether this is an operation or a named query.
Declaration
public string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
A free text natural language name identifying the operation.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Notes
Additional information about how to use this operation or named query.
Declaration
public string Notes { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Parameter
The parameters for the operation/query.
Declaration
public List<OperationDefinitionParameter> Parameter { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<OperationDefinitionParameter> |
Publisher
Helps establish the "authority/credibility" of the operation definition. May also allow for contact.
Declaration
public string Publisher { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Requirements
Explains why this operation definition is needed and why it's been constrained as it has.
Declaration
public string Requirements { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ResourceType
Resource Type Name
Declaration
public override string ResourceType { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
| Improve this Doc View SourceStatus
Allows filtering of profiles that are appropriate for use vs. not.
Declaration
public string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
System
Indicates whether this operation or named query can be invoked at the system level (e.g. without needing to choose a resource type for the context).
Declaration
public bool System { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Type
Indicates whether this operation or named query can be invoked at the resource type level for any given resource type level (e.g. without needing to choose a resource type for the context).
Declaration
public List<string> Type { get; set; }
Property Value
| Type | Description |
|---|---|
| fhirCsR2.Models.List<System.String> |
Url
An absolute URL that is used to identify this operation definition when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this operation definition is (or will be) published.
Declaration
public string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Version
There may be multiple resource versions of the profile that have this same identifier. The resource version id will change for technical reasons, whereas the stated version number needs to be under the author's control.
Declaration
public string Version { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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 |
|---|---|---|
| Utf8JsonReader | reader | |
| JsonSerializerOptions | 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 |
|---|---|---|
| Utf8JsonReader | reader | |
| JsonSerializerOptions | options | |
| System.String | 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 |
|---|---|---|
| Utf8JsonWriter | writer | |
| JsonSerializerOptions | options | |
| System.Boolean | includeStartObject |