{
  "resourceType": "CapabilityStatement",
  "id": "ncdhc-metadata-provider",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n     \nProvider Capability Statement</div>"
  },
  "name": "National Children's Digital Health Collaborative CapabilityStatement(Provider)",
  "title": "National Children's Digital Health Collaborative CapabilityStatement(Provider)",
  "status": "draft",
  "date": "2020-01-10",
  "publisher": "National Children's Digital Health Collaborative",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "http://hl7.org/fhir"
        }
      ]
    }
  ],
  "description": "Capability Statement for National Children's Digital Health Collaborative Provider Channel",
  "kind": "instance",
  "software": {
    "name": "NCDHC FHIR Server",
    "version": "v1.0.0",
    "releaseDate": "2020-04-30"
  },
  "implementation": {
    "description": "NCDHC FHIR Server",
    "url": "https://prov.ncdhc.health.nsw.gov.au"
  },
  "fhirVersion": "3.0.2",
  "acceptUnknown": "no",
  "format": [
    "json"
  ],
  "rest": [
    {
      "mode": "server",
      "documentation": "Capability Statement for National Children's Digital Health Collaborative Provider Channel",
      "security": {
        "extension": [
          {
            "url": "http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris",
            "extension": [
              {
                "url": "token",
                "valueUri": "https://authncdhc.b2clogin.com/authncdhc.onmicrosoft.com/B2C_1_signin/oauth2/v2.0/token"
              }
            ]
          }
        ],
        "cors": true,
        "service": [
          {
            "coding": [
              {
                "system": "http://hl7.org/fhir/restful-security-service",
                "code": "SMART-on-FHIR"
              }
            ]
          },
          {
            "coding": [
              {
                "system": "http://hl7.org/fhir/restful-security-service",
                "code": "OAuth"
              }
            ]
          },
          {
            "coding": [
              {
                "system": "http://hl7.org/fhir/restful-security-service",
                "code": "Certificates"
              }
            ]
          }
        ],
        "description": "NCDHC FHIR server uses standard Client Credential Gran flow for provider interactions."
      },
      "resource": [
        {
          "type": "Patient",
          "profile": {
            "reference": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-patient-baby"
          },
          "documentation": "Provide details on what can be done on the Patient resource",
          "interaction": [
            {
              "code": "read",
              "documentation": "Reads a Patient instance based on the input Patient.id"
            }
          ],
          "versioning": "versioned"
        },
        {
          "type": "Binary",
          "profile": {
            "reference": "http://hl7.org/fhir/StructureDefinition/Binary"
          },
          "documentation": "Provide details on what can be done on the Binary resource",
          "interaction": [
            {
              "code": "read",
              "documentation": "Reads Binary instances (base 64 format of the original document based on the Binary.id"
            }
          ]
        },
        {
          "type": "AuditEvent",
          "profile": {
            "reference": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-audit-event"
          },
          "documentation": "Provide details on what can be done on the AuditEvent resource",
          "interaction": [
            {
              "code": "search-type",
              "documentation": "Searches AuditEvent instances based on the search criteria provided"
            }
          ],
          "versioning": "versioned",
          "searchParam": [
            {
              "name": "patient",
              "type": "reference",
              "documentation": "Patient reference for which the AuditEvent instances should be fetched"
            },
            {
              "name": "agent",
              "type": "reference",
              "documentation": "Identifier of who"
            },
            {
              "name": "date",
              "type": "date",
              "documentation": "Time when the event was recorded. System SHALL support 'ge', 'le' and 'eq' search as per FHIR standard"
            },
            {
              "name": "agent-role",
              "type": "token",
              "documentation": "Agent role in the event"
            },
            {
              "name": "action",
              "type": "token",
              "documentation": "Type of action performed during the event"
            }
          ]
        },
        {
          "type": "DocumentReference",
          "profile": {
            "reference": "http://hl7.org/fhir/StructureDefinition/DocumentReference"
          },
          "documentation": "Provide details on what can be done on the DocumentReference resource",
          "interaction": [
            {
              "code": "search-type",
              "documentation": "Searches FHIR document metadata instances based on the search criteria provided"
            }
          ],
          "versioning": "versioned",
          "searchParam": [
            {
              "name": "identifier",
              "type": "token",
              "documentation": "Master Version Specific Identifier. Document id in the source system (if available and provided during the document persistance)"
            },
            {
              "name": "patient",
              "type": "reference",
              "documentation": "Who/what is the subject of the document"
            },
            {
              "name": "type",
              "type": "token",
              "documentation": "Type code of the document to fetch"
            },
            {
              "name": "class",
              "type": "token",
              "documentation": "Class code of the document to fetch"
            },
            {
              "name": "status",
              "type": "token",
              "documentation": "Status of the document to fetch allowed values are current | superseded | entered-in-erro"
            },
            {
              "name": "indexed",
              "type": "token",
              "documentation": "When this document reference was created. The system should support 'ge','le','eq' searches as defined in FHIR"
            },
            {
              "name": "author",
              "type": "reference",
              "documentation": "Who and/or what authored the document"
            }
          ]
        }
      ],
      "operation": [
        {
          "name": "NCDHC OperationDefination $access",
          "definition": {
            "reference": "http://hl7.org.au/fhir/ch/v1/OperationDefinition/ncdhc-patient-access"
          }
        },
        {
          "name": "NCDHC OperationDefination $document",
          "definition": {
            "reference": "http://hl7.org.au/fhir/ch/v1/OperationDefinition/ncdhc-patient-access"
          }
        },
        {
          "name": "NCDHC OperationDefination $view-document",
          "definition": {
            "reference": "http://hl7.org.au/fhir/ch/v1/OperationDefinition/ncdhc-composition-view-document"
          }
        }
      ]
    }
  ],
  "document": [
    {
      "mode": "producer",
      "documentation": "NCDHC Newborn Delivery Health Interaction",
      "profile": {
        "reference": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-composition-nbdelivery"
      }
    },
    {
      "mode": "producer",
      "documentation": "NCDHC Health Check Assessment Health Interaction",
      "profile": {
        "reference": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-composition-health-check-assessment"
      }
    },
    {
      "mode": "consumer",
      "documentation": "NCDHC Newborn Delivery Health Interaction",
      "profile": {
        "reference": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-composition-nbdelivery"
      }
    },
    {
      "mode": "consumer",
      "documentation": "NCDHC Health Check Assessment Health Interaction",
      "profile": {
        "reference": "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-composition-health-check-assessment"
      }
    }
  ]
}