{
  "resourceType": "Bundle",
  "id": "phi-org2",
  "entry": [
    {
      "request": {
        "method": "PUT",
        "url": "Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d"
      },
      "fullUrl": "urn:uuid:27e58ece-409e-44f9-8cc1-b33495a0ef9d",
      "resource": {
        "resourceType": "Patient",
        "id": "27e58ece-409e-44f9-8cc1-b33495a0ef9d",
        "meta": {
          "profile": [
            "http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "identifier": {
                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                "value": "22222222",
                "type": {
                  "coding": [
                    {
                      "code": "author",
                      "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
                    }
                  ]
                }
              }
            },
            "system": "http://organization2.example.org/EHR/patients",
            "value": "vdfesz"
          },
          {
            "system": "http://fhir.nl/fhir/NamingSystem/bsn",
            "value": "111222333"
          }
        ],
        "name": [
          {
            "given": [
              "Jaantje"
            ],
            "family": "Merkens"
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "+31612345678"
          },
          {
            "system": "email",
            "value": "j.merkens@bigtech.com"
          }
        ],
        "address": [
          {
            "line": [
              "Kerkstraat 18"
            ],
            "postalCode": "7071 WZ",
            "city": "Ulft"
          }
        ],
        "gender": "female",
        "birthDate": "1950-02-26",
        "managingOrganization": {
          "reference": "Organization/cff921f3-c1c1-4a4c-8f0f-cafd0aa25067",
          "display": "Organization 2"
        }
      }
    },
    {
      "request": {
        "method": "PUT",
        "url": "Condition/8f26c2c2-9a7b-4a2f-84ac-264f1177964c"
      },
      "fullUrl": "urn:uuid:8f26c2c2-9a7b-4a2f-84ac-264f1177964c",
      "resource": {
        "resourceType": "Condition",
        "id": "8f26c2c2-9a7b-4a2f-84ac-264f1177964c",
        "meta": {
          "profile": [
            "http://nictiz.nl/fhir/StructureDefinition/nl-core-Problem"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "identifier": {
                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                "value": "22222222",
                "type": {
                  "coding": [
                    {
                      "code": "author",
                      "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
                    }
                  ]
                }
              }
            },
            "system": "https://cp2-test.example.org/Condition",
            "value": "8f26c2c2-9a7b-4a2f-84ac-264f1177964c"
          }
        ],
        "onsetDateTime": "2017-09-03T12:00:00Z",
        "code": {
          "coding": [
            {
              "code": "308546005",
              "system": "http://snomed.info/sct",
              "display": "Dissection of aorta"
            }
          ]
        },
        "subject": {
          "reference": "Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d"
        }
      }
    },
    {
      "request": {
        "method": "PUT",
        "url": "Condition/5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757"
      },
      "fullUrl": "urn:uuid:5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757",
      "resource": {
        "resourceType": "Condition",
        "id": "5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757",
        "meta": {
          "profile": [
            "http://nictiz.nl/fhir/StructureDefinition/nl-core-Problem"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "identifier": {
                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                "value": "22222222",
                "type": {
                  "coding": [
                    {
                      "code": "author",
                      "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
                    }
                  ]
                }
              }
            },
            "system": "https://cp2-test.example.org/Condition",
            "value": "5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757"
          }
        ],
        "onsetDateTime": "2021-09-03T12:00:00Z",
        "code": {
          "coding": [
            {
              "code": "66931009",
              "system": "http://snomed.info/sct",
              "display": "Hypercalcemia"
            }
          ]
        },
        "subject": {
          "reference": "Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d"
        }
      }
    },
    {
      "request": {
        "method": "PUT",
        "url": "Procedure/6bc0f95c-f281-475e-a279-4ed6beb59024"
      },
      "fullUrl": "urn:uuid:6bc0f95c-f281-475e-a279-4ed6beb59024",
      "resource": {
        "resourceType": "Procedure",
        "id": "6bc0f95c-f281-475e-a279-4ed6beb59024",
        "meta": {
          "profile": [
            "http://nictiz.nl/fhir/StructureDefinition/nl-core-Procedure"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "identifier": {
                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                "value": "22222222",
                "type": {
                  "coding": [
                    {
                      "code": "author",
                      "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
                    }
                  ]
                }
              }
            },
            "system": "https://cp2-test.example.org/Procedure",
            "value": "6bc0f95c-f281-475e-a279-4ed6beb59024"
          }
        ],
        "performer": [
          {
            "actor": {
              "reference": "PractitionerRole/f051d3bd-26ff-4030-a5b6-fc4ef2be83ba"
            }
          }
        ],
        "reasonReference": [
          {
            "reference": "Condition/5a7f34e7-9b7b-4e5c-ba7c-890edbc4d757"
          }
        ],
        "status": "completed",
        "code": {
          "coding": [
            {
              "code": "13619001",
              "system": "http://snomed.info/sct",
              "display": "Thyroidectomy"
            }
          ]
        },
        "subject": {
          "reference": "Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d"
        },
        "performedDateTime": "2022-05-15T08:00:00Z"
      }
    },
    {
      "request": {
        "method": "PUT",
        "url": "MedicationRequest/8c2d4009-4322-4d4a-8e29-3e70cd67d286"
      },
      "fullUrl": "urn:uuid:8c2d4009-4322-4d4a-8e29-3e70cd67d286",
      "resource": {
        "resourceType": "MedicationRequest",
        "id": "8c2d4009-4322-4d4a-8e29-3e70cd67d286",
        "meta": {
          "profile": [
            "http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicationRequest"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "identifier": {
                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                "value": "22222222",
                "type": {
                  "coding": [
                    {
                      "code": "author",
                      "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
                    }
                  ]
                }
              }
            },
            "system": "https://cp2-test.example.org/MedicationRequest",
            "value": "8c2d4009-4322-4d4a-8e29-3e70cd67d286"
          }
        ],
        "dosageInstruction": [
          {
            "timing": {
              "repeat": {
                "frequency": 2,
                "period": 1,
                "periodUnit": "d"
              }
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 250,
                  "unit": "mg"
                }
              }
            ],
            "text": "Take one tablet by mouth twice daily"
          }
        ],
        "status": "active",
        "intent": "order",
        "medicationCodeableConcept": {
          "coding": [
            {
              "code": "L01BC05",
              "system": "http://www.whocc.no/atc",
              "display": "gemcitabine"
            }
          ]
        },
        "subject": {
          "reference": "Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d"
        },
        "authoredOn": "2017-09-03",
        "requester": {
          "reference": "PractitionerRole/f051d3bd-26ff-4030-a5b6-fc4ef2be83ba"
        }
      }
    },
    {
      "request": {
        "method": "PUT",
        "url": "MedicationStatement/e00a59fa-7d7e-422d-8505-ef3e645404e9"
      },
      "fullUrl": "urn:uuid:e00a59fa-7d7e-422d-8505-ef3e645404e9",
      "resource": {
        "resourceType": "MedicationStatement",
        "id": "e00a59fa-7d7e-422d-8505-ef3e645404e9",
        "meta": {
          "profile": [
            "http://nictiz.nl/fhir/StructureDefinition/nl-core-MedicationStatement"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "identifier": {
                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                "value": "22222222",
                "type": {
                  "coding": [
                    {
                      "code": "author",
                      "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
                    }
                  ]
                }
              }
            },
            "system": "https://cp2-test.example.org/MedicationStatement",
            "value": "e00a59fa-7d7e-422d-8505-ef3e645404e9"
          }
        ],
        "dosage": [
          {
            "timing": {
              "repeat": {
                "frequency": 2,
                "period": 1,
                "periodUnit": "d"
              }
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 250,
                  "unit": "mg"
                }
              }
            ],
            "text": "Take one tablet by mouth twice daily"
          }
        ],
        "status": "active",
        "medicationCodeableConcept": {
          "coding": [
            {
              "code": "L01BC05",
              "system": "http://www.whocc.no/atc",
              "display": "gemcitabine"
            }
          ]
        },
        "subject": {
          "reference": "Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d"
        },
        "effectiveDateTime": "2017-09-03",
        "dateAsserted": "2017-09-03",
        "informationSource": {
          "reference": "PractitionerRole/f051d3bd-26ff-4030-a5b6-fc4ef2be83ba"
        }
      }
    },
    {
      "request": {
        "method": "PUT",
        "url": "DocumentReference/52b792ba-11ae-42f3-bcc1-231f333f2317"
      },
      "fullUrl": "urn:uuid:52b792ba-11ae-42f3-bcc1-231f333f2317",
      "resource": {
        "resourceType": "DocumentReference",
        "id": "52b792ba-11ae-42f3-bcc1-231f333f2317",
        "meta": {
          "profile": [
            "http://nuts-foundation.github.io/nl-generic-functions-ig/StructureDefinition/nl-gf-localization-documentreference"
          ]
        },
        "subject": {
          "identifier": {
            "system": "http://fhir.nl/fhir/NamingSystem/pseudo-bsn",
            "value": "123456789"
          }
        },
        "custodian": {
          "identifier": {
            "system": "http://fhir.nl/fhir/NamingSystem/ura",
            "value": "22222222"
          }
        },
        "content": [
          {
            "attachment": {
              "contentType": "application/json+fhir",
              "url": "https://cp2-test.example.org/fhirr4/Patient/27e58ece-409e-44f9-8cc1-b33495a0ef9d"
            }
          }
        ],
        "status": "current",
        "type": {
          "coding": [
            {
              "code": "55188-7",
              "system": "http://loinc.org",
              "display": "Patient data Document"
            }
          ]
        }
      }
    }
  ],
  "type": "transaction"
}
