Class FhirParameter
A fhir parameter.
Inheritance
Namespace: Microsoft.Health.Fhir.CodeGenCommon.Models
Assembly: Microsoft.Health.Fhir.CodeGenCommon.dll
Syntax
public class FhirParameter : object
Constructors
| Improve this Doc View SourceFhirParameter(String, String, IEnumerable<String>, Int32, Nullable<Int32>, String, String, IEnumerable<String>, IEnumerable<String>, String, Int32)
Initializes a new instance of the Fhir
Declaration
public FhirParameter(string name, string use, IEnumerable<string> scopes, int min, int? max, string documentation, string valueType, IEnumerable<string> allowedSubTypes, IEnumerable<string> targetProfiles, string searchType, int fieldOrder)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name. |
System. |
use | The use. |
IEnumerable<System. |
scopes | |
System. |
min | The minimum value. |
System. |
max | The maximum value. |
System. |
documentation | The documentation. |
System. |
valueType | The type. |
IEnumerable<System. |
allowedSubTypes | Allowed sub-type this parameter can have (if type is abstract). |
IEnumerable<System. |
targetProfiles | Target profiles. |
System. |
searchType | If this is a search parameter, the search type. |
System. |
fieldOrder | The field order. |
FhirParameter(String, String, IEnumerable<String>, Int32, String, String, String, IEnumerable<String>, IEnumerable<String>, String, Int32)
Initializes a new instance of the Fhir
Declaration
public FhirParameter(string name, string use, IEnumerable<string> scopes, int min, string max, string documentation, string valueType, IEnumerable<string> allowedSubTypes, IEnumerable<string> targetProfiles, string searchType, int fieldOrder)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | The name. |
System. |
use | The use. |
IEnumerable<System. |
scopes | The scopes. |
System. |
min | The minimum value. |
System. |
max | The maximum value. |
System. |
documentation | The documentation. |
System. |
valueType | The type. |
IEnumerable<System. |
allowedSubTypes | Allowed sub-type this parameter can have (if type is abstract). |
IEnumerable<System. |
targetProfiles | Target profiles. |
System. |
searchType | If this is a search parameter, the search type. |
System. |
fieldOrder | The field order. |
Properties
| Improve this Doc View SourceAllowedSubTypes
Gets the allowed sub-type this parameter can have (if type is abstract).
Declaration
public IEnumerable<string> AllowedSubTypes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<System. |
Documentation
Gets the documentation.
Declaration
public string Documentation { get; }
Property Value
Type | Description |
---|---|
System. |
The documentation. |
FhirCardinality
Gets the FHIR cardinality string: min..max.
Declaration
public string FhirCardinality { get; }
Property Value
Type | Description |
---|---|
System. |
The FHIR cardinality. |
FieldOrder
Gets the field order.
Declaration
public int FieldOrder { get; }
Property Value
Type | Description |
---|---|
System. |
The field order. |
Max
Gets the maximum.
Declaration
public int? Max { get; }
Property Value
Type | Description |
---|---|
System. |
The maximum value. |
MaxString
Gets the cardinality maximum string.
Declaration
public string MaxString { get; }
Property Value
Type | Description |
---|---|
System. |
The cardinality maximum string. |
Min
Gets the minimum.
Declaration
public int Min { get; }
Property Value
Type | Description |
---|---|
System. |
The minimum value. |
Name
Gets the name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System. |
The name. |
Scopes
Gets the scopes.
Declaration
public IEnumerable<string> Scopes { get; }
Property Value
Type | Description |
---|---|
IEnumerable<System. |
SearchType
Gets the search type, if this is a search parameter.
Declaration
public string SearchType { get; }
Property Value
Type | Description |
---|---|
System. |
TargetProfiles
Gets target profiles.
Declaration
public IEnumerable<string> TargetProfiles { get; }
Property Value
Type | Description |
---|---|
IEnumerable<System. |
Use
Gets the use.
Declaration
public string Use { get; }
Property Value
Type | Description |
---|---|
System. |
The use. |
ValueType
Gets the value type.
Declaration
public string ValueType { get; }
Property Value
Type | Description |
---|---|
System. |
The value type. |
Methods
| Improve this Doc View SourceDeepCopy()
Deep copy.
Declaration
public FhirParameter DeepCopy()
Returns
Type | Description |
---|---|
Fhir |
A FhirParameter. |