{
  "resourceType" : "Bundle",
  "id" : "ex13",
  "meta" : {
    "profile" : ["https://www.ehealth.fgov.be/standards/fhir/mycarenet/StructureDefinition/be-eagreementconsultreply"]
  },
  "language" : "en",
  "type" : "message",
  "timestamp" : "2015-07-14T11:15:37+02:00",
  "entry" : [{
    "fullUrl" : "urn:uuid:667b18ce-3d37-4581-9baa-6fada338038c",
    "resource" : {
      "resourceType" : "MessageHeader",
      "id" : "667b18ce-3d37-4581-9baa-6fada338038c",
      "meta" : {
        "profile" : ["https://www.ehealth.fgov.be/standards/fhir/mycarenet/StructureDefinition/be-messageheader"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_667b18ce-3d37-4581-9baa-6fada338038c\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader 667b18ce-3d37-4581-9baa-6fada338038c</b></p><a name=\"667b18ce-3d37-4581-9baa-6fada338038c\"> </a><a name=\"hc667b18ce-3d37-4581-9baa-6fada338038c\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-be-messageheader.html\">MyCareNet MessageHeader BE profile</a></p></div><p><b>event</b>: <a href=\"http://hl7.org/fhir/R4/codesystem-restful-interaction.html#restful-interaction-search-type\">FHIR Restful Interactions: search-type</a> (search-type)</p><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Endpoint</b></td><td><b>Receiver</b></td></tr><tr><td style=\"display: none\">*</td><td>urn:be:fgov:person:ssin:ehealth:1.0:physiotherapist:nihii11:54263481527</td><td><a href=\"Bundle-ex33.html#urn-uuid-1dc5d974-5447-4afe-a4ab-57081ca518c3\">PractitionerRole physician</a></td></tr></table><p><b>sender</b>: <a href=\"Bundle-ex36.html#urn-uuid-cfabb40d-a53f-4c56-bc19-725ea669b358\">Organization Union Nationale des Mutualités Socialistes - Nationaal Verbond van de Socialistische Mutualiteiten</a></p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>urn:be:fgov:kbo-bce:organization:cbe-number:0411724220</td></tr></table><h3>Responses</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Identifier</b></td><td><b>Code</b></td></tr><tr><td style=\"display: none\">*</td><td>267b18ce-3d37-4581-9baa-6fada338038b</td><td>OK</td></tr></table><p><b>focus</b>: <a href=\"Bundle-ex13.html#urn-uuid-03972cc4-d781-4285-8d79-0f05810e1939\">Bundle: type = searchset; total = 2</a></p></div>"
      },
      "eventCoding" : {
        "system" : "http://hl7.org/fhir/restful-interaction",
        "code" : "search-type"
      },
      "destination" : [{
        "endpoint" : "urn:be:fgov:person:ssin:ehealth:1.0:physiotherapist:nihii11:54263481527",
        "receiver" : {
          "reference" : "urn:uuid:1dc5d974-5447-4afe-a4ab-57081ca518c3"
        }
      }],
      "sender" : {
        "reference" : "urn:uuid:cfabb40d-a53f-4c56-bc19-725ea669b358"
      },
      "source" : {
        "endpoint" : "urn:be:fgov:kbo-bce:organization:cbe-number:0411724220"
      },
      "response" : {
        "identifier" : "267b18ce-3d37-4581-9baa-6fada338038b",
        "code" : "ok"
      },
      "focus" : [{
        "reference" : "urn:uuid:03972cc4-d781-4285-8d79-0f05810e1939"
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:cfabb40d-a53f-4c56-bc19-725ea669b358",
    "resource" : {
      "resourceType" : "Organization",
      "id" : "cfabb40d-a53f-4c56-bc19-725ea669b358",
      "meta" : {
        "profile" : ["https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Organization_cfabb40d-a53f-4c56-bc19-725ea669b358\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Organization cfabb40d-a53f-4c56-bc19-725ea669b358</b></p><a name=\"cfabb40d-a53f-4c56-bc19-725ea669b358\"> </a><a name=\"hccfabb40d-a53f-4c56-bc19-725ea669b358\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://www.ehealth.fgov.be/standards/fhir/core/2.1.2/StructureDefinition-be-organization.html\">BeOrganization</a></p></div><p><b>identifier</b>: <a href=\"https://www.ehealth.fgov.be/standards/fhir/core/2.1.2/NamingSystem-be-insurancenumber.html\" title=\"the identification number of a mutual insurance association (mutualité) as “a not-for-profit association, which, with foresight, assistance and solidarity aims to promote the physical, mental and social well-being of its members” (The Belgian law of 6 August 1990)\">BeInsuranceNumberNamingSystem</a>/300</p><p><b>name</b>: Union Nationale des Mutualités Socialistes - Nationaal Verbond van de Socialistische Mutualiteiten</p></div>"
      },
      "identifier" : [{
        "system" : "https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/insurancenumber",
        "value" : "300"
      }],
      "name" : "Union Nationale des Mutualités Socialistes - Nationaal Verbond van de Socialistische Mutualiteiten"
    }
  },
  {
    "fullUrl" : "urn:uuid:1dc5d974-5447-4afe-a4ab-57081ca518c3",
    "resource" : {
      "resourceType" : "PractitionerRole",
      "id" : "cfabb40d-a53f-4c56-bc19-725ea669b358",
      "meta" : {
        "profile" : ["https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitionerrole"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"PractitionerRole_cfabb40d-a53f-4c56-bc19-725ea669b358\"> </a><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole cfabb40d-a53f-4c56-bc19-725ea669b358</b></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://www.ehealth.fgov.be/standards/fhir/core/2.1.2/StructureDefinition-be-practitionerrole.html\">BePractitionerRole</a></p></div><p><b>practitioner</b>: <a href=\"Bundle-ex36.html#urn-uuid-03972cc4-d781-4285-8d79-0f05810e1931\">Practitioner John Smith </a></p><p><b>code</b>: <span title=\"Codes:{https://www.ehealth.fgov.be/standards/fhir/core/CodeSystem/cd-hcparty persphysiotherapist}\">physiotherapist</span></p></div>"
      },
      "practitioner" : {
        "reference" : "urn:uuid:03972cc4-d781-4285-8d79-0f05810e1931"
      },
      "code" : [{
        "coding" : [{
          "system" : "https://www.ehealth.fgov.be/standards/fhir/core/CodeSystem/cd-hcparty",
          "code" : "persphysiotherapist"
        }]
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:03972cc4-d781-4285-8d79-0f05810e1931",
    "resource" : {
      "resourceType" : "Practitioner",
      "id" : "03972cc4-d781-4285-8d79-0f05810e1931",
      "meta" : {
        "profile" : ["https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Practitioner_03972cc4-d781-4285-8d79-0f05810e1931\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Practitioner 03972cc4-d781-4285-8d79-0f05810e1931</b></p><a name=\"03972cc4-d781-4285-8d79-0f05810e1931\"> </a><a name=\"hc03972cc4-d781-4285-8d79-0f05810e1931\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"https://www.ehealth.fgov.be/standards/fhir/core/2.1.2/StructureDefinition-be-practitioner.html\">BePractitioner</a></p></div><p><b>identifier</b>: <a href=\"https://www.ehealth.fgov.be/standards/fhir/core/2.1.2/NamingSystem-be-nihdi.html\" title=\"RIZIV/INAMI\">BeNIHDINamingSystem</a>/54263481527</p><p><b>name</b>: John Smith </p></div>"
      },
      "identifier" : [{
        "system" : "https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/nihdi",
        "value" : "54263481527"
      }],
      "name" : [{
        "family" : "Smith",
        "given" : ["John"]
      }]
    }
  },
  {
    "fullUrl" : "urn:uuid:03972cc4-d781-4285-8d79-0f05810e1939",
    "resource" : {
      "resourceType" : "Bundle",
      "id" : "03972cc4-d781-4285-8d79-0f05810e1939",
      "language" : "en",
      "type" : "searchset",
      "total" : 2,
      "link" : [{
        "relation" : "self",
        "url" : "http://www.mycarenet.be/ClaimResponse?patient=a52efcb6-1f81-4333-a115-d45bd318368&use=preauthorization&subType:contains=physiotherapy"
      }],
      "entry" : [{
        "fullUrl" : "urn:uuid:cfabb40d-a53f-4c56-bc19-725ea669b358",
        "resource" : {
          "resourceType" : "Organization",
          "id" : "cfabb40d-a53f-4c56-bc19-725ea669b358",
          "meta" : {
            "profile" : ["https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-organization"]
          },
          "language" : "en",
          "identifier" : [{
            "system" : "https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/insurancenumber",
            "value" : "300"
          }],
          "name" : "Union Nationale des Mutualités Socialistes - Nationaal Verbond van de Socialistische Mutualiteiten"
        },
        "search" : {
          "mode" : "include"
        }
      },
      {
        "fullUrl" : "urn:uuid:1dc5d974-5447-4afe-a4ab-57081ca518c3",
        "resource" : {
          "resourceType" : "PractitionerRole",
          "id" : "1dc5d974-5447-4afe-a4ab-57081ca518c3",
          "meta" : {
            "profile" : ["https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitionerrole"]
          },
          "language" : "en",
          "practitioner" : {
            "reference" : "urn:uuid:03972cc4-d781-4285-8d79-0f05810e1931"
          },
          "code" : [{
            "coding" : [{
              "system" : "https://www.ehealth.fgov.be/standards/fhir/core/CodeSystem/cd-hcparty",
              "code" : "persphysiotherapist"
            }]
          }]
        },
        "search" : {
          "mode" : "include"
        }
      },
      {
        "fullUrl" : "urn:uuid:03972cc4-d781-4285-8d79-0f05810e1931",
        "resource" : {
          "resourceType" : "Practitioner",
          "id" : "03972cc4-d781-4285-8d79-0f05810e1931",
          "meta" : {
            "profile" : ["https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-practitioner"]
          },
          "language" : "en",
          "identifier" : [{
            "system" : "https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/nihdi",
            "value" : "54263481527"
          }],
          "name" : [{
            "family" : "Smith",
            "given" : ["John"]
          }]
        },
        "search" : {
          "mode" : "include"
        }
      },
      {
        "fullUrl" : "urn:uuid:a52efcb6-1f81-4333-a115-d45bd3183686",
        "resource" : {
          "resourceType" : "Patient",
          "id" : "a52efcb6-1f81-4333-a115-d45bd318368",
          "meta" : {
            "profile" : ["https://www.ehealth.fgov.be/standards/fhir/core/StructureDefinition/be-patient"]
          },
          "language" : "en",
          "identifier" : [{
            "system" : "https://www.ehealth.fgov.be/standards/fhir/core/NamingSystem/ssin",
            "value" : "73031805784"
          }],
          "name" : [{
            "family" : "Dupont",
            "given" : ["Jean"]
          }],
          "gender" : "male"
        },
        "search" : {
          "mode" : "include"
        }
      },
      {
        "fullUrl" : "urn:uuid:0a0d60df-0340-45a6-a493-a5d67f74d693",
        "resource" : {
          "resourceType" : "ClaimResponse",
          "id" : "0a0d60df-0340-45a6-a493-a5d67f74d693",
          "meta" : {
            "profile" : ["https://www.ehealth.fgov.be/standards/fhir/mycarenet/StructureDefinition/be-eagreementclaimresponse"]
          },
          "language" : "en",
          "status" : "active",
          "type" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/claim-type",
              "code" : "professional"
            }]
          },
          "subType" : {
            "coding" : [{
              "system" : "https://www.ehealth.fgov.be/standards/fhir/mycarenet/CodeSystem/agreement-types",
              "code" : "physiotherapy-fb"
            }]
          },
          "use" : "preauthorization",
          "patient" : {
            "reference" : "urn:uuid:a52efcb6-1f81-4333-a115-d45bd3183686"
          },
          "created" : "2015-07-14T11:15:30+02:00",
          "insurer" : {
            "reference" : "urn:uuid:cfabb40d-a53f-4c56-bc19-725ea669b358"
          },
          "requestor" : {
            "reference" : "urn:uuid:1dc5d974-5447-4afe-a4ab-57081ca518c3"
          },
          "outcome" : "complete",
          "preAuthRef" : "identifiant business de la décision (accord/refus/en traitement)",
          "preAuthPeriod" : {
            "start" : "2020-01-15",
            "end" : "2020-03-15"
          },
          "addItem" : [{
            "itemSequence" : [1],
            "productOrService" : {
              "coding" : [{
                "system" : "https://www.ehealth.fgov.be/standards/fhir/mycarenet/CodeSystem/nihdi-physiotherapy-pathologysituationcode",
                "code" : "fb-51"
              }]
            },
            "adjudication" : [{
              "category" : {
                "coding" : [{
                  "system" : "https://www.ehealth.fgov.be/standards/fhir/mycarenet/CodeSystem/decision-values",
                  "code" : "agreement"
                }]
              }
            }]
          }]
        },
        "search" : {
          "mode" : "match"
        }
      },
      {
        "fullUrl" : "urn:uuid:0a0d60df-0340-45a6-a493-a5d67f74d699",
        "resource" : {
          "resourceType" : "ClaimResponse",
          "id" : "0a0d60df-0340-45a6-a493-a5d67f74d699",
          "meta" : {
            "profile" : ["https://www.ehealth.fgov.be/standards/fhir/mycarenet/StructureDefinition/be-eagreementclaimresponse"]
          },
          "language" : "en",
          "status" : "active",
          "type" : {
            "coding" : [{
              "system" : "http://terminology.hl7.org/CodeSystem/claim-type",
              "code" : "professional"
            }]
          },
          "subType" : {
            "coding" : [{
              "system" : "https://www.ehealth.fgov.be/standards/fhir/mycarenet/CodeSystem/agreement-types",
              "code" : "physiotherapy-fb"
            }]
          },
          "use" : "preauthorization",
          "patient" : {
            "reference" : "urn:uuid:a52efcb6-1f81-4333-a115-d45bd3183686"
          },
          "created" : "2015-07-14T11:15:30+02:00",
          "insurer" : {
            "reference" : "urn:uuid:cfabb40d-a53f-4c56-bc19-725ea669b358"
          },
          "requestor" : {
            "reference" : "urn:uuid:1dc5d974-5447-4afe-a4ab-57081ca518c3"
          },
          "outcome" : "partial",
          "preAuthRef" : "identifiant business de la décision (accord/refus/en traitement)",
          "addItem" : [{
            "itemSequence" : [1],
            "productOrService" : {
              "coding" : [{
                "system" : "https://www.ehealth.fgov.be/standards/fhir/mycarenet/CodeSystem/nihdi-physiotherapy-pathologysituationcode",
                "code" : "fb-51"
              }]
            },
            "adjudication" : [{
              "category" : {
                "coding" : [{
                  "system" : "https://www.ehealth.fgov.be/standards/fhir/mycarenet/CodeSystem/decision-values",
                  "code" : "intreatment"
                }]
              }
            }]
          }]
        },
        "search" : {
          "mode" : "match"
        }
      }]
    }
  }]
}