Create FHIR resource from text and store it
/tools/lang2fhir-and-createConverts natural language to FHIR resource and optionally stores it in a FHIR server
Header parameters
X-Phenoml-On-Behalf-OfstringoptionalOptional header for on-behalf-of authentication. Used when making requests on behalf of another user or entity. Must be in the format: Patient/{uuid} or Practitioner/{uuid}
X-Phenoml-Fhir-ProviderstringoptionalOptional header for FHIR provider authentication. Contains credentials in the format {fhir_provider_id}:{oauth2_token}. Multiple FHIR provider integrations can be provided as comma-separated values.
Body parameters
resourcestringrequiredType of FHIR resource to create. Use 'auto' for automatic resource type detection, or specify a supported US Core profile.
autoappointmentcondition-encounter-diagnosismedicationrequestcareplancondition-problems-health-concernscoverageencounterobservation-clinical-resultobservation-labpatientprocedurequestionnairequestionnaireresponseservicerequestsimple-observationvital-signstextstringrequiredNatural language text to convert to FHIR resource
providerstring (uuid)optionalFHIR provider ID - must be a valid UUID from existing FHIR providers. also supports provider by name (e.g. medplum)
Successfully created FHIR resource
Response fields
fhir_resourceobjectoptionalThe created FHIR resource
fhir_idstringoptionalID of the resource in the FHIR server (if successfully stored)
successbooleanoptionalmessagestringoptionalStatus message