Skip to content

Instantly share code, notes, and snippets.

@brianraila
Last active June 29, 2023 09:18
Show Gist options
  • Save brianraila/8e4183bbe68f10a508d2442a68e5c31c to your computer and use it in GitHub Desktop.
Save brianraila/8e4183bbe68f10a508d2442a68e5c31c to your computer and use it in GitHub Desktop.
{
"resourceType": "StructureDefinition",
"id": "CardiologyPatientProfile",
"url": "http://example.com/StructureDefinition/CardiologyPatientProfile",
"version": "1.0.0",
"name": "CardiologyPatientProfile",
"status": "active",
"publisher": "Cardiology Organization",
"description": "A profile for cardiology patients",
"fhirVersion": "4.0.1",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
"snapshot": {
"element": [
{
"id": "Patient",
"path": "Patient",
"min": 1,
"max": "1"
},
{
"id": "Patient.identifier",
"path": "Patient.identifier",
"min": 1,
"max": "*"
},
{
"id": "Patient.name",
"path": "Patient.name",
"min": 1,
"max": "*"
},
{
"id": "Patient.gender",
"path": "Patient.gender",
"min": 1,
"max": "1"
},
{
"id": "Patient.birthDate",
"path": "Patient.birthDate",
"min": 1,
"max": "1"
},
{
"id": "Patient.address",
"path": "Patient.address",
"min": 0,
"max": "*"
},
{
"id": "Patient.telecom",
"path": "Patient.telecom",
"min": 0,
"max": "*"
},
{
"id": "Patient.extension",
"path": "Patient.extension",
"min": 0,
"max": "*"
}
]
}
}
{
"resourceType": "Patient",
"meta": {
"profile": [
"http://example.com/StructureDefinition/CardiologyPatientProfile"
]
},
"identifier": [
{
"system": "http://example.com/patient-ids",
"value": "123456"
}
],
"name": [
{
"family": "Smith",
"given": ["John"],
"use": "official"
}
],
"gender": "male",
"birthDate": "1980-05-20",
"address": [
{
"line": ["123 Main Street"],
"city": "Anytown",
"state": "NY",
"postalCode": "12345"
}
],
"telecom": [
{
"system": "phone",
"value": "555-1234"
},
{
"system": "email",
"value": "john.smith@example.com"
}
],
"extension": [
{
"url": "http://example.com/StructureDefinition/CardiacCondition",
"valueCodeableConcept": {
"coding": [
{
"system": "http://example.com/cardiac-conditions",
"code": "myocardial-infarction",
"display": "Myocardial Infarction"
}
]
}
},
{
"url": "http://example.com/StructureDefinition/CardiacMedication",
"valueString": "Aspirin"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment