API Input
This API accepts US Core based json bundle, based on HL7 FHIR V4 as an input.
FHIR® – Fast Healthcare Interoperability Resources (hl7.org/fhir) – is a next generation standards framework created by HL7. FHIR v4 combines the best features of HL7’s v2, HL7 v3 and CDA product lines while leveraging the latest web standards and applying a tight focus on implementability.
Input submitted to this API MUST be in the form of a well formatted FHIR Resource Bundle. The Resource Bundle MUST contain the resources outlined below to be considered for processing.
This API implements R4 of the FHIR specification and STU3 of the US Core Implementation Guide. Please use a FHIR validator to ensure submitted requests are valid FHIR Resource Bundle.
For more information about FHIR please see:
This API is made with using the HAPI FHIR library. We recommend you use HAPI FHIR when transmitting data for this API.
This is only an overview of the accepted FHIR Resource Bundle and is not exhaustive. Please refer to the FHIR specification for the full format.
The FHIR Resource Bundle is a container object which holds an array of Bundle.entry objects.
{
"resourceType" : "Bundle",
"type": "collection",
"entry" : [
// Array of Bundle.entry objects
]
}
A FHIR Resource Bundle MAY contain one the following resources. Please note the resources that are REQUIRED by this API.
Resources that are required by this API are marked “ REQUIRED”
REQUIRED: The submitted FHIR Resource Bundle MUST contain this Resource as an entry.
Resource Definition: Claim
Myndshft Required Claim Elements:
| Name | Description |
|---|---|
| priority | Please do not use this service for ‘stat’ or urgent requests! |
| use | Must have value “preauthorization” |
| patient.reference | Reference Patient resource; The recipient of service |
| provider.reference | Reference Practitioner or Organization resource; Party responsible for the claim |
| insurance.coverage.reference | Reference Coverage resource; patient insurance information |
| item.extension | valueCodeableConcept specifying CertficiationType |
| item.serviceDate | Date the service is being requested for |
| item.procductOrService | valueCodeableConcept specifiying the CPT code for the service to adjudicate |
| item.locationCodeableConcept | Place of Service |
REQUIRED: The submitted FHIR Resource Bundle MUST contain this Resource as an entry.
Resource Definition: Patient
Myndshft Required Patient Elements:
| Name | Description |
|---|---|
| name.family | Patient’s legal Last Name |
| name.given | Patient’s legal First Name |
| name.use | use = “official” for the prefered name to use |
| extension.birthsex | Please do not use this service for ‘stat’ or urgent requests! |
| birthDate | The date of birth for the Patient |
| address | Patient’s current address use must = “home” |
| telecom.value | The contact phone number for the Patient |
| telecom.system | Must have value “phone” |
| telecom.use | May be “mobile”, “home” or “work” |
REQUIRED: The submitted FHIR Resource Bundle MUST contain this Resource as an entry.
Resource Definition: Organization
Myndshft Required Organization Elements:
| Name | Description |
|---|---|
| identifier | Identifies this organization across multiple systems |
REQUIRED: The submitted FHIR Resource Bundle MUST contain this Resource as an entry.
Resource Definition: Coverage
Myndshft Required Coverage Elements:
| Name | Description |
|---|---|
| subscriberId | ID assigned to the subscriber |
REQUIRED: The submitted FHIR Resource Bundle MUST contain this Resource as an entry.
Resource Definition: Practitioner
Myndshft Required Practitioner Elements:
| Name | Description |
|---|---|
| subscriberId | ID assigned to the subscriber |
| name.use | use = “official” for the prefered name to use |
Resource Definition: Condition
Notes on Use: If a diagnosis code is provided on the Claim resource it does not need to be duplicated here.
| Name | Description |
|---|---|
| category.coding.code | Specifies the category of the condition |
| code.coding.system | Use SNOMED or ICD10 condition codes |
Resource Definition: Observation
If Laboratory resource is specified in addition to the FHIR required elements, the following elements are required by Myndshft.
| Name | Description |
|---|---|
| category.coding.code | “laboratory” |
| subject.reference | Patient the observation is about |
If Image resource is specified in addition to the FHIR required elements, the following elements are required by Myndshft.
| Name | Description |
|---|---|
| category.coding.code | “image” |
| subject.reference | Patient the observation is about |
If Vital Sign resource is specified in addition to the FHIR required elements, the following elements are required by Myndshft.
| Name | Description |
|---|---|
| category.coding.code | “vital-signs” |
| code.coding | Code specifying what type of vital signs is provided |
Resource Definition: CareTeam
Resource Definition: CarePlan
If CarePlan resource is specified in addition to the FHIR required elements, the following elements are required by Myndshft.
| Name | Description |
|---|---|
| text.status | Narrative Status |
| text.status.display | Narrative Summary |
Resource Definition: Goal
Resource Definition: DocumentReference
If DocumentReference resource is specified in addition to the FHIR required elements, the following elements are required by Myndshft.
| Name | Description |
|---|---|
| masterIdentifier | Master Version Specific Identifier |
| type | Myndshft will only map the following LOINC Codes “11488-4” - Consultation Note; “18842-5” - Discharge Summary; “11506-3” - Progress Note;“68608-9” - Summary Note" |
| category | Categorization of document using Document Class Value Set |
| subject.reference | Patient the observation is about |
Resource Definition: DiagnosticReport
Myndshft will only map the following DiagnosticReport Report Codes
| Code.code | Description |
|---|---|
| 34117-2 | History and Physical |
| 18748-4 | Imaging Narrative |
| 77202-0 | Lab Report Narrative |
| LP7839-6 | Pathology |
| 11526-1 | Procedure Note |
| 11506-3 | Progress Note |
| Category.code | Description |
|---|---|
| ‘OTH’ | Other |
Resource Definition: AllergyIntolerance
If AllergyIntolerance resource is specified in addition to the FHIR required elements, the following elements are required by Myndshft.
| Name | Description |
|---|---|
| verificationStatus | AllergyIntolerance VerificationStatus |
| reaction.coding | Code that identifies the allergy or intolerance |
Resource Definition: Immunization
If Immunization resource is specified in addition to the FHIR required elements, the following elements are required by Myndshft.
| Name | Description |
|---|---|
| primarySource | Indicates context the data was recorded in |
Resource Definition: Medication
Resource Definition: Provenance
A sample FHIR Resource Bundle can be found below.