CMSgov/dpc-app

View on GitHub
src/main/resources/organization.tmpl.json

Summary

Maintainability
Test Coverage
{
  "resourceType": "Bundle",
  "id": "provider-bundle-tmpl",
  "type": "transaction",
  "entry": [
    {
      "resource": {
        "resourceType": "Organization",
        "identifier": [
          {
            "system": "http://hl7.org/fhir/sid/us-npi",
            "value": "1111112110"
          }
        ],
        "name": "Template Provider Organization",
        "address": [{
          "use": "work",
          "type": "both",
          "line": [
            "555 Test Address"
          ],
          "city": "Washington",
          "state": "DC",
          "postalCode": "20008",
          "country": "US"
        }],
        "contact": [
          {
            "name": {
              "use": "usual",
              "family": "Contact",
              "given": ["Test"]
            },
            "address": {
              "use": "work",
              "type": "both",
              "line": [
                "555 Test Address"
              ],
              "city": "Washington",
              "state": "DC",
              "postalCode": "20008"
            },
            "telecom": [
              {
                "system": "phone",
                "use": "work",
                "value": "555-555-5555"
              },
              {
                "system": "email",
                "use": "work",
                "value": "contact@organization.test"
              }
            ]
          }
        ]
      },
      "request": {
        "method": "POST",
        "url": "Group"
      }
    },
    {
      "resource": {
        "resourceType": "Endpoint",
        "status": "test",
        "connectionType": {
          "system": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type",
          "code": "hl7-fhir-rest"
        },
        "name": "Test Organization Endpoint",
        "address": "http://test-address.nope"
      },
      "request": {
        "method": "POST",
        "url": "Endpoint"
      }
    }
  ]
}