ConceptMap
eps-issue-code-to-fhir-issue-type
| Url |
|---|
| https://fhir.nhs.uk/ConceptMap/eps-issue-code-to-fhir-issue-type |
| Source CodeSystem | Destination CodeSystem |
|---|---|
| https://fhir.nhs.uk/CodeSystem/EPS-IssueCode | http://hl7.org/fhir/issue-type |
| Source | Equivalence | Target | Comment |
|---|---|---|---|
| PATIENT_DECEASED (Patient is recorded as dead) | specializes | business-rule (Business Rule Violation) | HTTP code: 422 |
| DUPLICATE_PRESCRIPTION_ID (Duplicate prescription ID exists) | specializes | duplicate (Duplicate) | HTTP code: 422 |
| INVALID_NUMBER_MEDICATIONREQUEST (Number of items on a prescription should be between 1 and 4) | specializes | business-rule (Business Rule Violation) | HTTP code: 422 |
| MISMATCH_AUTHORISED_REPEAT_COUNT (Mismatch in authorised repeat counts) | specializes | business-rule (Business Rule Violation) | HTTP code: 422 |
| INVALID_REPEAT_COUNT (Repeat count should be between 1 and 99) | specializes | business-rule (Business Rule Violation) | HTTP code: 422 |
| DUPLICATE_MEDICATIONREQUEST_ID (Duplicate item ID exists) | specializes | duplicate (Duplicate) | HTTP code: 422 |
| INVALID_CHECK_DIGIT (Error in check digit) | specializes | value (Element value invalid) | HTTP code: 400 |
| INVALID_MESSAGE (Invalid message) | specializes | structure (Structural Issue) | HTTP code: 400 |
{
{
{
{
}
]
},
{
{
}
]
},
{
{
}
]
},
{
{
}
]
},
{
{
}
]
},
{
{
}
]
},
{
{
}
]
},
{
{
}
]
}
]
}
]
}
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</group>
</ConceptMap>
issueType-to-http-status-code
| Url |
|---|
| https://fhir.nhs.uk/ConceptMap/issueType-to-http-status-code |
| Source CodeSystem | Destination CodeSystem |
|---|---|
| http://hl7.org/fhir/issue-type | http://hl7.org/fhir/http-status-code (for reference only, not an actual CodeSystem) |
| Source | Equivalence | Target | Comment |
|---|---|---|---|
| not-found (Not Found) | specializes | 404 (Not Found) | |
| value (Element value invalid) | specializes | 400 (Bad Request) | |
| business-rule (Business Rule Violation) | specializes | 400 (Bad Request) | Should be 422? |
| invalid (Invalid Content) | specializes | 400 (Bad Request) | |
| invalid (Invalid Content) | specializes | 422 (UNPROCESSABLE_ENTITY) | Should be 400? |
| code-invalid (Invalid Code) | specializes | 400 (BAD REQUEST) | Should be 422? |
| forbidden (Forbidden) | specializes | 403 (Forbidden) | |
| forbidden (Forbidden) | specializes | 401 (CLIENT_UNAUTHORIZED) | Wrong issueType - login/unknown better? |
| forbidden (Forbidden) | specializes | 405 (METHOD_NOT_ALLOWED) | Is 405 more suited to wrong http verb being used. This should still be 403 |
| duplicate (Duplicate) | specializes | 422 (UNPROCESSABLE_ENTITY) | |
| structure (Structural Issue) | specializes | 400 (BAD REQUEST) | |
| not-supported (Content not supported) | specializes | 501 (NOT_IMPLEMENTED) | |
| processing (Processing Failure) | specializes | 500 (INTERNAL_ERROR) | Mapping is wrong here. processing should be 422 |
| informational (Informational Note) | specializes | 201 (CREATED) | |
| informational (Informational Note) | specializes | 200 (OK) | |
| informational (Informational Note) | specializes | 202 (ACCEPTED) |
{
"description": "issueType-to-http-status-code for illustration only. Mapping extracted from HAPI FHIR",
{
{
]
},
{
]
},
{
{
}
]
},
{
]
},
{
{
}
]
},
{
{
}
]
},
{
]
},
{
{
}
]
},
{
{
}
]
},
{
]
},
{
]
},
{
]
},
{
{
}
]
},
{
]
},
{
]
},
{
]
}
]
}
]
}
<description value="issueType-to-http-status-code for illustration only. Mapping extracted from HAPI FHIR" />
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</group>
</ConceptMap>
organisation-role-to-organisation-type
| Url |
|---|
| https://fhir.nhs.uk/ConceptMap/organisation-role-to-organisation-type |
| Source CodeSystem | Destination CodeSystem |
|---|---|
| organisationrole | organisationtype |
{
{
{
]
},
{
]
},
{
]
}
]
}
]
}
</target>
</element>
</target>
</element>
</target>
</element>
</group>
</ConceptMap>
name-use-v2-hscic
| Url |
|---|
| https://fhir.nhs.uk/ConceptMap/name-use-v2-hscic |
{
--- We have skipped the narrative for better readability of the resource ---
},
{
]
}
],
{
{
},
{
},
{
},
{
},
{
}
]
}
]
}
--- We have skipped the narrative for better readability of the resource ---
</text>
</telecom>
</contact>
</element>
</element>
</element>
</element>
</element>
</group>
</ConceptMap>
name-use-v3-npfit
| Url |
|---|
| https://fhir.nhs.uk/ConceptMap/name-use-v3-npfit |
| Source CodeSystem | Destination CodeSystem |
|---|---|
| NameUse | v3.EntityNameUse |
| NameUse | v3npfitnameuse |
| Source | Equivalence | Target |
|---|---|---|
| usual (Usual) | equal | L (Legal) |
| official (Official) | subsumes | L (Legal) |
| temp (Temp) | subsumes | A (Artist/Stage) |
| anonymous (Anonymous) | equivalent | A (Artist/Stage) |
| Source | Equivalence | Target |
|---|---|---|
| nickname (Nickname) | subsumes | PREFERRED (Preferred name) |
| old (Old) | equivalent | PREVIOUS (Other previous name) |
| maiden (Name changed for Marriage) | equal | PREVIOUS-MAIDEN (Maiden name) |
{
{
{
]
},
{
]
},
{
]
},
{
]
}
]
},
{
{
]
},
{
]
},
{
]
}
]
}
]
}
</target>
</element>
</target>
</element>
</target>
</element>
</target>
</element>
</group>
</target>
</element>
</target>
</element>
</target>
</element>
</group>
</ConceptMap>