Untitled

PATIENT

{
   "resourceType":"Patient",
   "name":[
      {
         "family":"DelNorte",  //Patient's last name
         "given":[
            "Socorro", //Patient's given name, separated per word
            "Maria",
            "Santos" //By default middle name is the last name in the array. 
         ]
      }
   ],
   "telecom":[ //can have multiple entries, with different telecom types (PermanentMobile, CurrentMobile, PermanentPhone, CurrentPhone, PermanentEmail, CurrentEmail)
			// see examples below
      {
         "system":"phone",
         "value":"09507775854",
         "extension":[
            {
               "url":"<http://xcrfg.cvo/fhir/StructureDefinition/telecomType>",
               "valueString":"CurrentMobile"
            }
         ]
      },
      {
         "system":"email",
         "value":"[email protected]",
         "extension":[
            {
               "url":"<http://xcrfg.cvo/fhir/StructureDefinition/telecomType>",
               "valueString":"CurrentEmail"
            }
         ]
      }
   ],
   "gender":"female", //male or female
   "birthDate":"1997-11-12", //YYYY-MM-DD
   "address":[ //can have more than one entry, with different address types(Permanent, Current, Outside Philippines)
			// see examples below
      {
         "line":[ //required to have at least one element
            "Sierra Madre St" 
         ],
         "city":"Mandaluyong City", //required
         "district":"NCR,Second District", //required
         "state":"NCR", //required
         "extension":[
            {
               "url":"<http://xcrfg.cvo/fhir/StructureDefinition/addressType>",
               "valueString":"Permanent" //required
            },
            {
               "url":"<http://xcrfg.cvo/fhir/StructureDefinition/Barangay>",
               "valueString":"Anunas" //required
            },
            {
               "url":"<http://xcrfg.cvo/fhir/StructureDefinition/PSGC>",
               "valueInteger":141102040//required, integer, see link on PSGC Coding Rules above
            },
            {
               "url":"<http://hl7.org/fhir/StructureDefinition/geolocation>",
               "extension":[
                  {
                     "url":"latitude",
                     "valueDecimal":100.1 //required
                  },
                  {
                     "url":"longitude",
                     "valueDecimal":100.1 //required
                  }
               ]
            }
         ]
      }
   ],
   "identifier": [
    {
      "use": "official",
      "type": {
        "coding": [
          {
            "code": "PHIC"
          }
        ]
      },
      "value": "12345", //this will be the value of the Philhealth number
      "assigner": {
        "display": "Philhealth"
      }
    }
  ]
}

TRAVEL HISTORY

{
  "resourceType": "QuestionnaireResponse",
  "id": "Questionnaire/QTravelExposureHistory",
  "subject": {
    "reference": "Patient/pfc1c83k" //Patient's COVID Kaya ID
  },
  "contained": [ //no need to edit this. Contains mappings to codes and values for certain types of questionnaire responses
    {
      "resourceType": "ValueSet",
      "id": "yesno",
      "compose": {
        "include": [
          {
            "concept": [
              {
                "code": "01",
                "display": "Yes"
              }
            ]
          },
          {
            "concept": [
              {
                "code": "02",
                "display": "No"
              }
            ]
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "yesnounknown",
      "compose": {
        "include": [
          {
            "concept": [
              {
                "code": "01",
                "display": "Yes"
              }
            ]
          },
          {
            "concept": [
              {
                "code": "02",
                "display": "No"
              }
            ]
          },
          {
            "concept": [
              {
                "code": "03",
                "display": "Unknown"
              }
            ]
          }
        ]
      }
    }
  ],
  "name": "Travel & Exposure History",
  "item": [ //only need to modify answer element, all other fields pertain to the questions.
    {
      "linkId": "1",
      "definition": "<http://loinc.org/rdf#54126-8>",
      "text": "Travel and Exposure History",
      "type": "group",
      "required": true,
      "item": [
        {
          "linkId": "2.0",
          "text": "CIF Other",
          "type": "group",
          "item": [
            {
              "linkId": "2.0.1",
              "text": "Disease Reporting Unit/Hospital",
              "type": "string",
              "answer": [
                {
                  "valueString": "Central New Hospital" //Disease Reporting Unit/Hospital
                }
              ]
            },
            {
              "linkId": "2.0.4",
              "text": "History of travel/visit/work in other countries with a known COVID-19 transmission 14 days before the onset of your signs and symptoms",
              "type": "choice",
              "options": {
                "reference": "#yesno"
              },
              "answer": [
                {
                  "valueString": "01" //History of travel/visit/work in other countries with a known COVID-19 transmission 14 days before the onset of your signs and symptoms? 01 for Yes, 02 for No 
                }
              ]
            },
            {
              "linkId": "2.0.5",
              "text": "History of Exposure to Known COVID-19 Case 14 days before the onset of signs and symptoms",
              "type": "choice",
              "options": {
                "reference": "#yesnounknown" 
              },
              "answer": [
                {
                  "valueString": "01" //History of Exposure to Known COVID-19 Case 14 days before the onset of signs and symptoms. 01 for yes, 02 for no, 03 for unknown
                }
              ]
            },
            {
            "linkId": "2.0.5",
              "text": "Have you been in a place with a known COVID-19 transmission 14 days before the onset of signs and symptoms:",
              "type": "choice",
              "options": {
                "reference": "#yesnounknown"
              },
              "answer": [
                {
                  "valueString": "01" //Have you been in a place with a known COVID-19 transmission 14 days before the onset of signs and symptoms? 01 for yes, 02 for no, 03 for unknown
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

TREATMENT

{
  "resourceType": "QuestionnaireResponse",
  "id": "Questionnaire/QTreatment",
  "subject": {
    "reference": "Patient/pfc1c83k" //Patient's COVID Kaya ID
  },
  "contained": [ //no need to edit this. Contains mappings to codes and values for certain types of questionnaire responses
    {
      "resourceType": "ValueSet",
      "id": "statusType",
      "compose": {
        "include": [
          {
            "concept": [
              {
                "code": "01",
                "display": "Asymptomatic"
              }
            ]
          },
          {
            "concept": [
              {
                "code": "02",
                "display": "Mild"
              }
            ]
          },
          {
            "concept": [
              {
                "code": "03",
                "display": "Severe"
              }
            ]
          },
          {
            "concept": [
              {
                "code": "04",
                "display": "Critical"
              }
            ]
          },
          {
            "concept": [
              {
                "code": "05",
                "display": "Recovered"
              }
            ]
          },
          {
            "concept": [
              {
                "code": "06",
                "display": "Died"
              }
            ]
          }
        ]
      }
    },   
  ],
  "name": "Treatment",
   "item": [
    {
      "linkId": "1",
      "text": "STATUS",
      "type": "choice",
      "options": {
        "reference": "#statusType"
      },              
      "answer": [
        {
          "valueString": "01" //Status Type. Choose from 01 for Asymptomatic, 02 for Mild, 03 for Severe, 04 for Critical, 05 for Recovered, 06 for Died
        }
      ]
    },
    {
      "linkId": "5",
      "text": "DATE OF ADMISSION",
      "type": "date",
      "answer": [
        {
          "valueDate": "2020-05-05" //Date of admission
        }
      ]
    },
    {
      "linkId": "6",
      "text": "REGION",
      "type": "string",
      "answer": [
        {
          "valueString": "CAR" //Region
        }
      ]            
    },
    {
      "linkId": "7",
      "text": "PROVINCE",
      "type": "string",
      "answer": [
        {
          "valueString": "Apayao" //Province
        }
      ]
    },
    {
      "linkId": "8",
      "text": "CITY",
      "type": "string",
      "answer": [
        {
          "valueString": "Luna" //City
        }
      ]
    },
    {
      "linkId": "9",
      "text": "FACILITY",
      "type": "string",
      "answer": [
        {
          "valueString": "FAR NORTH LUZON GENERAL HOSPITAL & TRAINING CENTER" //Facility
        }
      ]
    },
    {
      "linkId": "14",
      "text": "PLACE OF QUARANTINE",
      "type": "string",
      "options": {
        "reference": "#placeQuarantine"
      },
      "answer": [
        {
          "valueString": "01" //Place of quarantine. Choose from 01 for Home, 02 for Quarantine Facility, 03 for Non-Quarantine Health Facility
        }
      ]
    }
  ]
}

CLINICAL INFORMATION

{
   "resourceType":"Bundle",
   "entry":[
      {
         "resource":{     
         "resourceType":"QuestionnaireResponse",
         "id": "Questionnaire/QClinicalInformation",
         "subject": {
             "reference": "Patient/pfc1c83k" //Patient's COVID Kaya ID
         },
         "name":"Clinical Information",
         "item":[
            {
               "linkId":"CI01",
               "text":"Date of Onset of Illness",
               "type":"date",
                "answer": [
                  {
                    "valueDate": "2008-01-17" //Date of Onset of Illness
                  }
               ]
            }
         ]
         }
      }
   ]
}

OUTCOME

{
      "resourceType":"QuestionnaireResponse",
       "id":"Questionnaire/QOutcome",      
         "subject": {
             "reference": "Patient/pfc1c83k" //Patient's COVID Kaya ID
          },
      "contained":[ //no need to edit this. Contains mappings to codes and values for certain types of questionnaire responses
         {
            "resourceType":"ValueSet",
            "id":"outcomeOptions",
            "compose":{
               "include":[
                  {
                     "concept":[
                        {
                           "code":"01",
                           "display":"Improving"
                        }
                     ]
                  },
                  {
                     "concept":[
                        {
                           "code":"02",
                           "display":"Recovered"
                        }
                     ]
                  },
                  {
                     "concept":[
                        {
                           "code":"03",
                           "display":"Transferred"
                        }
                     ]
                  },
                  {
                     "concept":[
                        {
                           "code":"04",
                           "display":"Lost to follow-up"
                        }
                     ]
                  },
                  {
                     "concept":[
                        {
                           "code":"05",
                           "display":"Died"
                        }
                     ]
                  }
               ]
            }
         }
      ],
      "name":"Outcome",
      "item":[
         {
            "linkId":"1",
            "text":"Outcome",
            "type":"choice",
            "required":true,
            "options":{
               "reference":"#outcomeOptions"
            },
            "answer": [
               {
                 "valueString": "01" //Code for outcome. Choose from 01 for Improving, 02 for Recovered, 03 for Transferred, 04 for Lost to follow-up, 05 for Died
               }
            ]
         },
         {
            "linkId":"2",
            "text":"Date of Discharge",
            "type":"date",
            "answer": [
               {
                 "valueDate": "2008-01-17" //Date of Discharge
               }
            ]
         },
         {
            "linkId":"3",
            "text":"Date of death",
            "type":"date",
            "answer": [
               {
                 "valueDate": "2008-01-17" //Date of death
               }
            ]
         },
         {
            "linkId":"5",
            "text":"Cause of death",
            "type":"string",
            "answer": [
               {
                 "valueString": "Breathlessness" //Cause of death
               }
            ]
         },
         {
            "linkId":"6",
            "text":"Date Recovered",
            "type":"date",
            "answer": [
               {
                 "valueDate": "2008-01-17" //Date Recovered
               }
            ]
         }
      ]
}

SPECIMEN INFORMATION