Ací es mostren les diferències entre la revisió seleccionada i la versió actual de la pàgina.
Següent revisió | Revisió prèvia | ||
ca:contenidos:estandares:ejemplofhir [2020/04/27 09:18] funciona creat |
ca:contenidos:estandares:ejemplofhir [2020/05/11 12:25] (actual) jcobos [Exemple de cas d'ús a FHIR] |
||
---|---|---|---|
Línia 1: | Línia 1: | ||
- | ====== Ejemplo de caso en FHIR ====== | + | ====== Exemple de cas d'ús a FHIR ====== |
- | En edició | + | A aquesta pàgina es mostra un exemple de codificació de les dades associades a un pacient en uns recursos FHIR d'exemple: Pacient, Al·lèrgies, Condicions, Medicació, Inmunització |
+ | |||
+ | |||
+ | |||
+ | |||
+ | ===== Pacient ===== | ||
+ | |||
+ | { | ||
+ | "resourceType": "Patient", | ||
+ | "id": "U2", | ||
+ | "identifier": [ | ||
+ | { | ||
+ | "system": "2.16.840.1.113883.2.19.10.3", | ||
+ | "value": "Z2413604N" | ||
+ | } | ||
+ | ], | ||
+ | "active": true, | ||
+ | "name": [ | ||
+ | { | ||
+ | "family": "Utt", | ||
+ | "given": [ | ||
+ | "Angela" | ||
+ | ] | ||
+ | } | ||
+ | ], | ||
+ | "gender": "female", | ||
+ | "birthDate": "1989-01-18", | ||
+ | "address": [ | ||
+ | { | ||
+ | "country": "Spain" | ||
+ | } | ||
+ | ], | ||
+ | "photo": [ | ||
+ | { | ||
+ | "contentType": "image/gif", | ||
+ | "url": "http://vps184407.ovh.net:8080/patients-photo/U2.png" | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | |||
+ | ===== Al·lèrgies ===== | ||
+ | |||
+ | |||
+ | { | ||
+ | "resourceType": "AllergyIntolerance", | ||
+ | "id": "U2-1", | ||
+ | "meta": { | ||
+ | "versionId": "2", | ||
+ | "lastUpdated": "2019-05-30T16:33:41.347+02:00" | ||
+ | }, | ||
+ | "clinicalStatus": { | ||
+ | "coding": [ | ||
+ | { | ||
+ | "system": "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical", | ||
+ | "code": "active", | ||
+ | "display": "Active" | ||
+ | } | ||
+ | ] | ||
+ | }, | ||
+ | "verificationStatus": { | ||
+ | "coding": [ | ||
+ | { | ||
+ | "system": "http://hl7.org/fhir/ValueSet/allergyintolerance-verification", | ||
+ | "code": "confirmed", | ||
+ | "display": "Confirmed" | ||
+ | } | ||
+ | ] | ||
+ | }, | ||
+ | "type": "allergy", | ||
+ | "category": [ | ||
+ | "medication" | ||
+ | ], | ||
+ | "code": { | ||
+ | "coding": [ | ||
+ | { | ||
+ | "system": "http://snomed.info/sct", | ||
+ | "code": "293619005", | ||
+ | "display": "Ibuprofen" | ||
+ | } | ||
+ | ] | ||
+ | }, | ||
+ | "patient": { | ||
+ | "reference": "Patient/U2", | ||
+ | "display": "Angela Utt" | ||
+ | }, | ||
+ | "onsetDateTime": "2012-01-02", | ||
+ | "reaction": [ | ||
+ | { | ||
+ | "manifestation": [ | ||
+ | { | ||
+ | "coding": [ | ||
+ | { | ||
+ | "system": "http://snomed.info/sct", | ||
+ | "code": "126485001", | ||
+ | "display": "Urticaria" | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | |||
+ | ===== Condicions ===== | ||
+ | |||
+ | |||
+ | { | ||
+ | "resourceType": "Condition", | ||
+ | "id": "U2-1", | ||
+ | "clinicalStatus": { | ||
+ | "coding": [ | ||
+ | { | ||
+ | "system": "http://hl7.org/fhir/ValueSet/condition-clinical", | ||
+ | "code": "active", | ||
+ | "display": "Active" | ||
+ | } | ||
+ | ] | ||
+ | }, | ||
+ | "code": { | ||
+ | "coding": [ | ||
+ | { | ||
+ | "system": "http://snomed.info/sct", | ||
+ | "code": "10509002", | ||
+ | "display": "Acute bronchitis" | ||
+ | } | ||
+ | ], | ||
+ | "text": "Acute bronchitis" | ||
+ | }, | ||
+ | "subject": { | ||
+ | "reference": "Patient/U2" | ||
+ | }, | ||
+ | "onsetDateTime": "2019-03-25", | ||
+ | "asserter": { | ||
+ | "reference": "Practitioner/P1" | ||
+ | } | ||
+ | } | ||
+ | |||
+ | ===== Medicació ===== | ||
+ | |||
+ | { | ||
+ | "resourceType": "MedicationStatement", | ||
+ | "id": "U2-1", | ||
+ | "status": "active", | ||
+ | "medicationCodeableConcept": { | ||
+ | "coding": [ | ||
+ | { | ||
+ | "system": "http://snomed.info/sct", | ||
+ | "code": "320180009", | ||
+ | "display": "Salbutamol 100mg/20mL nebulizer solution (product)" | ||
+ | } | ||
+ | ], | ||
+ | "text": "Salbutamol 100mg/20mL nebulizer solution (product)" | ||
+ | }, | ||
+ | "subject": { | ||
+ | "reference": "Patient/U2", | ||
+ | "display": "Angela UTT" | ||
+ | }, | ||
+ | "effectivePeriod": { | ||
+ | "start": "1993-05-02" | ||
+ | }, | ||
+ | "dosage": [ | ||
+ | { | ||
+ | "text": "10 mg/day", | ||
+ | "timing": { | ||
+ | "repeat": { | ||
+ | "frequency": 1, | ||
+ | "period": 1, | ||
+ | "periodUnit": "d" | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | |||
+ | ===== Inmunització ===== | ||
+ | |||
+ | { | ||
+ | "resourceType": "Immunization", | ||
+ | "id": "U2-1", | ||
+ | "status": "completed", | ||
+ | "vaccineCode": { | ||
+ | "coding": [ | ||
+ | { | ||
+ | "system": "http://snomed.info/sct", | ||
+ | "code": "14745005" | ||
+ | } | ||
+ | ], | ||
+ | "text": "Hepatitis A virus vaccine" | ||
+ | }, | ||
+ | "patient": { | ||
+ | "reference": "Patient/U2" | ||
+ | }, | ||
+ | "primarySource": true, | ||
+ | "expirationDate": "2015-02-15", | ||
+ | "site": { | ||
+ | "coding": [ | ||
+ | { | ||
+ | "system": "http://terminology.hl7.org/CodeSystem/v3-ActSite", | ||
+ | "code": "LA", | ||
+ | "display": "left arm" | ||
+ | } | ||
+ | ] | ||
+ | }, | ||
+ | "route": { | ||
+ | "coding": [ | ||
+ | { | ||
+ | "system": "http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration", | ||
+ | "code": "IM", | ||
+ | "display": "Injection, intramuscular" | ||
+ | } | ||
+ | ] | ||
+ | }, | ||
+ | "note": [ | ||
+ | { | ||
+ | "text": "Notes on adminstration of vaccine" | ||
+ | } | ||
+ | ] | ||
+ | } |