Generate an on-demand C-CDA document reference
post
/DocumentReference/$docref
Note: The FHIR API endpoints described below are available for customers to deploy and use. Developers are welcome and encouraged to develop against the specifications in anticipation of customer deployment.
Returns a searchset Bundle containing a synthetic C-CDA document reference when the type is omitted or includes LOINC 34133-9.Request
Header Parameters
-
accept(required): string
The media type to be requested.
Example:
application/fhir+json -
authorization(required): string
The OAuth 2.0 Bearer token used to authenticate the request.
Supported Media Types
- application/fhir+json
- application/json
Root Schema : schema
Type:
Show Source
object-
parameter(required): array
parameter
-
resourceType(required): string
Allowed Values:
[ "Parameters" ]
Nested Schema : ParameterForDocumentReference
Type:
Show Source
object-
name(required): string
Allowed Values:
[ "patient", "start", "end", "type" ] -
valueCoding: object
Coding
-
valueDateTime: string
(date-time)
-
valueId: string
Root Schema : schema
Type:
Show Source
object-
parameter(required): array
parameter
-
resourceType(required): string
Allowed Values:
[ "Parameters" ]
Nested Schema : ParameterForDocumentReference
Type:
Show Source
object-
name(required): string
Allowed Values:
[ "patient", "start", "end", "type" ] -
valueCoding: object
Coding
-
valueDateTime: string
(date-time)
-
valueId: string
Response
Supported Media Types
- application/fhir+json
- application/json
200 Response
The searchset Bundle containing zero document references or one synthetic document reference.
Root Schema : BundleForDocumentReference
Type:
Show Source
object-
entry: array
entry
-
id(required): string
-
link: array
link
-
resourceType(required): string
Allowed Values:
[ "Bundle" ] -
type(required): string
Allowed Values:
[ "searchset" ]
Nested Schema : resource
Match One Schema
Show Source
-
object
DocumentReference
The FHIR R4 DocumentReference resource returned by read, search, or $docref operations.
-
object
ProvenanceForDocumentReference
Additional Properties Allowed:
true -
object
OperationOutcome
The FHIR OperationOutcome.
Nested Schema : DocumentReference
Type:
objectThe FHIR R4 DocumentReference resource returned by read, search, or $docref operations.
Show Source
-
author: array
author
-
category: array
category
-
content(required): array
content
-
context: object
ContextForDocumentReference
-
custodian: object
ReferenceForDocumentReference
-
date: string
(date-time)
-
docStatus: string
-
id(required): string
-
identifier: array
identifier
-
meta: object
meta
-
resourceType(required): string
Allowed Values:
[ "DocumentReference" ] -
status(required): string
-
subject(required): object
ReferenceForDocumentReference
-
type(required): object
CodeableConcept
Nested Schema : ProvenanceForDocumentReference
Type:
objectAdditional Properties Allowed:
Show Source
true-
resourceType: string
Allowed Values:
[ "Provenance" ]
Nested Schema : OperationOutcome
Type:
objectThe FHIR OperationOutcome.
Show Source
-
issue: array
issue
The OperationOutcome issues.
-
resourceType: string
Allowed Values:
[ "OperationOutcome" ]The FHIR resource type.
Nested Schema : CodeableConcept
Type:
Show Source
object-
coding: array
coding
The terminology codings or data-absent-reason coding.
-
id: string
-
text: string
The human-readable medication name.
Nested Schema : coding
Type:
arrayThe terminology codings or data-absent-reason coding.
Show Source
Nested Schema : BundleLink
Type:
Show Source
object-
relation: string
Allowed Values:
[ "self", "next", "previous" ]The link relation. -
url: string
The link URL.
Default Response
OperationOutcome.
Root Schema : OperationOutcome
Type:
objectThe FHIR OperationOutcome.
Show Source
-
issue: array
issue
The OperationOutcome issues.
-
resourceType: string
Allowed Values:
[ "OperationOutcome" ]The FHIR resource type.
Nested Schema : CodeableConcept
Type:
Show Source
object-
coding: array
coding
The terminology codings or data-absent-reason coding.
-
id: string
-
text: string
The human-readable medication name.
Nested Schema : coding
Type:
arrayThe terminology codings or data-absent-reason coding.
Show Source