"status": "inactive"
"category": {
"text": "admin",
"coding": [
{
"code": "admin",
"system": "http://example.org/local",
"display": "Admin"
}
]
}
"code": {
"text": "Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures",
"coding": [
{
"code": "bigdog",
"system": "http://example.org/local",
"display": "Big dog"
}
]
}
"author": {
"display": "Nancy Nurse",
"reference": "Practitioner/example"
}
"period": {
"start": "2015-01-17",
"end": "2016-12-01"
}
"identifier": [
{
"value": "12345"
}
]
"encounter":
"subject": {
"display": "Peter Patient",
"reference": "Patient/example"
}
{
"status": "inactive",
"category": {
"text": "admin",
"coding": [
{
"code": "admin",
"system": "http://example.org/local",
"display": "Admin"
}
]
},
"code": {
"text": "Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures",
"coding": [
{
"code": "bigdog",
"system": "http://example.org/local",
"display": "Big dog"
}
]
},
"author": {
"display": "Nancy Nurse",
"reference": "Practitioner/example"
},
"resourceType": "Flag",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Large Dog warning for Peter Patient</div>"
},
"period": {
"start": "2015-01-17",
"end": "2016-12-01"
},
"identifier": [
{
"value": "12345"
}
],
"id": "example",
"subject": {
"display": "Peter Patient",
"reference": "Patient/example"
}
}
{
"resourceType" : "Flag",
// from Resource: id, meta, implicitRules, and language
// from DomainResource: text, contained, extension, and modifierExtension
"identifier" : [{ Identifier }], // Business identifier
"status" : "<code>", // R! active | inactive | entered-in-error
"category" : { CodeableConcept }, // Clinical, administrative, etc.
"code" : { CodeableConcept }, // R! Coded or textual message to display to user
"subject" : { Reference(Patient|Location|Group|Organization|Practitioner|
PlanDefinition|Medication|Procedure) }, // R! Who/What is flag about?
"period" : { Period }, // Time period when flag is active
"encounter" : { Reference(Encounter) }, // Alert relevant during encounter
"author" : { Reference(Device|Organization|Patient|Practitioner) } // Flag creator
}
The following search parameters can be used to query Flag resources. Just submit them like so:
https://api.1up.health/fhir/stu3/Flag?query-param=queryvalue
Search Parameter | Field Type | Resource Fields Searched |
---|---|---|
author | reference | author |
date | date | period |
encounter | reference | encounter |
identifier | text | identifier |
patient | reference | subject |
subject | reference | subject |