Skip to content

Instantly share code, notes, and snippets.

@ryukzak
Created April 10, 2025 07:55
Show Gist options
  • Select an option

  • Save ryukzak/18b40b542f2714fbd36e3cd5e72c612c to your computer and use it in GitHub Desktop.

Select an option

Save ryukzak/18b40b542f2714fbd36e3cd5e72c612c to your computer and use it in GitHub Desktop.
{
"identifier": {
"kind": "resource",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Patient",
"url": "http://hl7.org/fhir/StructureDefinition/Patient"
},
"base": {
"kind": "resource",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "DomainResource",
"url": "http://hl7.org/fhir/StructureDefinition/DomainResource"
},
"description": "Demographics and other administrative information about an individual or animal receiving care or other health-related services.",
"fields": {
"multipleBirthBoolean": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "boolean",
"url": "http://hl7.org/fhir/StructureDefinition/boolean"
},
"choiceOf": "multipleBirth"
},
"address": {
"array": true,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Address",
"url": "http://hl7.org/fhir/StructureDefinition/Address"
}
},
"deceasedDateTime": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "dateTime",
"url": "http://hl7.org/fhir/StructureDefinition/dateTime"
},
"choiceOf": "deceased"
},
"managingOrganization": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Reference",
"url": "http://hl7.org/fhir/StructureDefinition/Reference"
},
"reference": [
{
"kind": "resource",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Organization",
"url": "http://hl7.org/fhir/StructureDefinition/Organization"
}
]
},
"deceasedBoolean": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "boolean",
"url": "http://hl7.org/fhir/StructureDefinition/boolean"
},
"choiceOf": "deceased"
},
"name": {
"array": true,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "HumanName",
"url": "http://hl7.org/fhir/StructureDefinition/HumanName"
}
},
"birthDate": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "date",
"url": "http://hl7.org/fhir/StructureDefinition/date"
}
},
"multipleBirthInteger": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "integer",
"url": "http://hl7.org/fhir/StructureDefinition/integer"
},
"choiceOf": "multipleBirth"
},
"multipleBirth": {
"array": false,
"required": false,
"excluded": false,
"choices": [
"multipleBirthBoolean",
"multipleBirthInteger"
]
},
"deceased": {
"array": false,
"required": false,
"excluded": false,
"choices": [
"deceasedBoolean",
"deceasedDateTime"
]
},
"photo": {
"array": true,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Attachment",
"url": "http://hl7.org/fhir/StructureDefinition/Attachment"
}
},
"link": {
"type": {
"kind": "nested",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "link",
"url": "http://hl7.org/fhir/StructureDefinition/Patient#link"
},
"array": true,
"required": false,
"excluded": false
},
"active": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "boolean",
"url": "http://hl7.org/fhir/StructureDefinition/boolean"
}
},
"communication": {
"type": {
"kind": "nested",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "communication",
"url": "http://hl7.org/fhir/StructureDefinition/Patient#communication"
},
"array": true,
"required": false,
"excluded": false
},
"identifier": {
"array": true,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Identifier",
"url": "http://hl7.org/fhir/StructureDefinition/Identifier"
}
},
"telecom": {
"array": true,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "ContactPoint",
"url": "http://hl7.org/fhir/StructureDefinition/ContactPoint"
}
},
"generalPractitioner": {
"array": true,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Reference",
"url": "http://hl7.org/fhir/StructureDefinition/Reference"
},
"reference": [
{
"kind": "resource",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Organization",
"url": "http://hl7.org/fhir/StructureDefinition/Organization"
},
{
"kind": "resource",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Practitioner",
"url": "http://hl7.org/fhir/StructureDefinition/Practitioner"
},
{
"kind": "resource",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "PractitionerRole",
"url": "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
}
]
},
"gender": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "code",
"url": "http://hl7.org/fhir/StructureDefinition/code"
},
"enum": [
"male",
"female",
"other",
"unknown"
]
},
"maritalStatus": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "CodeableConcept",
"url": "http://hl7.org/fhir/StructureDefinition/CodeableConcept"
}
},
"contact": {
"type": {
"kind": "nested",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "contact",
"url": "http://hl7.org/fhir/StructureDefinition/Patient#contact"
},
"array": true,
"required": false,
"excluded": false
}
},
"nested": [
{
"identifier": {
"kind": "nested",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "link",
"url": "http://hl7.org/fhir/StructureDefinition/Patient#link"
},
"base": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "BackboneElement",
"url": "http://hl7.org/fhir/StructureDefinition/BackboneElement"
},
"fields": {
"other": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Reference",
"url": "http://hl7.org/fhir/StructureDefinition/Reference"
},
"reference": [
{
"kind": "resource",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Patient",
"url": "http://hl7.org/fhir/StructureDefinition/Patient"
},
{
"kind": "resource",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "RelatedPerson",
"url": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
}
]
},
"type": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "code",
"url": "http://hl7.org/fhir/StructureDefinition/code"
},
"enum": [
"replaced-by",
"replaces",
"refer",
"seealso"
]
}
}
},
{
"identifier": {
"kind": "nested",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "communication",
"url": "http://hl7.org/fhir/StructureDefinition/Patient#communication"
},
"base": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "BackboneElement",
"url": "http://hl7.org/fhir/StructureDefinition/BackboneElement"
},
"fields": {
"language": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "CodeableConcept",
"url": "http://hl7.org/fhir/StructureDefinition/CodeableConcept"
}
},
"preferred": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "boolean",
"url": "http://hl7.org/fhir/StructureDefinition/boolean"
}
}
}
},
{
"identifier": {
"kind": "nested",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "contact",
"url": "http://hl7.org/fhir/StructureDefinition/Patient#contact"
},
"base": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "BackboneElement",
"url": "http://hl7.org/fhir/StructureDefinition/BackboneElement"
},
"fields": {
"relationship": {
"array": true,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "CodeableConcept",
"url": "http://hl7.org/fhir/StructureDefinition/CodeableConcept"
}
},
"name": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "HumanName",
"url": "http://hl7.org/fhir/StructureDefinition/HumanName"
}
},
"telecom": {
"array": true,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "ContactPoint",
"url": "http://hl7.org/fhir/StructureDefinition/ContactPoint"
}
},
"address": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Address",
"url": "http://hl7.org/fhir/StructureDefinition/Address"
}
},
"gender": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "code",
"url": "http://hl7.org/fhir/StructureDefinition/code"
},
"enum": [
"male",
"female",
"other",
"unknown"
]
},
"organization": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Reference",
"url": "http://hl7.org/fhir/StructureDefinition/Reference"
},
"reference": [
{
"kind": "resource",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Organization",
"url": "http://hl7.org/fhir/StructureDefinition/Organization"
}
]
},
"period": {
"array": false,
"required": false,
"excluded": false,
"type": {
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Period",
"url": "http://hl7.org/fhir/StructureDefinition/Period"
}
}
}
}
],
"dependencies": [
{
"kind": "resource",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "DomainResource",
"url": "http://hl7.org/fhir/StructureDefinition/DomainResource"
},
{
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "boolean",
"url": "http://hl7.org/fhir/StructureDefinition/boolean"
},
{
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Address",
"url": "http://hl7.org/fhir/StructureDefinition/Address"
},
{
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "dateTime",
"url": "http://hl7.org/fhir/StructureDefinition/dateTime"
},
{
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Reference",
"url": "http://hl7.org/fhir/StructureDefinition/Reference"
},
{
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "HumanName",
"url": "http://hl7.org/fhir/StructureDefinition/HumanName"
},
{
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "date",
"url": "http://hl7.org/fhir/StructureDefinition/date"
},
{
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "integer",
"url": "http://hl7.org/fhir/StructureDefinition/integer"
},
{
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Attachment",
"url": "http://hl7.org/fhir/StructureDefinition/Attachment"
},
{
"kind": "nested",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "link",
"url": "http://hl7.org/fhir/StructureDefinition/Patient#link"
},
{
"kind": "nested",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "communication",
"url": "http://hl7.org/fhir/StructureDefinition/Patient#communication"
},
{
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Identifier",
"url": "http://hl7.org/fhir/StructureDefinition/Identifier"
},
{
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "ContactPoint",
"url": "http://hl7.org/fhir/StructureDefinition/ContactPoint"
},
{
"kind": "primitive-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "code",
"url": "http://hl7.org/fhir/StructureDefinition/code"
},
{
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "CodeableConcept",
"url": "http://hl7.org/fhir/StructureDefinition/CodeableConcept"
},
{
"kind": "nested",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "contact",
"url": "http://hl7.org/fhir/StructureDefinition/Patient#contact"
},
{
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "Period",
"url": "http://hl7.org/fhir/StructureDefinition/Period"
},
{
"kind": "complex-type",
"package": "hl7.fhir.r4.core",
"version": "4.0.1",
"name": "BackboneElement",
"url": "http://hl7.org/fhir/StructureDefinition/BackboneElement"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment