Create a patient
post
/Patient
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.
Creates a patient from the supported HL7 US Core 6.1.0 input subset. This operation requires theregistration-facility-organization extension in Patient.extension.
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:
objectThe supported patient input for create.
Show Source
-
active: boolean
Allowed Values:
[ true ] -
address: array
address
-
birthDate: string
(date)
-
communication: array
communication
Maximum Number of Items:
1 -
extension(required): array
extension
Minimum Number of Items:
1 -
gender(required): string
Allowed Values:
[ "male", "female", "other", "unknown" ] -
generalPractitioner: array
generalPractitioner
-
identifier(required): array
identifier
Minimum Number of Items:
1 -
maritalStatus: object
CodeableConcept
-
name(required): array
name
Minimum Number of Items:
1 -
resourceType(required): string
Allowed Values:
[ "Patient" ] -
telecom: array
telecom
Nested Schema : extension
Type:
arrayMinimum Number of Items:
Show Source
1-
Array of:
object ExtensionForPatient
The FHIR extension, including supported US Core and Oracle patient extensions.
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 : ExtensionForPatient
Type:
objectThe FHIR extension, including supported US Core and Oracle patient extensions.
Show Source
Nested Schema : extension
Type:
Show Source
array-
Array of:
object ExtensionForPatient
The FHIR extension, including supported US Core and Oracle patient extensions.
Nested Schema : extension
Type:
Show Source
array-
Array of:
object ExtensionForPatient
The FHIR extension, including supported US Core and Oracle patient extensions.
Nested Schema : coding
Type:
arrayThe terminology codings or data-absent-reason coding.
Show Source
Nested Schema : ContactPointForPatient
Type:
Show Source
object-
_system: object
PrimitiveElementForPatient
-
_value: object
PrimitiveElementForPatient
-
extension: array
extension
-
period: object
Period
-
rank: integer
Minimum Value:
1 -
system: string
Allowed Values:
[ "phone", "fax", "email", "pager", "url", "sms", "other" ] -
use: string
Allowed Values:
[ "home", "work", "temp", "old", "mobile" ] -
value: string
Nested Schema : extension
Type:
Show Source
array-
Array of:
object ExtensionForPatient
The FHIR extension, including supported US Core and Oracle patient extensions.
Root Schema : schema
Type:
objectThe supported patient input for create.
Show Source
-
active: boolean
Allowed Values:
[ true ] -
address: array
address
-
birthDate: string
(date)
-
communication: array
communication
Maximum Number of Items:
1 -
extension(required): array
extension
Minimum Number of Items:
1 -
gender(required): string
Allowed Values:
[ "male", "female", "other", "unknown" ] -
generalPractitioner: array
generalPractitioner
-
identifier(required): array
identifier
Minimum Number of Items:
1 -
maritalStatus: object
CodeableConcept
-
name(required): array
name
Minimum Number of Items:
1 -
resourceType(required): string
Allowed Values:
[ "Patient" ] -
telecom: array
telecom
Nested Schema : extension
Type:
arrayMinimum Number of Items:
Show Source
1-
Array of:
object ExtensionForPatient
The FHIR extension, including supported US Core and Oracle patient extensions.
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 : ExtensionForPatient
Type:
objectThe FHIR extension, including supported US Core and Oracle patient extensions.
Show Source
Nested Schema : extension
Type:
Show Source
array-
Array of:
object ExtensionForPatient
The FHIR extension, including supported US Core and Oracle patient extensions.
Nested Schema : extension
Type:
Show Source
array-
Array of:
object ExtensionForPatient
The FHIR extension, including supported US Core and Oracle patient extensions.
Nested Schema : coding
Type:
arrayThe terminology codings or data-absent-reason coding.
Show Source
Nested Schema : ContactPointForPatient
Type:
Show Source
object-
_system: object
PrimitiveElementForPatient
-
_value: object
PrimitiveElementForPatient
-
extension: array
extension
-
period: object
Period
-
rank: integer
Minimum Value:
1 -
system: string
Allowed Values:
[ "phone", "fax", "email", "pager", "url", "sms", "other" ] -
use: string
Allowed Values:
[ "home", "work", "temp", "old", "mobile" ] -
value: string
Nested Schema : extension
Type:
Show Source
array-
Array of:
object ExtensionForPatient
The FHIR extension, including supported US Core and Oracle patient extensions.
Response
Supported Media Types
- application/fhir+json
201 Response
400 Response
The registration-facility input is invalid.
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
422 Response
The patient or terminology validation failed.
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
500 Response
The patient creation failed.
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