migraf / rs-fhir

Rust SDK for HL7 FHIR

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust SDK for HL7 FHIR

crates.io build

This library is auto generated from HL7 FHIR Definitions

Getting Started

use fhir::models::r4::Patient::PatientGender;

fn main() {
    let mut patient_builder = crate::models::r4::Patient::PatientBuilder::new();
    patient_builder.active(true);
    patient_builder.gender(PatientGender::Male);
    let patient = patient_builder.build();
    println!("{:?}", patient.to_json().as_str());
}

License

Apache License 2.0

Credits

Oliver Clark Rickard

Etienne Prothon

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

About

Rust SDK for HL7 FHIR

License:Apache License 2.0


Languages

Language:Rust 100.0%