FhirResource.Builder.SetType(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the FHIR resource type.
[Android.Runtime.Register("setType", "(I)Landroid/health/connect/datatypes/FhirResource$Builder;", "", ApiSince=36)]
public Android.Health.Connect.DataTypes.FhirResource.Builder SetType(int type);
[<Android.Runtime.Register("setType", "(I)Landroid/health/connect/datatypes/FhirResource$Builder;", "", ApiSince=36)>]
member this.SetType : int -> Android.Health.Connect.DataTypes.FhirResource.Builder
Parameters
- type
- Int32
Value is one of the following: FhirResource.FHIR_RESOURCE_TYPE_IMMUNIZATION FhirResource.FHIR_RESOURCE_TYPE_ALLERGY_INTOLERANCE FhirResource.FHIR_RESOURCE_TYPE_OBSERVATION FhirResource.FHIR_RESOURCE_TYPE_CONDITION FhirResource.FHIR_RESOURCE_TYPE_PROCEDURE FhirResource.FHIR_RESOURCE_TYPE_MEDICATION FhirResource.FHIR_RESOURCE_TYPE_MEDICATION_REQUEST FhirResource.FHIR_RESOURCE_TYPE_MEDICATION_STATEMENT FhirResource.FHIR_RESOURCE_TYPE_PATIENT FhirResource.FHIR_RESOURCE_TYPE_PRACTITIONER FhirResource.FHIR_RESOURCE_TYPE_PRACTITIONER_ROLE FhirResource.FHIR_RESOURCE_TYPE_ENCOUNTER FhirResource.FHIR_RESOURCE_TYPE_LOCATION FhirResource.FHIR_RESOURCE_TYPE_ORGANIZATION
Returns
- Attributes
Remarks
Sets the FHIR resource type. This is extracted from the "resourceType" field in data.
Android reference for android.health.connect.datatypes.FhirResource.Builder.setType.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.