Patient

In diesem Beispiel erstellen wir den Patienten:

POSThttp://hapi.fhir.org/baseR4/Patient

Header .json .xml
Accept application/fhir+json application/fhir+xml
Content-Type application/fhir+json application/fhir+xm

Beispieldaten:

<Patient xmlns="http://hl7.org/fhir">
    <id value="f001" />
     <meta>
        <profile value="http://fhir.vital-services.de/R4/StructureDefinition/NotfalldatensatzPatient"/>
    </meta>
    <identifier>
        <use value="usual" />
        <type>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v2-0203" />
                <code value="MR" />
            </coding>
        </type>
        <system value="http://www.acme.com/identifiers/patient" />
        <value value="738472983" />
    </identifier>
    <identifier>
        <use value="official" />
        <type>
            <coding>
                <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/>
                <code value="GKV"/>
            </coding>
        </type>
        <system value="http://fhir.de/NamingSystem/gkv/kvid-10" />
        <value value="12345678" />
    </identifier>
    <active value="true" />
    <name>
        <use value="usual" />
        <family value="van de Heuvel" />
        <given value="Pieter" />
        <suffix value="MSc" />
    </name>
    <telecom>
        <system value="phone" />
        <value value="0648352638" />
        <use value="mobile" />
    </telecom>
    <telecom>
        <system value="email" />
        <value value="p.heuvel@gmail.com" />
        <use value="home" />
    </telecom>
    <gender value="male" />
    <birthDate value="1944-11-21" />
    <deceasedBoolean value="false" />
    <address>
        <use value="home" />
        <line value="Van Egmondkade 23" />
        <city value="Amsterdam" />
        <postalCode value="1024 RJ" />
        <country value="NLD" />
    </address>
    <maritalStatus>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-MaritalStatus" />
            <code value="M" />
            <display value="Married" />
        </coding>
        <text value="Getrouwd" />
    </maritalStatus>
    <multipleBirthBoolean value="true" />
    <contact>
        <relationship>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v2-0131" />
                <code value="C" />
            </coding>
        </relationship>
        <name>
            <use value="usual" />
            <family value="Abels" />
            <given value="Sarah" />
        </name>
        <telecom>
            <system value="phone" />
            <value value="0690383372" />
            <use value="mobile" />
        </telecom>
    </contact>
    <communication>
        <language>
            <coding>
                <system value="urn:ietf:bcp:47" />
                <code value="nl" />
                <display value="Dutch" />
            </coding>
            <text value="Nederlands" />
        </language>
        <preferred value="true" />
    </communication>
</Patient>

Outcome:

Status: 201 Created

Erstellte FHIR Ressource:

<Patient xmlns="http://hl7.org/fhir">
    <id value="1628021"/>
    <meta>
        <versionId value="1"/>
        <lastUpdated value="2020-11-02T09:10:30.932+00:00"/>
        <profile value="http://fhir.vital-services.de/R4/StructureDefinition/NotfalldatensatzPatient"/>
    </meta>
    <identifier>
        <use value="usual"/>
        <type>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v2-0203"/>
                <code value="MR"/>
            </coding>
        </type>
        <system value="http://www.acme.com/identifiers/patient"/>
        <value value="738472983"/>
    </identifier>
    <identifier>
        <use value="official"/>
        <type>
            <coding>
                <system value="http://fhir.de/CodeSystem/identifier-type-de-basis"/>
                <code value="GKV"/>
            </coding>
        </type>
        <system value="http://fhir.de/NamingSystem/gkv/kvid-10"/>
        <value value="12345678"/>
    </identifier>
    <active value="true"/>
    <name>
        <use value="usual"/>
        <family value="van de Heuvel"/>
        <given value="Pieter"/>
        <suffix value="MSc"/>
    </name>
    <telecom>
        <system value="phone"/>
        <value value="0648352638"/>
        <use value="mobile"/>
    </telecom>
    <telecom>
        <system value="email"/>
        <value value="p.heuvel@gmail.com"/>
        <use value="home"/>
    </telecom>
    <gender value="male"/>
    <birthDate value="1944-11-21"/>
    <deceasedBoolean value="false"/>
    <address>
        <use value="home"/>
        <line value="Van Egmondkade 23"/>
        <city value="Amsterdam"/>
        <postalCode value="1024 RJ"/>
        <country value="NLD"/>
    </address>
    <maritalStatus>
        <coding>
            <system value="http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"/>
            <code value="M"/>
            <display value="Married"/>
        </coding>
        <text value="Getrouwd"/>
    </maritalStatus>
    <multipleBirthBoolean value="true"/>
    <contact>
        <relationship>
            <coding>
                <system value="http://terminology.hl7.org/CodeSystem/v2-0131"/>
                <code value="C"/>
            </coding>
        </relationship>
        <name>
            <use value="usual"/>
            <family value="Abels"/>
            <given value="Sarah"/>
        </name>
        <telecom>
            <system value="phone"/>
            <value value="0690383372"/>
            <use value="mobile"/>
        </telecom>
    </contact>
    <communication>
        <language>
            <coding>
                <system value="urn:ietf:bcp:47"/>
                <code value="nl"/>
                <display value="Dutch"/>
            </coding>
            <text value="Nederlands"/>
        </language>
        <preferred value="true"/>
    </communication>
</Patient>