Language

FhirResource.Type Property

Definition

Returns the FHIR resource type.

public Android.Health.Connect.DataTypes.FhirResourceType Type { [Android.Runtime.Register("getType", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getType", "()I", "", ApiSince=36)>]
member this.Type : Android.Health.Connect.DataTypes.FhirResourceType

Property Value

Value is one of the following: FHIR_RESOURCE_TYPE_IMMUNIZATION FHIR_RESOURCE_TYPE_ALLERGY_INTOLERANCE FHIR_RESOURCE_TYPE_OBSERVATION FHIR_RESOURCE_TYPE_CONDITION FHIR_RESOURCE_TYPE_PROCEDURE FHIR_RESOURCE_TYPE_MEDICATION FHIR_RESOURCE_TYPE_MEDICATION_REQUEST FHIR_RESOURCE_TYPE_MEDICATION_STATEMENT FHIR_RESOURCE_TYPE_PATIENT FHIR_RESOURCE_TYPE_PRACTITIONER FHIR_RESOURCE_TYPE_PRACTITIONER_ROLE FHIR_RESOURCE_TYPE_ENCOUNTER FHIR_RESOURCE_TYPE_LOCATION FHIR_RESOURCE_TYPE_ORGANIZATION

Attributes

Remarks

Returns the FHIR resource type. This is extracted from the "resourceType" field in #getData.

The list of supported types is a subset of the resource list on the official FHIR website. For a list of supported types, see the FhirResource constants, such as #FHIR_RESOURCE_TYPE_IMMUNIZATION. Clients should be aware that this list is non exhaustive and may increase in future releases when additional types will need to be handled.

Java documentation for android.health.connect.datatypes.FhirResource.getType().

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.

Applies to