Document toolboxDocument toolbox

Z1.4.3 | BgZ: FHIR examples

1. Notification Task

1.1. New Notification Task

{  "resourceType": "Task",  "groupIdentifier": {    "system": "http://example.com/fhir/NamingSystem/identifier",    "value": "urn:uuid:484639e6-e647-464c-8722-6e8a73cda4e0"  },  "identifier": {    "system": "http://example.com/fhir/NamingSystem/identifier",    "value": "urn:uuid:6128cfe7-0e89-4d37-ba90-e4ca3b3fcbbe"  },  "status": "requested",  "intent": "proposal",  "code": {    "coding": [      {        "system": "http://fhir.nl/fhir/NamingSystem/TaskCode",        "code": "pull-notification"      }    ]  },  "restriction": {    "period": {      "end": "2023-10-14T15:36:05+02:00"    }  },  "for": {    "identifier": {      "system": "http://fhir.nl/fhir/NamingSystem/bsn",      "value": "172642863"    }  },  "authoredOn": "2023-04-13T15:01:54+02:00",  "requester": {    "agent": {      "identifier": {        "system": "http://example.com/fhir/NamingSystem/dummy",        "value": "sending-ehr-system-id"      }    },    "onBehalfOf": {      "identifier": {        "system": "http://example.com/fhir/NamingSystem/dummy",        "value": "sending-organization-id"      }    }  },  "owner": {    "identifier": {      "system": "http://example.com/fhir/NamingSystem/dummy",      "value": "receiving-organization-id"    }  },  "input": [    {      "type": {        "coding": [          {            "system": "http://fhir.nl/fhir/NamingSystem/TaskParameter",            "code": "authorization-base"          }        ]      },      "valueString": "ZGFhNDFjY2MtZGFmMi00YjZkLThiNDYtN2JlZDk1MWEyYzk2"    },    {      "type": {        "coding": [          {            "system": "http://fhir.nl/fhir/NamingSystem/TaskParameter",            "code": "read-resource",            "display": "Laboratory test"          }        ]      },      "valueReference": {        "reference": "Observation/123456"      }    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "77599-9",            "display": "Additional documentation"          }        ]      },      "valueString": "DocumentReference?status=current"    }  ] }

1.2. Cancel Notification Task

{  "resourceType": "Task",  "identifier": {    "system": "http://example.com/fhir/NamingSystem/identifier",    "value": "urn:uuid:6128cfe7-0e89-4d37-ba90-e4ca3b3fcbbe"  },  "status": "cancelled",  "intent": "proposal" }

New Notification Task for BgZ including Additional documentation

{  "resourceType": "Task",  "groupIdentifier": {    "system": "http://example.com/fhir/NamingSystem/identifier",    "value": "urn:uuid:484639e6-e647-464c-8722-6e8a73cda4e0"  },  "identifier": {    "system": "http://example.com/fhir/NamingSystem/identifier",    "value": "urn:uuid:6128cfe7-0e89-4d37-ba90-e4ca3b3fcbbe"  },  "status": "requested",  "intent": "proposal",  "code": {    "coding": [      {        "system": "http://fhir.nl/fhir/NamingSystem/TaskCode",        "code": "pull-notification"      }    ]  },  "restriction": {    "period": {      "end": "2023-10-14T15:36:05+02:00"    }  },  "for": {    "identifier": {      "system": "http://fhir.nl/fhir/NamingSystem/bsn",      "value": "172642863"    }  },  "authoredOn": "2023-04-13T15:01:54+02:00",  "requester": {    "agent": {      "identifier": {        "system": "http://example.com/fhir/NamingSystem/dummy",        "value": "sending-ehr-system-id"      }    },    "onBehalfOf": {      "identifier": {        "system": "http://example.com/fhir/NamingSystem/dummy",        "value": "sending-organization-id"      }    }  },  "owner": {    "identifier": {      "system": "http://example.com/fhir/NamingSystem/dummy",      "value": "receiving-organization-id"    }  },  "input": [    {      "type": {        "coding": [          {            "system": "http://fhir.nl/fhir/NamingSystem/TaskCode",            "code": "authorization-base"          }        ]      },      "value": "ZGFhNDFjY2MtZGFmMi00YjZkLThiNDYtN2JlZDk1MWEyYzk2"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "79191-3",            "display": "Patient demographics panel"          }        ]      },      "valueString": "Patient?_include=Patient:general-practitioner"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "48768-6",            "display": "Payment sources Document"          }        ]      },      "valueString": "Coverage?_include=Coverage:payor:Organization&_include=Coverage:payor:Patient"    },    {      "type": {        "coding": [          {            "system": "http://snomed.info/sct",            "code": "11291000146105",            "display": "Treatment instructions"          }        ]      },      "valueString": "Consent?category=http://snomed.info/sct|11291000146105"    },    {      "type": {        "coding": [          {            "system": "http://snomed.info/sct",            "code": "11341000146107",            "display": "Living will and advance directive record"          }        ]      },      "valueString": "Consent?category=http://snomed.info/sct|11341000146107"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "47420-5",            "display": "Functional status assessment note"          }        ]      },      "valueString": "Observation/$lastn?category=http://snomed.info/sct|118228005, "    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "11450-4",            "display": "Problem list - Reported"          }        ]      },      "valueString": "Condition"    },    {      "type": {        "coding": [          {            "system": "http://snomed.info/sct",            "code": "365508006",            "display": "Residence and accommodation circumstances - finding"          }        ]      },      "valueString": "Observation/$lastn?code=http://snomed.info/sct|365508006"    },    {      "type": {        "coding": [          {            "system": "http://snomed.info/sct",            "code": "228366006",            "display": "Finding relating to drug misuse behavior"          }        ]      },      "valueString": "Observation?code=http://snomed.info/sct|228366006"    },    {      "type": {        "coding": [          {            "system": "http://snomed.info/sct",            "code": "228273003",            "display": "Finding relating to alcohol drinking behavior"          }        ]      },      "valueString": "Observation?code=http://snomed.info/sct|228273003"    },    {      "type": {        "coding": [          {            "system": "http://snomed.info/sct",            "code": "365980008",            "display": "Tobacco use and exposure - finding"          }        ]      },      "valueString": "Observation?code=http://snomed.info/sct|365980008"    },    {      "type": {        "coding": [          {            "system": "http://snomed.info/sct",            "code": "11816003",            "display": "Diet education"          }        ]      },      "valueString": "NutritionOrder"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "75310-3",            "display": "Health concerns Document"          }        ]      },      "valueString": "Flag"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "48765-2",            "display": "Allergies and adverse reactions Document"          }        ]      },      "valueString": "AllergyIntolerance"    },    {      "type": {        "coding": [          {            "system": "http://snomed.info/sct",            "code": "422979000",            "display": "Known medication use"          }        ]      },      "valueString": "MedicationStatement?category=urn:oid:2.16.840.1.113883.2.4.3.11.60.20.77.5.3|6&_include=MedicationStatement:medication"    },    {      "type": {        "coding": [          {            "system": "http://snomed.info/sct",            "code": "16076005",            "display": "Known medication agreements"          }        ]      },      "valueString": "MedicationRequest?category=http://snomed.info/sct|16076005&_include=MedicationRequest:medication"    },    {      "type": {        "coding": [          {            "system": "http://snomed.info/sct",            "code": "422037009",            "display": "Known administration agreements"          }        ]      },      "valueString": "MedicationDispense?category=http://snomed.info/sct|422037009&_include=MedicationDispense:medication"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "46264-8",            "display": "Known medical aids"          }        ]      },      "valueString": "DeviceUseStatement?_include=DeviceUseStatement:device"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "11369-6",            "display": "History of Immunization Narrative"          }        ]      },      "valueString": "Immunization?status=completed"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "85354-9",            "display": "Blood pressure"          }        ]      },      "valueString": "Observation/$lastn?code=http://loinc.org|85354-9"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "29463-7",            "display": "Body weight"          }        ]      },      "valueString": "Observation/$lastn?code=http://loinc.org|29463-7"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "8302-2",            "display": "Body height"          }        ]      },      "valueString": "Observation/$lastn?code=http://loinc.org|8302-2,http://loinc.org|8306-3,http://loinc.org|8308-9"    },    {      "type": {        "coding": [          {            "system": "http://snomed.info/sct",            "code": "15220000",            "display": "Laboratory test"          }        ]      },      "valueString": "Observation/$lastn?category=http://snomed.info/sct|275711006&_include=Observation:related-target&_include=Observation:specimen"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "47519-4",            "display": "History of Procedures"          }        ]      },      "valueString": "Procedure?category=http://snomed.info/sct|387713003"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "46240-8",            "display": "History of Hospitalizations+Outpatient visits Narrative"          }        ]      },      "valueString": "Encounter?class=http://hl7.org/fhir/v3/ActCode|IMP,http://hl7.org/fhir/v3/ActCode|ACUTE,http://hl7.org/fhir/v3/ActCode|NONAC"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "18776-5",            "display": "Plan of care note"          }        ]      },      "valueString": "ProcedureRequest?status=active"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "18776-5",            "display": "Plan of care note"          }        ]      },      "valueString": "ImmunizationRecommendation"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "18776-5",            "display": "Plan of care note"          }        ]      },      "valueString": "DeviceRequest?status=active&_include=DeviceRequest:device"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "18776-5",            "display": "Plan of care note"          }        ]      },      "valueString": "Appointment?status=booked,pending,proposed"    },    {      "type": {        "coding": [          {            "system": "http://loinc.org",            "code": "77599-9",            "display": "Additional documentation"          }        ]      },      "valueString": "DocumentReference?status=current"    }  ] }