Skip to content

Instantly share code, notes, and snippets.

@citizenrich
Created April 6, 2022 16:52
Show Gist options
  • Save citizenrich/02c7d8a7ccee15a2d258732bb1a393b9 to your computer and use it in GitHub Desktop.
Save citizenrich/02c7d8a7ccee15a2d258732bb1a393b9 to your computer and use it in GitHub Desktop.
{
"resourceType": "Bundle",
"id": "auto-generated",
"meta":
{
"profile": ["http://datim.org/fhir/StructureDefinition/TX_PVLS_QuestionnaireResponse_Bundle"]
},
"type": "message",
"timestamp": "2019-11-15T12:46:14.912Z",
"entry": [
{
"resource":
{
"resourceType": "QuestionnaireResponse",
"id": "qLkx6H-2019-11-15T12:46:14.912Z-row0",
"status": "completed",
"questionnaire": "http://datim.org/fhir/Questionnaire/PLM-HIV-Questionnaire",
"item": [
{
"linkId": "/Patient",
"text": "Patient ID",
"item": [
{
"linkId": "/Patient/id",
"text": "Patient ID",
"answer":
{
"valueString": "1"
}
},
{
"linkId": "/Patient/birthDate",
"text": "Birth Date",
"answer":
{
"valueDate": "1980-01-01"
}
},
{
"linkId": "/Patient/gender",
"text": "Gender",
"answer":
{
"valueCoding":
{
"code": "female"
}
}
}]
},
{
"linkId": "/Encounter",
"text": "Encounter",
"item": [
{
"linkId": "/Encounter/location",
"text": "Location ID",
"answer":
{
"valueString": "opH1xhrBtVV"
}
}]
},
{
"linkId": "/Observation",
"text": "Practitioner",
"item": [
{
"linkId": "/Observation/performer",
"text": "Practitioner ID",
"answer":
{
"valueString": "medUnit01"
}
},
{
"linkId": "/Observation/date",
"text": "Observation Date",
"answer":
{
"valueDateTime": "2019-01-01"
}
},
{
"linkId": "/Observation/viralLoad",
"text": "Viral Load Count",
"answer":
{
"valueInteger": 100
}
}]
},
{
"linkId": "/MedicationStatement",
"text": "MedicationStatement",
"item": [
{
"linkId": "/MedicationStatement/startDate",
"text": "ART Start Date",
"answer":
{
"valueDateTime": "2010-01-01"
}
}]
}]
}
},
{
"resource":
{
"resourceType": "QuestionnaireResponse",
"id": "qLkx6H-2019-11-15T12:46:14.912Z-row1",
"status": "completed",
"questionnaire": "http://datim.org/fhir/Questionnaire/PLM-HIV-Questionnaire",
"item": [
{
"linkId": "/Patient",
"text": "Patient ID",
"item": [
{
"linkId": "/Patient/id",
"text": "Patient ID",
"answer":
{
"valueString": "2"
}
},
{
"linkId": "/Patient/birthDate",
"text": "Birth Date",
"answer":
{
"valueDate": "1981-01-01"
}
},
{
"linkId": "/Patient/gender",
"text": "Gender",
"answer":
{
"valueCoding":
{
"code": "male"
}
}
}]
},
{
"linkId": "/Encounter",
"text": "Encounter",
"item": [
{
"linkId": "/Encounter/location",
"text": "Location ID",
"answer":
{
"valueString": "opH1xhrBtVV"
}
}]
},
{
"linkId": "/Observation",
"text": "Practitioner",
"item": [
{
"linkId": "/Observation/performer",
"text": "Practitioner ID",
"answer":
{
"valueString": "medUnit01"
}
},
{
"linkId": "/Observation/date",
"text": "Observation Date",
"answer":
{
"valueDateTime": "2019-02-01"
}
},
{
"linkId": "/Observation/viralLoad",
"text": "Viral Load Count",
"answer":
{
"valueInteger": 200
}
}]
},
{
"linkId": "/MedicationStatement",
"text": "MedicationStatement",
"item": [
{
"linkId": "/MedicationStatement/startDate",
"text": "ART Start Date",
"answer":
{
"valueDateTime": "2011-01-01"
}
}]
}]
}
},
{
"resource":
{
"resourceType": "QuestionnaireResponse",
"id": "qLkx6H-2019-11-15T12:46:14.912Z-row2",
"status": "completed",
"questionnaire": "http://datim.org/fhir/Questionnaire/PLM-HIV-Questionnaire",
"item": [
{
"linkId": "/Patient",
"text": "Patient ID",
"item": [
{
"linkId": "/Patient/id",
"text": "Patient ID",
"answer":
{
"valueString": "3"
}
},
{
"linkId": "/Patient/birthDate",
"text": "Birth Date",
"answer":
{
"valueDate": "1982-01-01"
}
},
{
"linkId": "/Patient/gender",
"text": "Gender",
"answer":
{
"valueCoding":
{
"code": "female"
}
}
}]
},
{
"linkId": "/Encounter",
"text": "Encounter",
"item": [
{
"linkId": "/Encounter/location",
"text": "Location ID",
"answer":
{
"valueString": "fAUKhpkOeRp"
}
}]
},
{
"linkId": "/Observation",
"text": "Practitioner",
"item": [
{
"linkId": "/Observation/performer",
"text": "Practitioner ID",
"answer":
{
"valueString": "medUnit02"
}
},
{
"linkId": "/Observation/date",
"text": "Observation Date",
"answer":
{
"valueDateTime": "2019-03-01"
}
},
{
"linkId": "/Observation/viralLoad",
"text": "Viral Load Count",
"answer":
{
"valueInteger": 300
}
}]
},
{
"linkId": "/MedicationStatement",
"text": "MedicationStatement",
"item": [
{
"linkId": "/MedicationStatement/startDate",
"text": "ART Start Date",
"answer":
{
"valueDateTime": "2012-01-01"
}
}]
}]
}
},
{
"resource":
{
"resourceType": "QuestionnaireResponse",
"id": "qLkx6H-2019-11-15T12:46:14.912Z-row3",
"status": "completed",
"questionnaire": "http://datim.org/fhir/Questionnaire/PLM-HIV-Questionnaire",
"item": [
{
"linkId": "/Patient",
"text": "Patient ID",
"item": [
{
"linkId": "/Patient/id",
"text": "Patient ID",
"answer":
{
"valueString": "4"
}
},
{
"linkId": "/Patient/birthDate",
"text": "Birth Date",
"answer":
{
"valueDate": "1943-01-01"
}
},
{
"linkId": "/Patient/gender",
"text": "Gender",
"answer":
{
"valueCoding":
{
"code": "unknown"
}
}
}]
},
{
"linkId": "/Encounter",
"text": "Encounter",
"item": [
{
"linkId": "/Encounter/location",
"text": "Location ID",
"answer":
{
"valueString": "fAUKhpkOeRp"
}
}]
},
{
"linkId": "/Observation",
"text": "Practitioner",
"item": [
{
"linkId": "/Observation/performer",
"text": "Practitioner ID",
"answer":
{
"valueString": "medUnit02"
}
},
{
"linkId": "/Observation/date",
"text": "Observation Date",
"answer":
{
"valueDateTime": "2019-04-01"
}
},
{
"linkId": "/Observation/viralLoad",
"text": "Viral Load Count",
"answer":
{
"valueInteger": 400
}
}]
},
{
"linkId": "/MedicationStatement",
"text": "MedicationStatement",
"item": [
{
"linkId": "/MedicationStatement/startDate",
"text": "ART Start Date",
"answer":
{
"valueDateTime": "2013-01-01"
}
}]
}]
}
},
{
"resource":
{
"resourceType": "QuestionnaireResponse",
"id": "qLkx6H-2019-11-15T12:46:14.912Z-row4",
"status": "completed",
"questionnaire": "http://datim.org/fhir/Questionnaire/PLM-HIV-Questionnaire",
"item": [
{
"linkId": "/Patient",
"text": "Patient ID",
"item": [
{
"linkId": "/Patient/id",
"text": "Patient ID",
"answer":
{
"valueString": "5"
}
},
{
"linkId": "/Patient/birthDate",
"text": "Birth Date",
"answer":
{
"valueDate": "1984-01-01"
}
},
{
"linkId": "/Patient/gender",
"text": "Gender",
"answer":
{
"valueCoding":
{
"code": "female"
}
}
}]
},
{
"linkId": "/Encounter",
"text": "Encounter",
"item": [
{
"linkId": "/Encounter/location",
"text": "Location ID",
"answer":
{
"valueString": "fAUKhpkOeRp"
}
}]
},
{
"linkId": "/Observation",
"text": "Practitioner",
"item": [
{
"linkId": "/Observation/performer",
"text": "Practitioner ID",
"answer":
{
"valueString": "medUnit01"
}
},
{
"linkId": "/Observation/date",
"text": "Observation Date",
"answer":
{
"valueDateTime": "2019-05-01"
}
},
{
"linkId": "/Observation/viralLoad",
"text": "Viral Load Count",
"answer":
{
"valueInteger": 5000
}
}]
},
{
"linkId": "/MedicationStatement",
"text": "MedicationStatement",
"item": [
{
"linkId": "/MedicationStatement/startDate",
"text": "ART Start Date",
"answer":
{
"valueDateTime": "2019-01-01"
}
}]
}]
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment