Ασθενείς

Καταχώριση νέου οικογενειακού ιστορικού

Request

POST https://server-ol.hipaservices.com/fhir/FamilyMemberHistory/

Request Body

{
    "resourceType": "FamilyMemberHistory",
    "status": "completed",
    "relationship": {
        "coding": [
            {
                "system": "http://localhost/fhir/ValueSet/RelativeRelationship",
                "code": "REL.MOT"
            }
        ]
    },
    "patient": {
        "reference": "Patient/01101001010"
    },
    "condition": [
        {
            "code": {
                "coding": [
                    {
                        "system": "http://localhost/fhir/ValueSet/Icd10Diagnosis",
                        "code": "C50"
                    }
                ]
            },
            "extension": [
                {
                    "url": "http://localhost/fhir/StructureDefinition/GeneticPredisposition",
                    "valueBoolean": true
                }
            ]
        }
    ]
}

Response

{
    "resourceType": "OperationOutcome",
    "issue": [
        {
            "severity": "information",
            "code": "informational",
            "diagnostics": "Resource was creted successfully!"
        }
    ]
}

Παρατηρήσεις

Το URL του νέου resource επιστρέφεται στο Location header του response.