Created
March 20, 2019 11:56
-
-
Save NSAmit/cbd0c9a237aa8d85b0686043df4c5e9f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MARK: LabResult | |
struct ReferenceRange:Codable { | |
let low:ValueQuantity | |
let high:ValueQuantity | |
let text:String | |
} | |
struct ValueQuantity:Codable { | |
let code:String | |
let system:String | |
let value:Double | |
let unit:String | |
} | |
struct LabResult:Codable { | |
let id: String | |
let resourceType:String | |
let category:CodeableConcept | |
let issued:String | |
let status:String | |
let code:CodeableConcept | |
let referenceRange:[ReferenceRange] | |
let valueQuantity:ValueQuantity | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment