Skip to content

Instantly share code, notes, and snippets.

@brianraila
Created June 29, 2023 09:34
Show Gist options
  • Save brianraila/6023406c53fbcc2ee682752aa9a5ec18 to your computer and use it in GitHub Desktop.
Save brianraila/6023406c53fbcc2ee682752aa9a5ec18 to your computer and use it in GitHub Desktop.
{
"resourceType": "CodeSystem",
"url": "http://example.com/CodeSystem/CardiacConditions",
"version": "1.0.0",
"name": "CardiacConditions",
"status": "active",
"concept": [
{
"code": "myocardial-infarction",
"display": "Myocardial Infarction"
},
{
"code": "heart-failure",
"display": "Heart Failure"
},
{
"code": "arrhythmia",
"display": "Arrhythmia"
}
]
}
{
"resourceType": "ValueSet",
"url": "http://example.com/ValueSet/CardiacConditions",
"version": "1.0.0",
"name": "CardiacConditions",
"status": "active",
"compose": {
"include": [
{
"system": "http://example.com/CodeSystem/CardiacConditions"
}
]
}
}
{
"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.extension",
"path": "Patient.extension",
"min": 0,
"max": "*"
},
{
"id": "Patient.extension:cardiac-condition",
"path": "Patient.extension",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension"
}
],
"binding": {
"strength": "required",
"valueSet": "http://example.com/ValueSet/CardiacConditions"
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment