Patienten-Profil

Bleh:

identifierΣ0..*Identifier
activeΣ ?!0..1boolean
useΣ ?!1..1codeBindingFixed Value
textΣ0..1string
familyΣ1..1string
givenΣ1..*string
prefixΣ0..*string
suffixΣ0..*string
periodΣ I0..1Period
useΣ ?!1..1codeBindingFixed Value
textΣ0..1string
familyΣ1..1string
givenΣ0..*string
prefixΣ0..*string
suffixΣ0..*string
periodΣ I0..1Period
telecomΣ I0..*ContactPoint
genderΣ0..1codeBinding
birthDateΣ1..1date
deceasedBooleanboolean
deceasedDateTimedateTime
addressΣ1..*Adresse mit Planet
maritalStatus0..1CodeableConceptBinding
multipleBirthBooleanboolean
multipleBirthIntegerinteger
photoI0..*Attachment
relationship0..*CodeableConceptBinding
name0..1HumanName
telecomI0..*ContactPoint
address0..1Adresse mit Planet
gender0..1codeBinding
organizationI0..1Reference(Organization)
periodI0..1Period
language1..1CodeableConceptBinding
preferred0..1boolean
generalPractitionerI0..*Reference(Organization | Practitioner | PractitionerRole)
managingOrganizationΣ I0..1Reference(Organization)
otherΣ I1..1Reference(Patient | RelatedPerson)
typeΣ1..1codeBinding

Blub:

planetI1..1Extension(string)
useΣ ?!0..1codeBinding
typeΣ0..1codeBinding
textΣ0..1string
lineΣ1..*string
cityΣ1..1string
districtΣ0..1string
stateΣ0..1string
postalCodeΣ0..1string
countryΣ0..1string
periodΣ I0..1Period

XML:

<Patient xmlns="http://hl7.org/fhir">
    <meta>
        <profile value="http://fiktiver-name.de/fhir/StructureDefinition/MeinPatient" />
    </meta>
    <name>
        <use value="official" />
        <family value="Mustermann" />
        <given value="Max" />
    </name>
    <name>
        <use value="maiden" />
        <family value="Max" />
        <given value="Max" />
    </name>
    <birthDate value="1980-01-01" />
    <address>
        <extension url="http://fhir.ufp/StructureDefinition/planet">
            <valueString value="Terra" />
        </extension>
        <line value="Musterstra&#223;e 100" />
        <city value="Musterstadt" />
    </address>
</Patient>

JSON:

{
    "resourceType": "Patient",
    "meta": {
        "profile":  [
            "http://fiktiver-name.de/fhir/StructureDefinition/MeinPatient"
        ]
    },
    "name":  [
        {
            "use": "official",
            "given":  [
                "Max"
            ],
            "family": "Mustermann"
        },
        {
            "use": "maiden",
            "family": "Max",
            "given":  [
                "Max"
            ]
        }
    ],
    "birthDate": "1980-01-01",
    "address":  [
        {
            "extension":  [
                {
                    "url": "http://fhir.ufp/StructureDefinition/planet",
                    "valueString": "Terra"
                }
            ],
            "line":  [
                "Musterstraße 100"
            ],
            "city": "Musterstadt"
        }
    ]
}