Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 1.15 KB

README.md

File metadata and controls

30 lines (27 loc) · 1.15 KB

fhir-kotlin-dsl

Topicus Healthcare Kotlin DSL for FHIR resource construction

Build status Quality gate Coverage

Supported resources

FHIR v4.3.0: R4B

Usage example

val task = task {
    intent = PLAN
    id = TEST_ID
    description = "Nice stuff"
    status = COMPLETED
    owner {
        literalReference = "https://example.org/test/owner/reference"
    }
    basedOn {
        identifier = identifier("https://example.org/test/uuid", "08733627-8a73-4408-add5-912e61030fbd")
    }
    requester {
        literalReference= "https://example.org/test/requester/reference"
    }
}