Skip to content

Instantly share code, notes, and snippets.

@NSAmit
Created March 20, 2019 11:49
Show Gist options
  • Save NSAmit/c79c4383179979dbd03e4c5eea29f8b4 to your computer and use it in GitHub Desktop.
Save NSAmit/c79c4383179979dbd03e4c5eea29f8b4 to your computer and use it in GitHub Desktop.
// MARK: Allergy
struct Reaction:Codable {
let onset:String?
let manifestation:[[String: String]]
let severity:String
}
struct Allergy: Codable {
let id: String
let resourceType:String
let onset: String?
let patient: Person
let reaction: [Reaction]
let recordedDate: String
let substance: CodeableConcept
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment