{

"resourceType": "Flag",
"id": "example",
"identifier": [
  {
    "value": "12345"
  }
],
"status": "inactive",
"category": [
  {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/flag-category",
        "code": "safety",
        "display": "Safety"
      }
    ],
    "text": "Safety"
  }
],
"code": {
  "coding": [
    {
      "system": "http://example.org/local",
      "code": "bigdog",
      "display": "Big dog"
    }
  ],
  "text": "Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures"
},
"subject": {
  "reference": "Patient/example",
  "display": "Peter Patient"
},
"period": {
  "start": "2015-01-17",
  "end": "2016-12-01"
},
"author": {
  "reference": "Practitioner/example",
  "display": "Nancy Nurse"
},
"meta": {
  "tag": [
    {
      "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code": "HTEST",
      "display": "test health data"
    }
  ]
}

}