Create DocumentReference v2
Send a POST to
- production environment :
https://api.lifen.fr/fhir/v2/DocumentReference
- test environment :
https://api.post-prod.lifen.fr/fhir/v2/DocumentReference
with a JSON body containing the reference to the previously created Binary as well as the document metadata.
Your DocumentReference should include a document type, see our list of type code bellow (most of them from the LOINC standard):
Code | Display |
---|---|
OTHER | Other |
11488-4 | Consultation note |
34874-8 | Surgery Surgical operation note |
11493-4 | Hospital discharge studies summary Narrative |
11502-2 | Laboratory report |
29551-9 | Medication prescribed |
57828-6 | Prescription list |
11490-0 | Physician Discharge summary |
34794-8 | Interdisciplinary Note |
11526-1 | Pathology study |
18748-4 | Diagnostic imaging study |
56446-8 | Appointment summary Document |
67851-6 | Admission evaluation note |
57133-1 | Referral note |
57826-0 | Co-payment amount Narrative |
CERT_DECL | Certificate |
15508-5 | Labor and delivery records |
Example :
{
"resourceType": "DocumentReference",
"status": "current",
"docStatus": "final",
"type": {
"coding": [
{
"system": "http://loinc.org",
"code": "11488-4",
"display": "Consultation note"
}
]
},
"indexed": "2018-02-09T16:00:44+01:00",
"description": "binary",
"content": [
{
"attachment": {
"contentType": "application/pdf",
"url": "Binary/5231751",
"title": "binary.pdf"
}
}
]
}
Updated about 2 years ago