Fix compile issues

This commit is contained in:
James Agnew 2015-10-03 16:11:47 -04:00
parent e7e8f8dd81
commit c666b9c196
13 changed files with 920 additions and 9 deletions

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.rest.gclient; package ca.uhn.fhir.rest.gclient;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2015 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import org.hl7.fhir.instance.model.api.IBase; import org.hl7.fhir.instance.model.api.IBase;
import org.hl7.fhir.instance.model.api.IBaseParameters; import org.hl7.fhir.instance.model.api.IBaseParameters;

View File

@ -104,11 +104,10 @@
<configuration> <configuration>
<attach>false</attach> <attach>false</attach>
<descriptors> <descriptors>
<!--
<descriptor>${project.basedir}/src/assembly/hapi-fhir-standard-distribution.xml</descriptor> <descriptor>${project.basedir}/src/assembly/hapi-fhir-standard-distribution.xml</descriptor>
<descriptor>${project.basedir}/src/assembly/hapi-fhir-jpaserver-example.xml</descriptor> <descriptor>${project.basedir}/src/assembly/hapi-fhir-jpaserver-example.xml</descriptor>
-->
<descriptor>${project.basedir}/src/assembly/hapi-fhir-android-distribution.xml</descriptor> <descriptor>${project.basedir}/src/assembly/hapi-fhir-android-distribution.xml</descriptor>
<descriptor>${project.basedir}/src/assembly/hapi-fhir-cli.xml</descriptor>
</descriptors> </descriptors>
</configuration> </configuration>
</execution> </execution>

View File

@ -222,6 +222,12 @@ public class FhirSystemDaoDstu2 extends BaseHapiFhirSystemDao<Bundle> {
if (res != null) { if (res != null) {
nextResourceId = res.getId(); nextResourceId = res.getId();
if (nextResourceId.hasIdPart() == false) {
if (isNotBlank(nextEntry.getFullUrl())) {
nextResourceId = new IdDt(nextEntry.getFullUrl());
}
}
if (nextResourceId.hasIdPart() && !nextResourceId.hasResourceType() && !isPlaceholder(nextResourceId)) { if (nextResourceId.hasIdPart() && !nextResourceId.hasResourceType() && !isPlaceholder(nextResourceId)) {
nextResourceId = new IdDt(toResourceName(res.getClass()), nextResourceId.getIdPart()); nextResourceId = new IdDt(toResourceName(res.getClass()), nextResourceId.getIdPart());
res.setId(nextResourceId); res.setId(nextResourceId);

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.jpa.dao; package ca.uhn.fhir.jpa.dao;
/*
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2015 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import ca.uhn.fhir.validation.IValidationSupport; import ca.uhn.fhir.validation.IValidationSupport;
public interface IJpaValidationSupport extends IValidationSupport { public interface IJpaValidationSupport extends IValidationSupport {

View File

@ -1,5 +1,25 @@
package ca.uhn.fhir.jpa.provider; package ca.uhn.fhir.jpa.provider;
/*
* #%L
* HAPI FHIR JPA Server
* %%
* Copyright (C) 2014 - 2015 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import ca.uhn.fhir.jpa.dao.IFhirResourceDaoEncounter; import ca.uhn.fhir.jpa.dao.IFhirResourceDaoEncounter;
import ca.uhn.fhir.model.api.annotation.Description; import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir.model.dstu2.resource.Encounter; import ca.uhn.fhir.model.dstu2.resource.Encounter;

View File

@ -31,6 +31,7 @@ import org.springframework.transaction.TransactionStatus;
import org.springframework.transaction.support.TransactionCallback; import org.springframework.transaction.support.TransactionCallback;
import org.springframework.transaction.support.TransactionTemplate; import org.springframework.transaction.support.TransactionTemplate;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.jpa.entity.ResourceEncodingEnum; import ca.uhn.fhir.jpa.entity.ResourceEncodingEnum;
import ca.uhn.fhir.jpa.entity.ResourceTable; import ca.uhn.fhir.jpa.entity.ResourceTable;
import ca.uhn.fhir.jpa.entity.TagTypeEnum; import ca.uhn.fhir.jpa.entity.TagTypeEnum;
@ -46,6 +47,9 @@ import ca.uhn.fhir.model.dstu2.resource.Bundle;
import ca.uhn.fhir.model.dstu2.resource.Bundle.Entry; import ca.uhn.fhir.model.dstu2.resource.Bundle.Entry;
import ca.uhn.fhir.model.dstu2.resource.Bundle.EntryRequest; import ca.uhn.fhir.model.dstu2.resource.Bundle.EntryRequest;
import ca.uhn.fhir.model.dstu2.resource.Bundle.EntryResponse; import ca.uhn.fhir.model.dstu2.resource.Bundle.EntryResponse;
import ca.uhn.fhir.model.dstu2.resource.Communication;
import ca.uhn.fhir.model.dstu2.resource.Medication;
import ca.uhn.fhir.model.dstu2.resource.MedicationOrder;
import ca.uhn.fhir.model.dstu2.resource.Observation; import ca.uhn.fhir.model.dstu2.resource.Observation;
import ca.uhn.fhir.model.dstu2.resource.OperationOutcome; import ca.uhn.fhir.model.dstu2.resource.OperationOutcome;
import ca.uhn.fhir.model.dstu2.resource.Patient; import ca.uhn.fhir.model.dstu2.resource.Patient;
@ -54,8 +58,11 @@ import ca.uhn.fhir.model.dstu2.valueset.BundleTypeEnum;
import ca.uhn.fhir.model.dstu2.valueset.HTTPVerbEnum; import ca.uhn.fhir.model.dstu2.valueset.HTTPVerbEnum;
import ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum; import ca.uhn.fhir.model.dstu2.valueset.IssueSeverityEnum;
import ca.uhn.fhir.model.primitive.IdDt; import ca.uhn.fhir.model.primitive.IdDt;
import ca.uhn.fhir.model.primitive.StringDt;
import ca.uhn.fhir.model.primitive.UriDt; import ca.uhn.fhir.model.primitive.UriDt;
import ca.uhn.fhir.rest.api.PreferReturnEnum;
import ca.uhn.fhir.rest.api.RestOperationTypeEnum; import ca.uhn.fhir.rest.api.RestOperationTypeEnum;
import ca.uhn.fhir.rest.client.IGenericClient;
import ca.uhn.fhir.rest.server.Constants; import ca.uhn.fhir.rest.server.Constants;
import ca.uhn.fhir.rest.server.IBundleProvider; import ca.uhn.fhir.rest.server.IBundleProvider;
import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException; import ca.uhn.fhir.rest.server.exceptions.InvalidRequestException;
@ -768,6 +775,68 @@ public class FhirSystemDaoDstu2Test extends BaseJpaDstu2Test {
assertEquals("201 Created", resp.getEntry().get(1).getResponse().getStatus()); assertEquals("201 Created", resp.getEntry().get(1).getResponse().getStatus());
} }
public static void main(String[] args) {
Communication com = new Communication();
com.getSender().setReference("Patient/james");
com.addRecipient().setReference("Group/everyone");
com.addMedium().setText("Skype");
com.addPayload().setContent(new StringDt("Welcome to Connectathon 10! Any HAPI users feel free to grab me if you want to chat or need help!"));
System.out.println(FhirContext.forDstu2().newJsonParser().setPrettyPrint(true).encodeResourceToString(com));
}
@Test
public void testTransactionWithReferenceToCreateIfNoneExist() {
Bundle bundle = new Bundle();
bundle.setType(BundleTypeEnum.TRANSACTION);
Medication med = new Medication();
IdDt medId = IdDt.newRandomUuid();
med.setId(medId);
med.getCode().addCoding().setSystem("billscodes").setCode("theCode");
bundle.addEntry().setResource(med).setFullUrl(medId.getValue()).getRequest().setMethod(HTTPVerbEnum.POST).setIfNoneExist("Medication?code=billscodes|theCode");
MedicationOrder mo = new MedicationOrder();
mo.setMedication(new ResourceReferenceDt(medId));
bundle.addEntry().setResource(mo).setFullUrl(mo.getId().getValue()).getRequest().setMethod(HTTPVerbEnum.POST);
ourLog.info("Request:\n"+myFhirCtx.newJsonParser().setPrettyPrint(true).encodeResourceToString(bundle));
Bundle outcome = mySystemDao.transaction(bundle);
ourLog.info("Response:\n"+myFhirCtx.newJsonParser().setPrettyPrint(true).encodeResourceToString(outcome));
IdDt medId1 = new IdDt(outcome.getEntry().get(0).getResponse().getLocation());
IdDt medOrderId1 = new IdDt( outcome.getEntry().get(1).getResponse().getLocation());
/*
* Again!
*/
bundle = new Bundle();
bundle.setType(BundleTypeEnum.TRANSACTION);
med = new Medication();
medId = IdDt.newRandomUuid();
med.getCode().addCoding().setSystem("billscodes").setCode("theCode");
bundle.addEntry().setResource(med).setFullUrl(medId.getValue()).getRequest().setMethod(HTTPVerbEnum.POST).setIfNoneExist("Medication?code=billscodes|theCode");
mo = new MedicationOrder();
mo.setMedication(new ResourceReferenceDt(medId));
bundle.addEntry().setResource(mo).setFullUrl(mo.getId().getValue()).getRequest().setMethod(HTTPVerbEnum.POST);
outcome = mySystemDao.transaction(bundle);
IdDt medId2 = new IdDt(outcome.getEntry().get(0).getResponse().getLocation());
IdDt medOrderId2 = new IdDt(outcome.getEntry().get(1).getResponse().getLocation());
assertTrue(medId1.isIdPartValidLong());
assertTrue(medId2.isIdPartValidLong());
assertTrue(medOrderId1.isIdPartValidLong());
assertTrue(medOrderId2.isIdPartValidLong());
assertEquals(medId1, medId2);
assertNotEquals(medOrderId1, medOrderId2);
}
@Test @Test
public void testTransactionReadAndSearch() { public void testTransactionReadAndSearch() {
String methodName = "testTransactionReadAndSearch"; String methodName = "testTransactionReadAndSearch";

View File

@ -178,7 +178,12 @@ public class GenericClientTest {
assertThat(extractBody(capt, count), containsString("value=\"John\"")); assertThat(extractBody(capt, count), containsString("value=\"John\""));
count++; count++;
client.create().resource(ourCtx.newJsonParser().encodeResourceToString(p1)).execute(); String resourceAsString = ourCtx.newJsonParser().encodeResourceToString(p1);
client
.create()
.resource(resourceAsString)
.execute();
assertEquals(1, capt.getAllValues().get(count).getHeaders(Constants.HEADER_CONTENT_TYPE).length); assertEquals(1, capt.getAllValues().get(count).getHeaders(Constants.HEADER_CONTENT_TYPE).length);
assertEquals(EncodingEnum.JSON.getResourceContentType() + Constants.HEADER_SUFFIX_CT_UTF_8, capt.getAllValues().get(count).getFirstHeader(Constants.HEADER_CONTENT_TYPE).getValue()); assertEquals(EncodingEnum.JSON.getResourceContentType() + Constants.HEADER_SUFFIX_CT_UTF_8, capt.getAllValues().get(count).getFirstHeader(Constants.HEADER_CONTENT_TYPE).getValue());
assertThat(extractBody(capt, count), containsString("[\"John\"]")); assertThat(extractBody(capt, count), containsString("[\"John\"]"));

View File

@ -69,9 +69,6 @@ import ca.uhn.fhir.rest.param.TokenOrListParam;
import ca.uhn.fhir.rest.param.TokenParam; import ca.uhn.fhir.rest.param.TokenParam;
import ca.uhn.fhir.util.PortUtil; import ca.uhn.fhir.util.PortUtil;
/**
* Created by dsotnikov on 2/25/2014.
*/
public class SearchSearchServerDstu1Test { public class SearchSearchServerDstu1Test {
private static CloseableHttpClient ourClient; private static CloseableHttpClient ourClient;
@ -559,9 +556,6 @@ public class SearchSearchServerDstu1Test {
} }
/**
* Created by dsotnikov on 2/25/2014.
*/
public static class DummyPatientResourceProvider implements IResourceProvider { public static class DummyPatientResourceProvider implements IResourceProvider {
/** /**

View File

@ -0,0 +1,35 @@
package ca.uhn.fhir.tinder;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugins.annotations.Parameter;
import ca.uhn.fhir.tinder.parser.CompartmentParser;
public class CompartmentGeneratorMojo extends AbstractMojo {
@Parameter(required = true)
private String fhirVersion;
@Override
public void execute() throws MojoExecutionException, MojoFailureException {
CompartmentParser p = new CompartmentParser(fhirVersion);
try {
p.parse();
} catch (MojoExecutionException e) {
throw e;
} catch (MojoFailureException e) {
throw e;
} catch (Exception e) {
throw new MojoFailureException("Failure during parse", e);
}
}
public static void main(String[] args) throws MojoExecutionException, MojoFailureException {
CompartmentGeneratorMojo mojo = new CompartmentGeneratorMojo();
mojo.fhirVersion = "dstu2";
mojo.execute();
}
}

View File

@ -0,0 +1,55 @@
package ca.uhn.fhir.tinder.model;
import java.util.ArrayList;
import java.util.List;
public class CompartmentDef {
private String myOwnerResourceName;
private List<Target> myTargets;
public String getOwnerResourceName() {
return myOwnerResourceName;
}
public List<Target> getTargets() {
if (myTargets == null) {
myTargets = new ArrayList<Target>();
}
return myTargets;
}
public void setOwnerResourceName(String theOwnerResourceName) {
myOwnerResourceName = theOwnerResourceName;
}
public void setTargets(List<Target> theTargets) {
myTargets = theTargets;
}
public class Target {
private List<String> myPaths;
private String myResourceName;
public List<String> getPaths() {
if (myPaths == null) {
myPaths = new ArrayList<String>();
}
return myPaths;
}
public String getResourceName() {
return myResourceName;
}
public void setPaths(List<String> thePaths) {
myPaths = thePaths;
}
public void setResourceName(String theResourceName) {
myResourceName = theResourceName;
}
}
}

View File

@ -0,0 +1,50 @@
package ca.uhn.fhir.tinder.parser;
import java.io.InputStream;
import org.apache.maven.plugin.MojoFailureException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import ca.uhn.fhir.tinder.util.XMLUtils;
public class CompartmentParser {
private String myVersion;
private static final org.slf4j.Logger ourLog = org.slf4j.LoggerFactory.getLogger(CompartmentParser.class);
public CompartmentParser(String theVersion) {
myVersion = theVersion;
}
public void parse() throws Exception {
String resName = "/compartment/" + myVersion + "/compartments.xml";
InputStream nextRes = getClass().getResourceAsStream(resName);
if (nextRes == null) {
throw new MojoFailureException("Unknown base resource name: " + resName);
}
ourLog.info("Reading spreadsheet file {}", resName);
Document file;
try {
file = XMLUtils.parse(nextRes, false);
} catch (Exception e) {
throw new Exception("Failed during reading: " + resName, e);
}
Element resourcesSheet = null;
for (int i = 0; i < file.getElementsByTagName("Worksheet").getLength() && resourcesSheet == null; i++) {
resourcesSheet = (Element) file.getElementsByTagName("Worksheet").item(i);
if (!"resources".equals(resourcesSheet.getAttributeNS("urn:schemas-microsoft-com:office:spreadsheet", "Name"))) {
resourcesSheet = null;
}
}
if (resourcesSheet == null) {
throw new Exception("Failed to find worksheet with name 'Data Elements' in spreadsheet: " + resName);
}
}
}

View File

@ -0,0 +1,636 @@
<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
<Author>Grahame</Author>
<LastAuthor>Eric Haas</LastAuthor>
<Created>2013-07-04T21:40:46Z</Created>
<LastSaved>2015-04-10T01:54:05Z</LastSaved>
<Version>15.00</Version>
</DocumentProperties>
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
<AllowPNG/>
</OfficeDocumentSettings>
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
<WindowHeight>8400</WindowHeight>
<WindowWidth>19170</WindowWidth>
<WindowTopX>0</WindowTopX>
<WindowTopY>0</WindowTopY>
<ActiveSheet>1</ActiveSheet>
<RefModeR1C1/>
<ProtectStructure>False</ProtectStructure>
<ProtectWindows>False</ProtectWindows>
</ExcelWorkbook>
<Styles>
<Style ss:ID="Default" ss:Name="Normal">
<Alignment ss:Vertical="Bottom"/>
<Borders/>
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"/>
<Interior/>
<NumberFormat/>
<Protection/>
</Style>
<Style ss:ID="s62">
<Alignment ss:Horizontal="Left" ss:Vertical="Top"/>
</Style>
<Style ss:ID="s63">
<Alignment ss:Horizontal="Left" ss:Vertical="Top"/>
<Borders>
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"
ss:Bold="1"/>
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
</Style>
<Style ss:ID="s64">
<Alignment ss:Horizontal="Left" ss:Vertical="Top" ss:WrapText="1"/>
</Style>
<Style ss:ID="s65">
<Borders>
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
</Borders>
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"
ss:Bold="1"/>
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
</Style>
<Style ss:ID="s66">
<Font ss:FontName="Verdana" x:Family="Swiss" ss:Size="9" ss:Color="#333333"/>
</Style>
</Styles>
<Worksheet ss:Name="compartments">
<Table ss:ExpandedColumnCount="5" ss:ExpandedRowCount="6" x:FullColumns="1"
x:FullRows="1" ss:StyleID="s62" ss:DefaultColumnWidth="65.25"
ss:DefaultRowHeight="15">
<Column ss:StyleID="s62" ss:AutoFitWidth="0" ss:Width="108.75" ss:Span="1"/>
<Column ss:Index="3" ss:StyleID="s62" ss:AutoFitWidth="0" ss:Width="129.75"/>
<Column ss:StyleID="s62" ss:AutoFitWidth="0" ss:Width="207.75"/>
<Column ss:StyleID="s62" ss:AutoFitWidth="0" ss:Width="254.25"/>
<Row ss:AutoFitHeight="0" ss:StyleID="s63">
<Cell><Data ss:Type="String">Name</Data></Cell>
<Cell><Data ss:Type="String">Title</Data></Cell>
<Cell><Data ss:Type="String">Description</Data></Cell>
<Cell><Data ss:Type="String">Identification</Data></Cell>
<Cell><Data ss:Type="String">Inclusion</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0" ss:Height="75">
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell><Data ss:Type="String">Patient</Data></Cell>
<Cell ss:StyleID="s64"><Data ss:Type="String">The set of resources associated with a particular patient</Data></Cell>
<Cell><Data ss:Type="String">There is an instance of the patient compartment for each patient resource, and the identity of the compartment is the same as the patient. When a patient is linked to another patient, all the records associated with the linked patient are in the compartment associated with the target of the link. </Data></Cell>
<Cell ss:StyleID="s64"><Data ss:Type="String">The patient compartment includes any resources where the subject of the resource is the patient, and some other resources that are directly linked to resources in the patient compartment</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">encounter</Data></Cell>
<Cell><Data ss:Type="String">Encounter</Data></Cell>
<Cell><Data ss:Type="String">The set of resources associated with a particular encounter</Data></Cell>
<Cell><Data ss:Type="String">There is an instance of the encounter compartment for each encounter resource, and the identity of the compartment is the same as the encounter</Data></Cell>
<Cell ss:StyleID="s64"><Data ss:Type="String">The encounter compartment includes any resources where the resource has an explicitly nominated encounter, and some other resources that them selves link to resources in the encounter compartment. Note that for many resources, the exact nature of the link to encounter can be ambiguous (e.g. for a DiagnosticReport, is it the encounter when it was initiated, or when it was reported?)</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">relatedPerson</Data></Cell>
<Cell><Data ss:Type="String">RelatedPerson</Data></Cell>
<Cell><Data ss:Type="String">The set of resources associated with a particular 'related person'</Data></Cell>
<Cell><Data ss:Type="String">There is an instance of the relatedPerson compartment for each relatedPerson resource, and the identity of the compartment is the same as the relatedPerson</Data></Cell>
<Cell ss:StyleID="s64"><Data ss:Type="String">The relatedPerson compartment includes any resources where the resource is explicitly linked to relatedPerson (usually as author)</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">practitioner</Data></Cell>
<Cell><Data ss:Type="String">Practitioner</Data></Cell>
<Cell><Data ss:Type="String">The set of resources associated with a particular practitioner</Data></Cell>
<Cell><Data ss:Type="String">There is an instance of the practitioner compartment for each Practitioner resource, and the identity of the compartment is the same as the Practitioner</Data></Cell>
<Cell ss:StyleID="s64"><Data ss:Type="String">The practitioner compartment includes any resources where the resource is explicitly linked to a Practitioner (usually as author, but other kinds of linkage exist)</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">device</Data></Cell>
<Cell><Data ss:Type="String">Device</Data></Cell>
<Cell><Data ss:Type="String">The set of resources associated with a particular device</Data></Cell>
<Cell><Data ss:Type="String">There is an instance of the practitioner compartment for each Device resource, and the identity of the compartment is the same as the Device</Data></Cell>
<Cell ss:StyleID="s64"><Data ss:Type="String">The device compartment includes any resources where the resource is explicitly linked to a Device (mostly subject or performer)</Data></Cell>
</Row>
</Table>
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
<PageSetup>
<Header x:Margin="0.3"/>
<Footer x:Margin="0.3"/>
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
</PageSetup>
<Unsynced/>
<Panes>
<Pane>
<Number>3</Number>
<ActiveRow>4</ActiveRow>
</Pane>
</Panes>
<ProtectObjects>False</ProtectObjects>
<ProtectScenarios>False</ProtectScenarios>
<x:PageLayoutZoom>0</x:PageLayoutZoom>
</WorksheetOptions>
</Worksheet>
<Worksheet ss:Name="resources">
<Table ss:ExpandedColumnCount="6" ss:ExpandedRowCount="94" x:FullColumns="1"
x:FullRows="1" ss:DefaultColumnWidth="65.25" ss:DefaultRowHeight="15">
<Column ss:AutoFitWidth="0" ss:Width="156.75"/>
<Column ss:AutoFitWidth="0" ss:Width="198"/>
<Column ss:Index="5" ss:AutoFitWidth="0" ss:Width="96"/>
<Row ss:AutoFitHeight="0" ss:StyleID="s65">
<Cell><Data ss:Type="String">Resource</Data></Cell>
<Cell><Data ss:Type="String">Patient</Data></Cell>
<Cell><Data ss:Type="String">Encounter</Data></Cell>
<Cell><Data ss:Type="String">RelatedPerson</Data></Cell>
<Cell><Data ss:Type="String">Practitioner</Data></Cell>
<Cell><Data ss:Type="String">Device</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">AllergyIntolerance</Data></Cell>
<Cell><Data ss:Type="String">patient | recorder | reporter</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">reporter</Data></Cell>
<Cell><Data ss:Type="String">recorder | reporter</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Account</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">subject</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Appointment</Data></Cell>
<Cell><Data ss:Type="String">actor</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">actor</Data></Cell>
<Cell><Data ss:Type="String">actor</Data></Cell>
<Cell><Data ss:Type="String">actor</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">AppointmentResponse</Data></Cell>
<Cell><Data ss:Type="String">actor</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">actor</Data></Cell>
<Cell><Data ss:Type="String">actor</Data></Cell>
<Cell><Data ss:Type="String">actor</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">AuditEvent</Data></Cell>
<Cell><Data ss:Type="String">patient | participant.patient | reference.patient</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">participant</Data></Cell>
<Cell><Data ss:Type="String">participant</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Basic</Data></Cell>
<Cell><Data ss:Type="String">patient | author</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">author</Data></Cell>
<Cell><Data ss:Type="String">author</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Binary</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">BodySite</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Bundle</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">CarePlan</Data></Cell>
<Cell ss:StyleID="s66"><Data ss:Type="String">patient | participant | performer</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">participant | performer</Data></Cell>
<Cell><Data ss:Type="String">participant | performer</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Claim</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">provider</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ClaimResponse</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ClinicalImpression</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">assessor</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Communication</Data></Cell>
<Cell><Data ss:Type="String">subject | sender | recipient</Data></Cell>
<Cell><Data ss:Type="String">encounter</Data></Cell>
<Cell><Data ss:Type="String">sender | recipient</Data></Cell>
<Cell><Data ss:Type="String">sender | recipient</Data></Cell>
<Cell><Data ss:Type="String">sender | recipient</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">CommunicationRequest</Data></Cell>
<Cell><Data ss:Type="String">subject | sender | recipient | requester</Data></Cell>
<Cell><Data ss:Type="String">encounter</Data></Cell>
<Cell><Data ss:Type="String">sender | recipient | requester</Data></Cell>
<Cell><Data ss:Type="String">sender | recipient | requester</Data></Cell>
<Cell><Data ss:Type="String">sender | recipient</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Composition</Data></Cell>
<Cell><Data ss:Type="String">subject | author | attester</Data></Cell>
<Cell><Data ss:Type="String">encounter</Data></Cell>
<Cell><Data ss:Type="String">author</Data></Cell>
<Cell><Data ss:Type="String">subject | author | attester</Data></Cell>
<Cell><Data ss:Type="String">author</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ConceptMap</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Condition</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell ss:StyleID="s66"><Data ss:Type="String">encounter</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">asserter</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Conformance</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">DetectedIssue</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">author</Data></Cell>
<Cell><Data ss:Type="String">author</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Contract</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Coverage</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">DataElement</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Device</Data></Cell>
<Cell ss:Index="6"><Data ss:Type="String">{def}</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">DeviceComponent</Data></Cell>
<Cell ss:Index="6"><Data ss:Type="String">source</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">DeviceMetric</Data></Cell>
<Cell ss:Index="6"><Data ss:Type="String">source</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">DeviceUseRequest</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
<Cell ss:Index="6"><Data ss:Type="String">device</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">DeviceUseStatement</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
<Cell ss:Index="6"><Data ss:Type="String">device</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">DiagnosticOrder</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
<Cell ss:StyleID="s66"><Data ss:Type="String">encounter</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">actor | orderer</Data></Cell>
<Cell><Data ss:Type="String">actor | subject</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">DiagnosticReport</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
<Cell ss:StyleID="s66"><Data ss:Type="String">encounter</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">performer</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">DocumentManifest</Data></Cell>
<Cell><Data ss:Type="String">subject | author | recipient</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">author</Data></Cell>
<Cell><Data ss:Type="String">subject | author | recipient</Data></Cell>
<Cell><Data ss:Type="String">subject | author</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">DocumentReference</Data></Cell>
<Cell><Data ss:Type="String">subject | author</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">author</Data></Cell>
<Cell><Data ss:Type="String">subject | author | authenticator</Data></Cell>
<Cell><Data ss:Type="String">subject | author</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">EligibilityRequest</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">EligibilityResponse</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Encounter</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell><Data ss:Type="String">{def}</Data></Cell>
<Cell><Data ss:Type="String">participant</Data></Cell>
<Cell><Data ss:Type="String">practitioner | participant</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">EnrollmentRequest</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">EnrollmentResponse</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">EpisodeOfCare</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell ss:Index="5" ss:StyleID="s66"><Data ss:Type="String">care-manager | team-member</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ExplanationOfBenefit</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">FamilyMemberHistory</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Flag</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">author</Data></Cell>
<Cell><Data ss:Type="String">author</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Goal</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Group</Data></Cell>
<Cell><Data ss:Type="String">member</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">member</Data></Cell>
<Cell><Data ss:Type="String">member</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">HealthcareService</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ImagingObjectSelection</Data></Cell>
<Cell><Data ss:Type="String">patient | author</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">author</Data></Cell>
<Cell><Data ss:Type="String">author</Data></Cell>
<Cell><Data ss:Type="String">author</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ImagingStudy</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Immunization</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">performer | requester</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ImmunizationRecommendation</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ImplementationGuide</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">List</Data></Cell>
<Cell><Data ss:Type="String">subject | source</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">source</Data></Cell>
<Cell><Data ss:Type="String">subject | source</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Location</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Media</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">subject | operator</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Medication</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">MedicationAdministration</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell><Data ss:Type="String">encounter</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">practitioner</Data></Cell>
<Cell><Data ss:Type="String">device</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">MedicationDispense</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">dispenser | receiver | responsibleparty</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">MedicationOrder</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell><Data ss:Type="String">encounter</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">prescriber</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">MedicationStatement</Data></Cell>
<Cell><Data ss:Type="String">patient | source</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">source</Data></Cell>
<Cell><Data ss:Type="String">source</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">MessageHeader</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">receiver | author | responsible | enterer</Data></Cell>
<Cell><Data ss:Type="String">target</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">NamingSystem</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">NutritionOrder</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell><Data ss:Type="String">encounter</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">provider</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Observation</Data></Cell>
<Cell><Data ss:Type="String">subject | performer</Data></Cell>
<Cell><Data ss:Type="String">encounter</Data></Cell>
<Cell><Data ss:Type="String">performer</Data></Cell>
<Cell><Data ss:Type="String">performer</Data></Cell>
<Cell><Data ss:Type="String">subject | device</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">OperationDefinition</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">OperationOutcome</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Order</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">source | target</Data></Cell>
<Cell><Data ss:Type="String">target</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">OrderResponse</Data></Cell>
<Cell><Data ss:Type="String">request.patient</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">who</Data></Cell>
<Cell><Data ss:Type="String">who</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Organization</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Patient</Data></Cell>
<Cell><Data ss:Type="String">link</Data></Cell>
<Cell ss:Index="5" ss:StyleID="s66"><Data ss:Type="String">careprovider</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">PaymentNotice</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">PaymentReconciliation</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Person</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">link</Data></Cell>
<Cell><Data ss:Type="String">practitioner</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Practitioner</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">{def}</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Procedure</Data></Cell>
<Cell><Data ss:Type="String">patient | performer</Data></Cell>
<Cell><Data ss:Type="String">encounter</Data></Cell>
<Cell><Data ss:Type="String">performer</Data></Cell>
<Cell><Data ss:Type="String">performer</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ProcedureRequest</Data></Cell>
<Cell><Data ss:Type="String">subject | orderer | performer</Data></Cell>
<Cell><Data ss:Type="String">encounter</Data></Cell>
<Cell><Data ss:Type="String">performer | orderer</Data></Cell>
<Cell><Data ss:Type="String">performer | orderer</Data></Cell>
<Cell><Data ss:Type="String">orderer</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ProcessRequest</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">provider</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ProcessResponse</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">requestprovider</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Provenance</Data></Cell>
<Cell><Data ss:Type="String">target.subject | target.patient | patient</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">agent</Data></Cell>
<Cell><Data ss:Type="String">agent</Data></Cell>
<Cell><Data ss:Type="String">agent</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Questionnaire</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">QuestionnaireResponse</Data></Cell>
<Cell><Data ss:Type="String">subject | author</Data></Cell>
<Cell ss:StyleID="s66"><Data ss:Type="String">encounter</Data></Cell>
<Cell><Data ss:Type="String">author | source</Data></Cell>
<Cell><Data ss:Type="String">author | source</Data></Cell>
<Cell><Data ss:Type="String">author</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ReferralRequest</Data></Cell>
<Cell><Data ss:Type="String">patient | requester</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">requester | recipient</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">RelatedPerson</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">{def}</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">RiskAssessment</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">performer</Data></Cell>
<Cell><Data ss:Type="String">performer</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Schedule</Data></Cell>
<Cell><Data ss:Type="String">actor</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">actor</Data></Cell>
<Cell><Data ss:Type="String">actor</Data></Cell>
<Cell><Data ss:Type="String">actor</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">SearchParameter</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Slot</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Specimen</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">collector</Data></Cell>
<Cell><Data ss:Type="String">subject</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">StructureDefinition</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Subscription</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">Substance</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0" ss:Height="15.75">
<Cell><Data ss:Type="String">SupplyRequest</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0" ss:Height="15.75">
<Cell><Data ss:Type="String">SupplyDelivery</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">supplier | receiver</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">TestScript</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">ValueSet</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0">
<Cell><Data ss:Type="String">VisionPrescription</Data></Cell>
<Cell><Data ss:Type="String">patient</Data></Cell>
<Cell ss:StyleID="s66"><Data ss:Type="String">encounter</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">prescriber</Data></Cell>
</Row>
</Table>
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
<PageSetup>
<Header x:Margin="0.3"/>
<Footer x:Margin="0.3"/>
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
</PageSetup>
<Unsynced/>
<Print>
<ValidPrinterInfo/>
<PaperSizeIndex>9</PaperSizeIndex>
<HorizontalResolution>600</HorizontalResolution>
<VerticalResolution>600</VerticalResolution>
</Print>
<Selected/>
<FreezePanes/>
<FrozenNoSplit/>
<SplitHorizontal>1</SplitHorizontal>
<TopRowBottomPane>10</TopRowBottomPane>
<ActivePane>2</ActivePane>
<Panes>
<Pane>
<Number>3</Number>
</Pane>
<Pane>
<Number>2</Number>
<ActiveRow>20</ActiveRow>
<RangeSelection>R21</RangeSelection>
</Pane>
</Panes>
<ProtectObjects>False</ProtectObjects>
<ProtectScenarios>False</ProtectScenarios>
<x:PageLayoutZoom>0</x:PageLayoutZoom>
</WorksheetOptions>
</Worksheet>
</Workbook>

View File

@ -8,6 +8,8 @@ for i in $(find $FHIRTRUNK/build/source -name *-spreadsheet.xml | egrep "/[a-z0-
rm hapi-tinder-plugin/src/main/resources/dt/dstu2/* rm hapi-tinder-plugin/src/main/resources/dt/dstu2/*
for i in $(find $FHIRTRUNK/build/source/datatypes | grep xml | grep -v spreadsheet | grep -v -); do cp -v $i hapi-tinder-plugin/src/main/resources/dt/dstu2/; done for i in $(find $FHIRTRUNK/build/source/datatypes | grep xml | grep -v spreadsheet | grep -v -); do cp -v $i hapi-tinder-plugin/src/main/resources/dt/dstu2/; done
cp ~/workspace/fhir/trunk/build/source/compartments.xml hapi-tinder-plugin/src/main/resources/compartment/
cp $FHIRTRUNK/build/publish/valuesets.xml hapi-fhir-validation-resources/src/main/resources/org/hl7/fhir/instance/model/valueset/ cp $FHIRTRUNK/build/publish/valuesets.xml hapi-fhir-validation-resources/src/main/resources/org/hl7/fhir/instance/model/valueset/
cp $FHIRTRUNK/build/publish/v3-codesystems.xml hapi-fhir-validation-resources/src/main/resources/org/hl7/fhir/instance/model/valueset/ cp $FHIRTRUNK/build/publish/v3-codesystems.xml hapi-fhir-validation-resources/src/main/resources/org/hl7/fhir/instance/model/valueset/
cp $FHIRTRUNK/build/publish/v2-codesystems.xml hapi-fhir-validation-resources/src/main/resources/org/hl7/fhir/instance/model/valueset/ cp $FHIRTRUNK/build/publish/v2-codesystems.xml hapi-fhir-validation-resources/src/main/resources/org/hl7/fhir/instance/model/valueset/