PHP Interface Services\FhirCompatible

Show file Open project: openeyes/openeyes

Public Methods

Method Description
fromFhir ( mixed $fhirObject ) : services\FhirCompatible Convert the given FHIR object into an instance of this class.
toFhir ( ) : StdClass Convert this object to FHIR format.

Method Details

fromFhir() public static method

Convert the given FHIR object into an instance of this class.
public static fromFhir ( mixed $fhirObject ) : services\FhirCompatible
$fhirObject mixed
return services\FhirCompatible

toFhir() public method

Convert this object to FHIR format.
public toFhir ( ) : StdClass
return StdClass