Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 362 Bytes

index.md

File metadata and controls

17 lines (13 loc) · 362 Bytes

fhir_rs: FHIR models in Rust

fhir_rs allows you to work with FHIR data in Rust:

use fhir_rs::{fhir_parse, model};

if let Some(resource_list) = fhir_parse(&json_string) {
  match resource_list.resource() {
    model::ResourceList::ResourceListEnum::ResourcePatient(patient) => {
      println!("Patient: {:?}", patient);
    }
    _ => {}
  }
}