Registry / serialization / hapi-fhir-structures-dstu3

hapi-fhir-structures-dstu3

JSON →
library8.8.1javamavenunverified

HAPI FHIR library providing Java model classes for the DSTU3 version of the FHIR specification.

<dependency> <groupId>ca.uhn.hapi.fhir</groupId> <artifactId>hapi-fhir-structures-dstu3</artifactId> <version>8.8.1</version> </dependency>
INSTALL
IMPORT
SIG · HAPI-FHIR-STRUCTUR
H
hapi-fhir-structures-dstu3
serializationjavav8.8.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Patient
✓ org.hl7.fhir.dstu3.model.Patient

Creates a FHIR Patient resource with name and gender.

import org.hl7.fhir.dstu3.model.Patient; import org.hl7.fhir.dstu3.model.Enumerations; public class Example { public static void main(String[] args) { Patient patient = new Patient(); patient.addName().setFamily("Doe").addGiven("John"); patient.setGender(Enumerations.AdministrativeGender.MALE); System.out.println(patient.getNameFirstRep().getNameAsSingleString()); } }
Debug
Known issues
breakingDSTU3 is an older FHIR version; consider migrating to R4 or R5 for newer features.
fix
Use hapi-fhir-structures-r4 or hapi-fhir-structures-r5 instead.
affects: *
Upgrade
Version history
8.8.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
hapi-fhir-structures-dstu3 — mvn dependency:get hapi-fhir-structures-dstu3 · libregistry