Skip to content

Instantly share code, notes, and snippets.

@NSAmit
Created March 20, 2019 11:57
Show Gist options
  • Save NSAmit/6f9e567bf469f7e28e863ca73a5b68ce to your computer and use it in GitHub Desktop.
Save NSAmit/6f9e567bf469f7e28e863ca73a5b68ce to your computer and use it in GitHub Desktop.
// MARK: Medication
struct DosageInstruction: Codable {
let text:String?
let timing:[String:[String:String?]?]?
}
struct Medication:Codable {
let dateWritten:String
let status: String
let note: String
let id: String
let medicationCodeableConcept: CodeableConcept
let patient:Person
let prescriber:Person
let resourceType:String
let dosageInstruction:[DosageInstruction]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment