{
  "resourceType": "Bundle",
  "id": "admin-directory-org1",
  "entry": [
    {
      "request": {
        "method": "PUT",
        "url": "Organization/4cb35b96-f021-4e15-bf71-d67a6d4bebec"
      },
      "fullUrl": "urn:uuid:4cb35b96-f021-4e15-bf71-d67a6d4bebec",
      "resource": {
        "resourceType": "Organization",
        "id": "4cb35b96-f021-4e15-bf71-d67a6d4bebec",
        "meta": {
          "profile": [
            "http://nuts-foundation.github.io/nl-generic-functions-ig/StructureDefinition/nl-gf-organization"
          ]
        },
        "identifier": [
          {
            "system": "http://fhir.nl/fhir/NamingSystem/ura",
            "value": "11111111"
          },
          {
            "assigner": {
              "identifier": {
                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                "value": "11111111",
                "type": {
                  "coding": [
                    {
                      "code": "author",
                      "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
                    }
                  ]
                }
              }
            },
            "system": "https://cp1-test.example.org/departments",
            "value": "4cb35b96-f021-4e15-bf71-d67a6d4bebec"
          }
        ],
        "type": [
          {
            "coding": [
              {
                "code": "Z3",
                "system": "http://nictiz.nl/fhir/NamingSystem/organization-type",
                "display": "Huisartspraktijk (zelfstandig of groepspraktijk)"
              }
            ]
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "+3131599991",
            "use": "work"
          },
          {
            "system": "email",
            "value": "info@cp1.example.org",
            "use": "work"
          }
        ],
        "address": [
          {
            "line": [
              "Vogelenzangweg 31",
              null,
              null
            ],
            "_line": [
              null,
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName",
                    "valueString": "Vogelenzangweg"
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber",
                    "valueString": "31"
                  }
                ]
              }
            ],
            "city": "Ulft",
            "postalCode": "7071 PT"
          }
        ],
        "endpoint": [
          {
            "reference": "Endpoint/59654248-477c-4694-b156-e0042f0765a6"
          }
        ],
        "name": "example General Practice"
      }
    },
    {
      "request": {
        "method": "PUT",
        "url": "Endpoint/59654248-477c-4694-b156-e0042f0765a6"
      },
      "fullUrl": "urn:uuid:59654248-477c-4694-b156-e0042f0765a6",
      "resource": {
        "resourceType": "Endpoint",
        "id": "59654248-477c-4694-b156-e0042f0765a6",
        "meta": {
          "profile": [
            "http://nuts-foundation.github.io/nl-generic-functions-ig/StructureDefinition/nl-gf-endpoint"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "identifier": {
                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                "value": "11111111",
                "type": {
                  "coding": [
                    {
                      "code": "author",
                      "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
                    }
                  ]
                }
              }
            },
            "system": "https://cp1-test.example.org/api",
            "value": "59654248-477c-4694-b156-e0042f0765a6"
          }
        ],
        "payloadType": [
          {
            "coding": [
              {
                "code": "http://nuts-foundation.github.io/nl-generic-functions-ig/CapabilityStatement/nl-gf-admin-directory-update-client",
                "system": "http://nuts-foundation.github.io/nl-generic-functions-ig/CodeSystem/nl-gf-data-exchange-capabilities",
                "display": "Care Services Directory for Update Client"
              }
            ]
          }
        ],
        "payloadMimeType": [
          "application/fhir+json"
        ],
        "managingOrganization": {
          "identifier": {
            "system": "http://fhir.nl/fhir/NamingSystem/kvk",
            "value": "51494752"
          }
        },
        "contact": [
          {
            "system": "phone",
            "value": "+3131599991",
            "use": "work"
          },
          {
            "system": "email",
            "value": "info@cp1.example.org",
            "use": "work"
          }
        ],
        "status": "active",
        "connectionType": {
          "code": "hl7-fhir-rest",
          "system": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type"
        },
        "name": "FHIR Endpoint 1",
        "address": "https://cp1-test.example.org/fhirr4"
      }
    },
    {
      "request": {
        "method": "PUT",
        "url": "PractitionerRole/5fa4c91a-a12f-48ae-a4c7-92971dc7ab53"
      },
      "fullUrl": "urn:uuid:5fa4c91a-a12f-48ae-a4c7-92971dc7ab53",
      "resource": {
        "resourceType": "PractitionerRole",
        "id": "5fa4c91a-a12f-48ae-a4c7-92971dc7ab53",
        "meta": {
          "profile": [
            "http://nuts-foundation.github.io/nl-generic-functions-ig/StructureDefinition/nl-gf-practitionerrole"
          ]
        },
        "identifier": [
          {
            "assigner": {
              "identifier": {
                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                "value": "11111111",
                "type": {
                  "coding": [
                    {
                      "code": "author",
                      "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
                    }
                  ]
                }
              }
            },
            "system": "https://cp1-test.example.org/employees",
            "value": "5fa4c91a-a12f-48ae-a4c7-92971dc7ab53"
          }
        ],
        "code": [
          {
            "coding": [
              {
                "code": "01.015",
                "system": "http://fhir.nl/fhir/NamingSystem/uzi-rolcode",
                "display": "Huisarts"
              }
            ]
          }
        ],
        "telecom": [
          {
            "system": "email",
            "value": "h.arts@cp1.example.org"
          }
        ],
        "practitioner": {
          "reference": "Practitioner/9a63e407-34af-4ae4-ad3c-f7107fbbc0cd"
        },
        "organization": {
          "reference": "Organization/4cb35b96-f021-4e15-bf71-d67a6d4bebec"
        }
      }
    },
    {
      "request": {
        "method": "PUT",
        "url": "Practitioner/9a63e407-34af-4ae4-ad3c-f7107fbbc0cd"
      },
      "fullUrl": "urn:uuid:9a63e407-34af-4ae4-ad3c-f7107fbbc0cd",
      "resource": {
        "resourceType": "Practitioner",
        "id": "9a63e407-34af-4ae4-ad3c-f7107fbbc0cd",
        "meta": {
          "profile": [
            "http://nuts-foundation.github.io/nl-generic-functions-ig/StructureDefinition/nl-gf-practitioner"
          ]
        },
        "identifier": [
          {
            "system": "http://fhir.nl/fhir/NamingSystem/uzi",
            "value": "UZI-2"
          },
          {
            "assigner": {
              "identifier": {
                "system": "http://fhir.nl/fhir/NamingSystem/ura",
                "value": "11111111",
                "type": {
                  "coding": [
                    {
                      "code": "author",
                      "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type"
                    }
                  ]
                }
              }
            },
            "system": "https://cp1-test.example.org/employees",
            "value": "5678"
          }
        ],
        "name": [
          {
            "given": [
              "Harry"
            ],
            "use": "official",
            "text": "Hary Arts",
            "family": "Arts"
          }
        ]
      }
    }
  ],
  "type": "transaction"
}
