YamlGen
  • Scope hl7.fhir.r5.core@5.0.0
  • Readonly
  • readonly

If you Log in or sign up, you can edit this script yourself.

  • beta
Patient
{
    "resourceType": "Patient",
    "id": "gen1",
    "meta": {
        "versionId": "534011718",
        "lastUpdated": "1900",
        "source": "http://hl7.org/fhir/reference",
        "profile":  [
            "http://not-so-random-yet"
        ],
        "security":  [
            {
                "system": "http://hl7.org/fhir/reference",
                "version": "Inventive Mouse",
                "display": "Fast Dog",
                "userSelected": false
            }
        ],
        "tag":  [
            {
                "system": "http://hl7.org/fhir/reference",
                "version": "Fantastic Zebra",
                "display": "Fantastic Dog",
                "userSelected": false
            }
        ]
    },
    "implicitRules": "http://hl7.org/fhir/reference",
    "identifier":  [
        {
            "use": "usual",
            "type": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/reference",
                        "version": "Hilarious Elephant",
                        "display": "Energetic Dog",
                        "userSelected": false
                    }
                ],
                "text": "Energetic Dog"
            },
            "system": "http://www.acme.com/identifiers/patient",
            "value": "123456",
            "period": {
                "start": "1997-09-21",
                "end": "2014-08-02"
            }
        }
    ],
    "active": false,
    "name":  [
        {
            "use": "usual",
            "text": "Slow Giraffe",
            "family": "Crazy Cat",
            "given":  [
                "Slow Cat"
            ],
            "prefix":  [
                "Hilarious Cat"
            ],
            "suffix":  [
                "Inventive Mouse"
            ],
            "period": {
                "start": "1997-07-21",
                "end": "1950-12-05"
            }
        }
    ],
    "telecom":  [
        {
            "system": "email",
            "value": "Inventive Zebra",
            "use": "temp",
            "rank": 1844137836,
            "period": {
                "start": "1954-04-02",
                "end": "1984-12-23"
            }
        }
    ],
    "gender": "female",
    "birthDate": "1969-12-17",
    "deceasedBoolean": false,
    "address":  [
        {
            "use": "work",
            "type": "postal",
            "text": "137 Nowhere Street, Erewhon 9132",
            "line":  [
                "137 Nowhere Street"
            ],
            "city": "Erewhon",
            "district": "Madison",
            "state": "Energetic Zebra",
            "postalCode": "9132",
            "country": "Fast Elephant",
            "period": {
                "start": "1995-12-06",
                "end": "1996-01-24"
            }
        }
    ],
    "maritalStatus": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/reference",
                "version": "Crazy Mouse",
                "display": "Fast Elephant",
                "userSelected": false
            }
        ],
        "text": "Energetic Elephant"
    },
    "multipleBirthBoolean": false,
    "photo":  [
        {
            "contentType": "text/plain; charset=UTF-8, image/png",
            "language": "en-AU",
            "url": "http://www.acme.com/logo-small.png",
            "title": "Official Corporate Logo",
            "creation": "1960-07-23",
            "height": 2039758977,
            "width": 182621155,
            "frames": 2090911250,
            "pages": 1048083132
        }
    ],
    "contact":  [
        {
            "relationship":  [
                {
                    "coding":  [
                        {
                            "system": "http://hl7.org/fhir/reference",
                            "version": "Fantastic Dog",
                            "display": "Crazy Badger",
                            "userSelected": false
                        }
                    ],
                    "text": "Fast Elephant"
                }
            ],
            "name": {
                "use": "old",
                "text": "Hilarious Elephant",
                "family": "Inventive Zebra",
                "given":  [
                    "Fantastic Giraffe"
                ],
                "prefix":  [
                    "Fast Giraffe"
                ],
                "suffix":  [
                    "Slow Zebra"
                ],
                "period": {
                    "start": "2002-08-27",
                    "end": "2014-06-10"
                }
            },
            "telecom":  [
                {
                    "system": "phone",
                    "value": "Fast Badger",
                    "use": "temp",
                    "rank": 689146701,
                    "period": {
                        "start": "1954-04-07",
                        "end": "1981-12-06"
                    }
                }
            ],
            "address": {
                "use": "home",
                "type": "postal",
                "text": "137 Nowhere Street, Erewhon 9132",
                "line":  [
                    "137 Nowhere Street"
                ],
                "city": "Erewhon",
                "district": "Madison",
                "state": "Slow Elephant",
                "postalCode": "9132",
                "country": "Fantastic Elephant",
                "period": {
                    "start": "1992-01-21",
                    "end": "2006-11-21"
                }
            },
            "gender": "male",
            "organization": {
                "reference": "Inventive Cat",
                "type": "http://hl7.org/fhir/reference",
                "identifier": {
                    "use": "secondary",
                    "type": {
                        "text": "Fantastic Badger"
                    },
                    "system": "http://www.acme.com/identifiers/patient",
                    "value": "123456",
                    "period": {
                        "start": "2010-04-08",
                        "end": "1965-05-14"
                    }
                },
                "display": "Fast Zebra"
            },
            "period": {
                "start": "1970-06-07",
                "end": "1958-04-29"
            }
        }
    ],
    "communication":  [
        {
            "language": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/reference",
                        "version": "Slow Badger",
                        "display": "Slow Mouse",
                        "userSelected": false
                    }
                ],
                "text": "Fantastic Elephant"
            },
            "preferred": false
        }
    ],
    "generalPractitioner":  [
        {
            "reference": "Fast Giraffe",
            "type": "http://hl7.org/fhir/reference",
            "identifier": {
                "use": "temp",
                "type": {
                    "coding":  [
                        {
                            "system": "http://hl7.org/fhir/reference",
                            "version": "Crazy Cat",
                            "display": "Inventive Badger",
                            "userSelected": false
                        }
                    ],
                    "text": "Hilarious Elephant"
                },
                "system": "http://www.acme.com/identifiers/patient",
                "value": "123456",
                "period": {
                    "start": "1994-04-16",
                    "end": "2008-02-11"
                }
            },
            "display": "Hilarious Dog"
        }
    ],
    "managingOrganization": {
        "reference": "Energetic Mouse",
        "type": "http://hl7.org/fhir/reference",
        "identifier": {
            "use": "temp",
            "type": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/reference",
                        "version": "Fantastic Giraffe",
                        "display": "Fantastic Badger",
                        "userSelected": false
                    }
                ],
                "text": "Crazy Elephant"
            },
            "system": "http://www.acme.com/identifiers/patient",
            "value": "123456",
            "period": {
                "start": "1955-08-24",
                "end": "2012-12-19"
            }
        },
        "display": "Inventive Mouse"
    },
    "link":  [
        {
            "other": {
                "reference": "Fantastic Zebra",
                "type": "http://hl7.org/fhir/reference",
                "identifier": {
                    "use": "usual",
                    "type": {
                        "text": "Energetic Cat"
                    },
                    "system": "http://www.acme.com/identifiers/patient",
                    "value": "123456",
                    "period": {
                        "start": "2012-01-12",
                        "end": "1953-09-07"
                    }
                },
                "display": "Crazy Elephant"
            },
            "type": "replaces"
        }
    ]
}
<Patient xmlns="http://hl7.org/fhir">
    <id value="gen1" />
    <meta>
        <versionId value="534011718" />
        <lastUpdated value="1900" />
        <source value="http://hl7.org/fhir/reference" />
        <profile value="http://not-so-random-yet" />
        <security>
            <system value="http://hl7.org/fhir/reference" />
            <version value="Inventive Mouse" />
            <display value="Fast Dog" />
            <userSelected value="false" />
        </security>
        <tag>
            <system value="http://hl7.org/fhir/reference" />
            <version value="Fantastic Zebra" />
            <display value="Fantastic Dog" />
            <userSelected value="false" />
        </tag>
    </meta>
    <implicitRules value="http://hl7.org/fhir/reference" />
    <identifier>
        <use value="usual" />
        <type>
            <coding>
                <system value="http://hl7.org/fhir/reference" />
                <version value="Hilarious Elephant" />
                <display value="Energetic Dog" />
                <userSelected value="false" />
            </coding>
            <text value="Energetic Dog" />
        </type>
        <system value="http://www.acme.com/identifiers/patient" />
        <value value="123456" />
        <period>
            <start value="1997-09-21" />
            <end value="2014-08-02" />
        </period>
    </identifier>
    <active value="false" />
    <name>
        <use value="usual" />
        <text value="Slow Giraffe" />
        <family value="Crazy Cat" />
        <given value="Slow Cat" />
        <prefix value="Hilarious Cat" />
        <suffix value="Inventive Mouse" />
        <period>
            <start value="1997-07-21" />
            <end value="1950-12-05" />
        </period>
    </name>
    <telecom>
        <system value="email" />
        <value value="Inventive Zebra" />
        <use value="temp" />
        <rank value="1844137836" />
        <period>
            <start value="1954-04-02" />
            <end value="1984-12-23" />
        </period>
    </telecom>
    <gender value="female" />
    <birthDate value="1969-12-17" />
    <deceasedBoolean value="false" />
    <address>
        <use value="work" />
        <type value="postal" />
        <text value="137 Nowhere Street, Erewhon 9132" />
        <line value="137 Nowhere Street" />
        <city value="Erewhon" />
        <district value="Madison" />
        <state value="Energetic Zebra" />
        <postalCode value="9132" />
        <country value="Fast Elephant" />
        <period>
            <start value="1995-12-06" />
            <end value="1996-01-24" />
        </period>
    </address>
    <maritalStatus>
        <coding>
            <system value="http://hl7.org/fhir/reference" />
            <version value="Crazy Mouse" />
            <display value="Fast Elephant" />
            <userSelected value="false" />
        </coding>
        <text value="Energetic Elephant" />
    </maritalStatus>
    <multipleBirthBoolean value="false" />
    <photo>
        <contentType value="text/plain; charset=UTF-8, image/png" />
        <language value="en-AU" />
        <url value="http://www.acme.com/logo-small.png" />
        <title value="Official Corporate Logo" />
        <creation value="1960-07-23" />
        <height value="2039758977" />
        <width value="182621155" />
        <frames value="2090911250" />
        <pages value="1048083132" />
    </photo>
    <contact>
        <relationship>
            <coding>
                <system value="http://hl7.org/fhir/reference" />
                <version value="Fantastic Dog" />
                <display value="Crazy Badger" />
                <userSelected value="false" />
            </coding>
            <text value="Fast Elephant" />
        </relationship>
        <name>
            <use value="old" />
            <text value="Hilarious Elephant" />
            <family value="Inventive Zebra" />
            <given value="Fantastic Giraffe" />
            <prefix value="Fast Giraffe" />
            <suffix value="Slow Zebra" />
            <period>
                <start value="2002-08-27" />
                <end value="2014-06-10" />
            </period>
        </name>
        <telecom>
            <system value="phone" />
            <value value="Fast Badger" />
            <use value="temp" />
            <rank value="689146701" />
            <period>
                <start value="1954-04-07" />
                <end value="1981-12-06" />
            </period>
        </telecom>
        <address>
            <use value="home" />
            <type value="postal" />
            <text value="137 Nowhere Street, Erewhon 9132" />
            <line value="137 Nowhere Street" />
            <city value="Erewhon" />
            <district value="Madison" />
            <state value="Slow Elephant" />
            <postalCode value="9132" />
            <country value="Fantastic Elephant" />
            <period>
                <start value="1992-01-21" />
                <end value="2006-11-21" />
            </period>
        </address>
        <gender value="male" />
        <organization>
            <reference value="Inventive Cat" />
            <type value="http://hl7.org/fhir/reference" />
            <identifier>
                <use value="secondary" />
                <type>
                    <text value="Fantastic Badger" />
                </type>
                <system value="http://www.acme.com/identifiers/patient" />
                <value value="123456" />
                <period>
                    <start value="2010-04-08" />
                    <end value="1965-05-14" />
                </period>
            </identifier>
            <display value="Fast Zebra" />
        </organization>
        <period>
            <start value="1970-06-07" />
            <end value="1958-04-29" />
        </period>
    </contact>
    <communication>
        <language>
            <coding>
                <system value="http://hl7.org/fhir/reference" />
                <version value="Slow Badger" />
                <display value="Slow Mouse" />
                <userSelected value="false" />
            </coding>
            <text value="Fantastic Elephant" />
        </language>
        <preferred value="false" />
    </communication>
    <generalPractitioner>
        <reference value="Fast Giraffe" />
        <type value="http://hl7.org/fhir/reference" />
        <identifier>
            <use value="temp" />
            <type>
                <coding>
                    <system value="http://hl7.org/fhir/reference" />
                    <version value="Crazy Cat" />
                    <display value="Inventive Badger" />
                    <userSelected value="false" />
                </coding>
                <text value="Hilarious Elephant" />
            </type>
            <system value="http://www.acme.com/identifiers/patient" />
            <value value="123456" />
            <period>
                <start value="1994-04-16" />
                <end value="2008-02-11" />
            </period>
        </identifier>
        <display value="Hilarious Dog" />
    </generalPractitioner>
    <managingOrganization>
        <reference value="Energetic Mouse" />
        <type value="http://hl7.org/fhir/reference" />
        <identifier>
            <use value="temp" />
            <type>
                <coding>
                    <system value="http://hl7.org/fhir/reference" />
                    <version value="Fantastic Giraffe" />
                    <display value="Fantastic Badger" />
                    <userSelected value="false" />
                </coding>
                <text value="Crazy Elephant" />
            </type>
            <system value="http://www.acme.com/identifiers/patient" />
            <value value="123456" />
            <period>
                <start value="1955-08-24" />
                <end value="2012-12-19" />
            </period>
        </identifier>
        <display value="Inventive Mouse" />
    </managingOrganization>
    <link>
        <other>
            <reference value="Fantastic Zebra" />
            <type value="http://hl7.org/fhir/reference" />
            <identifier>
                <use value="usual" />
                <type>
                    <text value="Energetic Cat" />
                </type>
                <system value="http://www.acme.com/identifiers/patient" />
                <value value="123456" />
                <period>
                    <start value="2012-01-12" />
                    <end value="1953-09-07" />
                </period>
            </identifier>
            <display value="Crazy Elephant" />
        </other>
        <type value="replaces" />
    </link>
</Patient>