-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add diff support * update * update folders * update tempaltes * update tests * fix comments * update tests * fix comments * fix comments * add comments * update tests * add processor * add nesting too deep tests * update * merge * merge * update * fix comments * remove useless template
- Loading branch information
Showing
77 changed files
with
2,961 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,223 @@ | ||
{ | ||
"resourceType": "CapabilityStatement", | ||
"id": "example", | ||
"text": { | ||
"status": "generated", | ||
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t<p>The EHR Server supports the following transactions for the resource Person: read, vread, \n update, history, search(name,gender), create and updates.</p>\n\t\t\t<p>The EHR System supports the following message: admin-notify::Person.</p>\n\t\t\t<p>The EHR Application has a \n <a href=\"http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796\">general document profile</a>.\n </p>\n\t\t</div>" | ||
}, | ||
"url": "urn:uuid:68D043B5-9ECF-4559-A57A-396E0D452311", | ||
"version": "20130510", | ||
"name": "ACME-EHR", | ||
"title": "ACME EHR capability statement", | ||
"status": "draft", | ||
"experimental": true, | ||
"date": "2012-01-04", | ||
"publisher": "ACME Corporation", | ||
"contact": [ | ||
{ | ||
"name": "System Administrator", | ||
"telecom": [ | ||
{ | ||
"system": "email", | ||
"value": "wile@acme.org" | ||
} | ||
] | ||
} | ||
], | ||
"description": "This is the FHIR capability statement for the main EHR at ACME for the private interface - it does not describe the public interface", | ||
"useContext": [ | ||
{ | ||
"code": { | ||
"system": "http://hl7.org/fhir/usage-context-type", | ||
"code": "focus" | ||
}, | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http://hl7.org/fhir/variant-state", | ||
"code": "positive" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"jurisdiction": [ | ||
{ | ||
"coding": [ | ||
{ | ||
"system": "urn:iso:std:iso:3166", | ||
"code": "US", | ||
"display": "United States of America (the)" | ||
} | ||
] | ||
} | ||
], | ||
"purpose": "Main EHR capability statement, published for contracting and operational support", | ||
"copyright": "Copyright © Acme Healthcare and GoodCorp EHR Systems", | ||
"kind": "instance", | ||
"instantiates": [ | ||
"http://ihe.org/fhir/CapabilityStatement/pixm-client" | ||
], | ||
"software": { | ||
"name": "EHR", | ||
"version": "0.00.020.2134", | ||
"releaseDate": "2012-01-04" | ||
}, | ||
"implementation": { | ||
"description": "main EHR at ACME", | ||
"url": "http://10.2.3.4/fhir" | ||
}, | ||
"fhirVersion": "1.0.0", | ||
"acceptUnknown": "both", | ||
"format": [ | ||
"xml", | ||
"json" | ||
], | ||
"patchFormat": [ | ||
"application/xml-patch+xml", | ||
"application/json-patch+json" | ||
], | ||
"implementationGuide": [ | ||
"http://hl7.org/fhir/us/lab" | ||
], | ||
"profile": [ | ||
{ | ||
"reference": "http://hl7.org/fhir/us/core/StructureDefinition/familymemberhistory-genetic" | ||
} | ||
], | ||
"rest": [ | ||
{ | ||
"mode": "server", | ||
"documentation": "Main FHIR endpoint for acem health", | ||
"security": { | ||
"cors": true, | ||
"service": [ | ||
{ | ||
"coding": [ | ||
{ | ||
"system": "http://hl7.org/fhir/restful-security-service", | ||
"code": "SMART-on-FHIR" | ||
} | ||
] | ||
} | ||
], | ||
"description": "See Smart on FHIR documentation", | ||
"certificate": [ | ||
{ | ||
"type": "application/jwt", | ||
"blob": "IHRoaXMgYmxvYiBpcyBub3QgdmFsaWQ=" | ||
} | ||
] | ||
}, | ||
"resource": [ | ||
{ | ||
"type": "Patient", | ||
"profile": { | ||
"reference": "http://fhir.hl7.org/base/StructureDefinition/7896271d-57f6-4231-89dc-dcc91eab2416" | ||
}, | ||
"documentation": "This server does not let the clients create identities.", | ||
"interaction": [ | ||
{ | ||
"code": "read" | ||
}, | ||
{ | ||
"code": "vread", | ||
"documentation": "Only supported for patient records since 12-Dec 2012" | ||
}, | ||
{ | ||
"code": "update" | ||
}, | ||
{ | ||
"code": "history-instance" | ||
}, | ||
{ | ||
"code": "create" | ||
}, | ||
{ | ||
"code": "history-type" | ||
} | ||
], | ||
"versioning": "versioned-update", | ||
"readHistory": true, | ||
"updateCreate": false, | ||
"conditionalCreate": true, | ||
"conditionalRead": "full-support", | ||
"conditionalUpdate": false, | ||
"conditionalDelete": "not-supported", | ||
"searchInclude": [ | ||
"Organization" | ||
], | ||
"searchRevInclude": [ | ||
"Person" | ||
], | ||
"searchParam": [ | ||
{ | ||
"name": "identifier", | ||
"definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", | ||
"type": "token", | ||
"documentation": "Only supports search by institution MRN" | ||
}, | ||
{ | ||
"name": "general-practitioner", | ||
"definition": "http://hl7.org/fhir/SearchParameter/Patient-general-practitioner", | ||
"type": "reference" | ||
} | ||
] | ||
} | ||
], | ||
"interaction": [ | ||
{ | ||
"code": "transaction" | ||
}, | ||
{ | ||
"code": "history-system" | ||
} | ||
], | ||
"compartment": [ | ||
"http://hl7.org/fhir/CompartmentDefinition/patient" | ||
] | ||
} | ||
], | ||
"messaging": [ | ||
{ | ||
"endpoint": [ | ||
{ | ||
"protocol": { | ||
"system": "http://hl7.org/fhir/message-transport", | ||
"code": "mllp" | ||
}, | ||
"address": "mllp:10.1.1.10:9234" | ||
} | ||
], | ||
"reliableCache": 30, | ||
"documentation": "ADT A08 equivalent for external system notifications", | ||
"event": [ | ||
{ | ||
"code": { | ||
"system": "http://hl7.org/fhir/message-events", | ||
"code": "admin-notify" | ||
}, | ||
"category": "Consequence", | ||
"mode": "receiver", | ||
"focus": "Patient", | ||
"request": { | ||
"reference": "StructureDefinition/Patient" | ||
}, | ||
"response": { | ||
"reference": "StructureDefinition/MessageHeader" | ||
}, | ||
"documentation": "Notification of an update to a patient resource. changing the links is not supported" | ||
} | ||
] | ||
} | ||
], | ||
"document": [ | ||
{ | ||
"mode": "consumer", | ||
"documentation": "Basic rules for all documents in the EHR system", | ||
"profile": { | ||
"reference": "http://fhir.hl7.org/base/Profilebc054d23-75e1-4dc6-aca5-838b6b1ac81d/_history/b5fdd9fc-b021-4ea1-911a-721a60663796" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
{ | ||
"resourceType": "CodeSystem", | ||
"id": "example", | ||
"meta": { | ||
"profile": [ | ||
"http://hl7.org/fhir/StructureDefinition/shareablecodesystem" | ||
] | ||
}, | ||
"text": { | ||
"status": "generated", | ||
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>CodeSystem "ACME Codes for Cholesterol": This is an example code system that includes \n all the codes for serum cholesterol defined by ACME inc.</p>\n <p>Developed by: FHIR project team (example)</p>\n <p>Published for testing on 28-Jan 2016</p>\n <p>This code system defines all the ACME codes for serum cholesterol:</p>\n <table class=\"grid\">\n <tr>\n <td>\n <b>Code</b>\n </td>\n <td>\n <b>Display</b>\n </td>\n <td>\n <b>Definition</b>\n </td>\n </tr>\n <tr>\n <td>chol-mmol</td>\n <td>SChol (mmol/L)</td>\n <td>Serum Cholesterol, in mmol/L</td>\n </tr>\n <tr>\n <td>chol-mass</td>\n <td>SChol (mg/L)</td>\n <td>Serum Cholesterol, in mg/L</td>\n </tr>\n <tr>\n <td>chol</td>\n <td>SChol</td>\n <td>Serum Cholesterol</td>\n </tr>\n </table>\n </div>" | ||
}, | ||
"url": "http://hl7.org/fhir/CodeSystem/example", | ||
"identifier": { | ||
"system": "http://acme.com/identifiers/codesystems", | ||
"value": "internal-cholesterol-inl" | ||
}, | ||
"version": "20160128", | ||
"name": "ACME Codes for Cholesterol in Serum/Plasma", | ||
"status": "draft", | ||
"experimental": true, | ||
"date": "2016-01-28", | ||
"publisher": "HL7 International", | ||
"contact": [ | ||
{ | ||
"name": "FHIR project team", | ||
"telecom": [ | ||
{ | ||
"system": "url", | ||
"value": "http://hl7.org/fhir" | ||
} | ||
] | ||
} | ||
], | ||
"description": "This is an example code system that includes all the ACME codes for serum/plasma cholesterol from v2.36.", | ||
"caseSensitive": true, | ||
"content": "complete", | ||
"concept": [ | ||
{ | ||
"code": "chol-mmol", | ||
"display": "SChol (mmol/L)", | ||
"definition": "Serum Cholesterol, in mmol/L", | ||
"designation": [ | ||
{ | ||
"use": { | ||
"system": "http://acme.com/config/fhir/codesystems/internal", | ||
"code": "internal-label" | ||
}, | ||
"value": "From ACME POC Testing" | ||
} | ||
] | ||
}, | ||
{ | ||
"code": "chol-mass", | ||
"display": "SChol (mg/L)", | ||
"definition": "Serum Cholesterol, in mg/L", | ||
"designation": [ | ||
{ | ||
"use": { | ||
"system": "http://acme.com/config/fhir/codesystems/internal", | ||
"code": "internal-label" | ||
}, | ||
"value": "From Paragon Labs" | ||
} | ||
] | ||
}, | ||
{ | ||
"code": "chol", | ||
"display": "SChol", | ||
"definition": "Serum Cholesterol", | ||
"designation": [ | ||
{ | ||
"use": { | ||
"system": "http://acme.com/config/fhir/codesystems/internal", | ||
"code": "internal-label" | ||
}, | ||
"value": "Obdurate Labs uses this with both kinds of units..." | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"resourceType": "Observation", | ||
"id": "example-TPMT-haplotype-two", | ||
"text": { | ||
"status": "generated", | ||
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example-TPMT-haplotype-two</p><p><b>status</b>: unknown</p><p><b>code</b>: Haplotype Call <span>(Details : {SNOMED CT code '363779003' = '363779003', given as 'Genotype determination'})</span></p><p><b>subject</b>: <a>E***********</a></p><p><b>issued</b>: 03/04/2013 3:30:10 PM</p><p><b>value</b>: *4 <span>(Details : {http://pharmakb.org code 'PA166128353' = 'PA166128353', given as '*4'})</span></p><h3>Relateds</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>Target</b></td></tr><tr><td>*</td><td>derived-from</td><td><a>Sequence/example-TPMT-two</a></td></tr></table></div>" | ||
}, | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/observation-geneticsGene", | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http://www.genenames.org", | ||
"code": "12014", | ||
"display": "TPMT" | ||
} | ||
] | ||
} | ||
} | ||
], | ||
"status": "unknown", | ||
"code": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info", | ||
"code": "363779003", | ||
"display": "Genotype determination" | ||
} | ||
], | ||
"text": "Haplotype Call" | ||
}, | ||
"subject": { | ||
"reference": "Patient/example", | ||
"display": "E***********" | ||
}, | ||
"issued": "2013-04-03T15:30:10+01:00", | ||
"valueCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http://pharmakb.org", | ||
"code": "PA166128353", | ||
"display": "*4" | ||
} | ||
] | ||
}, | ||
"related": [ | ||
{ | ||
"type": "derived-from", | ||
"target": { | ||
"reference": "Sequence/example-TPMT-two" | ||
} | ||
}, | ||
{ | ||
"type": "sequel-to", | ||
"target": { | ||
"reference": "Sequence/example-TPMT-two" | ||
} | ||
}, | ||
{ | ||
"type": "interfered-by", | ||
"target": { | ||
"reference": "Sequence/example-TPMT-two" | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.